> i've noticed that it is sometimes less about the type of company and more about the immediate manager and their mindset.

It's definitely about that. The current company I'm at, I met my manager and have good chemistry with him. Since then, within a year, I got 3 new managers. The department is a mess. My first manager is mentoring me formally. I'm mostly still a part of his team.

His mentorship makes it much easier to stay for me.