Dented wheels - ok to keep using?

The previous photos were taken at night and farther away with iPhone, so they’re not as detailed. Here’s some close ups that may be better.

Curious, so these dents are “serious” huh? As an ignorant novice it just looks bent at the edge in some sections of the rim but not so bad that it exposes a gap to the tire nor the structural shape of the rim, it just looks like certain sections are folded over a bit. Just curious to what kind of rim damage is “ok” and what’s not. Or is any/all rim damage = bad?