First Post! Looking for some Advice

I am looking for advice on whether or not it is a good idea for my girlfriend and I to purchase an SUV or crossover.  We recently found out we are expecting our first child; we are overjoyed and can't wait to start preparing for her!  The first thing I thought about was a larger, safer vehicle for my girlfriend.  She currently drives a 2019 Nissan Sentra.  There is absolutely nothing wrong with her car - we can afford the monthly payments, it runs great, and she's very good at keeping up maintenance.  The problem is: she bought a used car mid pandemic.  So, as you may have already guessed, she is about SIX THOUSAND DOLLARS underwater.  She owes around 22k on this car that is only worth around 17, and she's going to be making payments on this car until July 2028 (barf emoji).  

Does it make more fiscal sense to try and get out from under the sentra if we are wanting to buy a larger vehicle for her, or do we just bite the bullet and pay off the sentra over the next four years and get a bigger vehicle at that time?

Thank you for your time and consideration!