Joplin is open-source note taking with end-to-end encrypted sync to storage you control: Nextcloud, WebDAV, or the cloud of your choice. Markdown-based, with web clipper, notebook organization and apps on every platform.
The interface is utilitarian and sync setup takes ten minutes of your attention. In exchange, your notes outlive any company.