Amid a "Great Resignation" and lingering uncertainty surrounding COVID-19, law firms had "one of the strongest years on record" in 2021, according to a new report.