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
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 6 Months Ended
Jun. 30, 2022
Jun. 30, 2021
Jun. 30, 2022
Jun. 30, 2021
IRLCs        
Fair Value, Assets Measured on Recurring Basis, Unobservable Input Reconciliation, Calculation [Roll Forward]        
Beginning balance $ (11,851) $ 38,009 $ 22,119 $ 130,338
Net transfers and revaluation losses 26,451 6,477 (7,519) (85,852)
Ending balance 14,600 44,486 14,600 44,486
Contingent Liabilities        
Fair Value, Assets Measured on Recurring Basis, Unobservable Input Reconciliation, Calculation [Roll Forward]        
Beginning balance 20,438 16,568 59,500 18,094
Payments (2,370) (2,646) (12,541) (10,792)
Valuation adjustments (16,511) 6,494 (45,402) 13,114
Ending balance $ 1,557 $ 20,416 $ 1,557 $ 20,416