They are suburbs and about 30 minutes outside of Boston, but you should consider Lexington and Weston. Both school systems are excellent at the high school level, and likely quite good at the elementary level. Both towns are pricey though, with Lexington being the better value of the two.

Closer to Boston, possibly cheaper, but subjectively a notch below those two school systems is Belmont.

There are lots of bright people in Cambridge. However, many of its professors live in towns like Lexington and Newton.