SAN FRANCISCO — Lichten & Liss-Riordan, the Boston-based employment firm that has gone toe-to-toe with the gig economy, is shuttering its San Francisco office two years after opening up shop in the city.

The decision to close the office comes after its only full-time lawyer, Matthew Carlson, left the firm and moved back to New York to be closer to family, name partner Shannon Liss-Riordan said in an email.