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.21.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, 2021
Jun. 30, 2020
Jun. 30, 2021
Jun. 30, 2020
IRLCs        
Fair Value, Assets Measured on Recurring Basis, Unobservable Input Reconciliation, Calculation [Roll Forward]        
Beginning balance $ 38,009 $ 101,255 $ 130,338 $ 19,922
Net transfers and revaluation gains 6,477 40,374 (85,852) 121,707
Ending balance 44,486 141,629 44,486 141,629
Contingent Liabilities        
Fair Value, Assets Measured on Recurring Basis, Unobservable Input Reconciliation, Calculation [Roll Forward]        
Beginning balance 16,568 14,675 18,094 8,073
Payments (2,646) (2,741) (10,792) (5,146)
Valuation adjustments 6,494 11,018 13,114 20,025
Ending balance $ 20,416 $ 22,952 $ 20,416 $ 22,952