What kind of riding are you planning to do?
If you want to ride single track, you’ll need a MTB. Riding single track on a gravel bike is just painful - despite the promotional videos you see of people doing it.
If you want to be able to ride gravel, including some gnarlier forest roads in the mountains, you’ll want a gravel bike that can fit 40mm+ tires.