Sounds like a compact would be a better bet than 39/53.
Just try and keep crank length between your bikes constant tho. Ok? I’m not saying that you’ll have problems if you don’t, it’s just that keeping that measurement the same between bikes makes alot of sense.
I can’t see the basis for this, on my various road, fixed and tt bikes I have a variety of crank lengths (165, 170 & 172.5) but as, unlike my mountain bike, I don’t move the saddles up and down they are each set up to the required seat hight and left there. I’ve no idea what the crank lengths on my mountain bikes are and run the saddle hieght lower than on my road bikes also as one is on a dropper seat post crank length is a fairly minimal factor.