San Francisco based SMB insurance company raised $265m in new funding led by Allstate and Allianz X.