Annual report pursuant to Section 13 and 15(d)

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

v3.22.4
FAIR VALUE MEASUREMENTS - Summary of Assets and Liabilities Measured at Fair Value on Recurring Basis (Details) - USD ($)
$ in Thousands
Dec. 31, 2022
Dec. 31, 2021
Dec. 31, 2020
Assets:      
Trading securities $ 96 $ 107  
Derivative      
Derivative assets 3,120 27,961  
Mortgage loans held for sale 845,775 2,204,216 $ 2,368,777
Mortgage servicing rights 1,139,539 675,340  
Investment in warrants 961 0  
Derivative      
Derivative liabilities 5,173 2,079  
Contingent liabilities due to acquisitions 526 59,500  
Recurring Fair Value Measurements      
Assets:      
Trading securities 96 107  
Derivative      
Mortgage loans held for sale 845,775 2,204,216  
Mortgage servicing rights 1,139,539 675,340  
Investment in warrants 961    
Total assets at fair value 1,989,491 2,907,624  
Derivative      
Derivative liabilities 5,173 2,079  
Contingent liabilities due to acquisitions 526 59,500  
Total liabilities at fair value 5,699 61,579  
Recurring Fair Value Measurements | Forward delivery commitments      
Derivative      
Derivative assets 1,602 5,842  
Recurring Fair Value Measurements | Interest rate lock commitments      
Derivative      
Derivative assets 1,518 22,119  
Recurring Fair Value Measurements | Level 1      
Assets:      
Trading securities 96 107  
Derivative      
Mortgage loans held for sale 0 0  
Mortgage servicing rights 0 0  
Investment in warrants    
Total assets at fair value 96 107  
Derivative      
Derivative liabilities 0 0  
Contingent liabilities due to acquisitions 0 0  
Total liabilities at fair value 0 0  
Recurring Fair Value Measurements | Level 1 | Forward delivery commitments      
Derivative      
Derivative assets 0 0  
Recurring Fair Value Measurements | Level 1 | Interest rate lock commitments      
Derivative      
Derivative assets 0 0  
Recurring Fair Value Measurements | Level 2      
Assets:      
Trading securities 0 0  
Derivative      
Mortgage loans held for sale 845,775 2,204,216  
Mortgage servicing rights 0 0  
Investment in warrants    
Total assets at fair value 847,377 2,210,058  
Derivative      
Derivative liabilities 5,173 2,079  
Contingent liabilities due to acquisitions 0 0  
Total liabilities at fair value 5,173 2,079  
Recurring Fair Value Measurements | Level 2 | Forward delivery commitments      
Derivative      
Derivative assets 1,602 5,842  
Recurring Fair Value Measurements | Level 2 | Interest rate lock commitments      
Derivative      
Derivative assets 0 0  
Recurring Fair Value Measurements | Level 3      
Assets:      
Trading securities 0 0  
Derivative      
Mortgage loans held for sale 0 0  
Mortgage servicing rights 1,139,539 675,340  
Investment in warrants 961    
Total assets at fair value 1,142,018 697,459  
Derivative      
Derivative liabilities 0 0  
Contingent liabilities due to acquisitions 526 59,500  
Total liabilities at fair value 526 59,500  
Recurring Fair Value Measurements | Level 3 | Forward delivery commitments      
Derivative      
Derivative assets 0 0  
Recurring Fair Value Measurements | Level 3 | Interest rate lock commitments      
Derivative      
Derivative assets $ 1,518 $ 22,119