At $300, I'd lean toward a used flat bar bike. They tend to be less expensive for similar quality components than a road bike. You might be able to find an older CX bike with cantilever brakes for around that price range, used.
If you tell us where you live we might be able to find some used options. Some folks here love shopping with other people's money. Not me, of course.