I have no idea about your commute in terms of roadway and infrastructure. I did 15 miles each way and it was enough for me, thank you, 3 days a week and not 4. If you are younger, it may not be so much a challenge, but as a middle age guy, oof da!
If your roadway is pretty rough, consider a mountain bike with road tires. A lot more durable, pump the tires up to 50psi and you will move. a good lock of course, but also a rack and panniers. Find nice little coffee shops and cafes on the route for rest stops if needed. It is not a race. The difference, for me, running like a ***** ape or just chillin was maybe a couple minutes over 15 miles. Go for routes that please you, rather than sketchy routes that intimidate.
its about enjoying your ride, feeling safe and welcome.