Obsidian, logseq, and others work natively with markdown files that are almost cross-compatible and can be edited and used in any text editor. Things like back linking may not be present in that case (of using a plain text editor) but it doesn’t disappear from the file.
Roam uses a proprietary format but exports to markdown.
It’s a fair warning, but on my M2 MBA the only things that don’t work are the microphone and some elements of graphics acceleration. I keep macos on a tiny partition for firmware updates and, I guess, to recover in the event of a catastrophic failure, but … it’s been rock solid. Most of the software I use has compatible builds, which might be the most surprising part.