I use
Joplin which I sync through my Nextcloud instance. However you can use Dropbox or Onedrive instead.
I've only used it on Windows and Android.
I also use OneNote for work and that's pretty good - although I always think of it as a bit ott for quick notes on my phone.