Above Water

What does the idiom “Above Water” mean?

Definition:

Not in extreme difficulty. Especially said of finances.

For example:

“We’re not rich, but we’re keeping our heads above water.”