Quarterly report pursuant to Section 13 or 15(d)

FAIR VALUE MEASUREMENTS - Summary of Reconciliation of Level Three Assets and Liabilities Measured at Fair Value on Recurring Basis (Details)

v3.22.2.2
FAIR VALUE MEASUREMENTS - Summary of Reconciliation of Level Three Assets and Liabilities Measured at Fair Value on Recurring Basis (Details) - Level 3 - USD ($)
$ in Thousands
3 Months Ended 9 Months Ended
Sep. 30, 2022
Sep. 30, 2021
Sep. 30, 2022
Sep. 30, 2021
Contingent Liabilities        
Fair Value, Liabilities Measured on Recurring Basis, Unobservable Input Reconciliation, Calculation [Roll Forward]        
Beginning balance $ 1,557 $ 20,416 $ 59,500 $ 18,094
Payments (1,884) (12,656) (14,425) (23,448)
Additions   63,956   63,956
Valuation adjustments 327 5,473 (45,075) 18,587
Ending balance 0 77,189 0 77,189
IRLCs        
Fair Value, Assets Measured on Recurring Basis, Unobservable Input Reconciliation, Calculation [Roll Forward]        
Beginning balance 14,600 44,486 22,119 130,338
Net transfers and revaluation losses (38,177) (8,765) (45,696) (94,617)
Ending balance $ (23,577) $ 35,721 $ (23,577) $ 35,721