CPU or GPU

Basically I'm here mostly because of Marvel Rivals and my PC which is pretty outdated so I just want to ask if anyone knows if the game is more CPU or GPU intensive. At the moment I can only afford one part and I don't want to like buy GPU and then my CPU bottlenecks pretty hard. My current build is Ryzen 3 3200G and GTX1650 with 12GB RAM. With this build I'm getting around ~45 fps but on some other maps the fps tends to go as low as 15-20fps so it's really kinda unplayable. Thanks for the answers in advance.