Definitely watch some comparison videos of the performance and make a decision based on that. If you’re likely to play the game on the go, then go for the Switch version. I myself realised, however, that I wouldn’t be playing the game on the go at all since my SO was interested too, so I got the game for PS5 for the better performance.
I think the performance isn’t stellar on Switch, but you can make it work since nothing too crazy is going on in the game that would require perfect framerate and resolution - most of the game is reading anyway.