Just FYI, it's still free to visit the Pantheon. On weekends and public holidays, there's a mandatory free booking, but it's still free to visit. Be aware that they check Green Pass/CDC card for everyone going in, and the lines for that check can get long. Also, they have capacity limits inside, so you can only get in when someone else leaves.
I've been watching on this webcam to get a feel for when the lines are long/short, and seems like the crowds taper off after 3ish on weekdays:
https://www.skylinewebcams.com/en/webcam/italia/lazio/roma/pantheon.html
We're going to be in Rome at the end of November/beginning of December, and I'm planning to do the Pantheon & nearby churches one afternoon/evening. Santa Maria Sopra Minerva is high on my list, and it's currently only open from 5-6:45, with mass starting at 6. That can change, of course, but it seems like we could go to San Luigi Francesi, then Sant'Ignazio, then Santa Maria Sopra Minerva, and keep an eye on the line at the Pantheon, and just jump in when it goes down a bit.