I discussed this with our realtor: forfeiting your full 3% earnest deposit is apparently rare. It’s not automatic, and when somebody backs out due to a non-contingent reason, it’s usually for a fraction of the full earnest deposit. (At least, that’s for the SF Bay Area.)