People in a similar position might be interested in Joplin, which is indeed FOSS, and has lots of sync options. I personally use SyncThing, which keeps things free, but you can also use a number of other free cloud providers. You can choose to encrypt your notes to protect your privacy.