I didn't do a study of real estate valuation. I googled "real estate palo alto" and "real estate pittsburgh" and grabbed the number from the first Google results. (realtor.com)
I can tell you that I live in a small northeastern city, and a 3 or 4 bedroom mid 20th century, single family house is around $130/sqft in a nice neighborhood. In the burbs, it's about $150/sqft. When your mortgage+taxes is <$15k/year, you don't need to make crazy salaries.
I don't know bay area real estate, so looking at Gilroy, CA, which would be a hella commute to SFO, you're looking at $400-450/sqft for 3/4br single family. That's alot of cash.