Google maps estimates it about 35 minutes, so almost twice as long as you're thinking.
If you commute in rush hour that is actually a lot faster than going by car, so biking is the fastest option available.
Edit: And that was at a leisurely pace, similar to the effort of walking.
Google maps calculations are decided by Google and take into account padding plus some degree of inclination calculation
I do a 4.8-mile trip on a class 3 ebike (28 mph) consistently in 14 minutes in San Diego north county.
_Averaging_ a 12mph pace with signal lights, traffic, and stop signs is an entirely different story, especially in a busy cities.