Mastodon and Pleroma are compatible, but Pleroma is more lightweight and can run on a cheap VPS. Also maybe WriteFreely: https://writefreely.org/
Matrix is a messenger, better for 1:1 conversations or group chats.