The bankroll you need is hugely dependent on your winrate in the games you are playing.
https://www.primedope.com/poker-variance-calculator/
This is a good calc to give you some rough ideas of what you might need. If you are willing to move up/down regularly than you can definitely get away with less but that comes with it's own mental game struggles since if you run bad over small samples every time you play bigger you may tread water breaking even for a long time. 100 buyins for cash games for your main game is a fine general rule for a pro. If playing PLO you likely will want more.
For MTT how much you'll need is greatly dependent on your ROI and your avg field size. If playing small 100ish person fields mostly than you prob can get away with 100 buyins. If playing a bunch of big 500-1k+ person fields even with a high ROI you'd want a lot more. MTT variance is very rough if playing big avg field size events.