Quarterly report pursuant to Section 13 or 15(d)

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

v3.22.2.2
FAIR VALUE MEASUREMENTS - Summary of Assets and Liabilities Measured at Fair Value on Recurring Basis (Details) - USD ($)
$ in Thousands
Sep. 30, 2022
Dec. 31, 2021
Sep. 30, 2021
Dec. 31, 2020
Assets:        
Trading securities $ 83 $ 107    
Derivative        
Derivative assets 71,826 27,961    
Mortgage loans held for sale 929,561 2,204,216 $ 2,139,346 $ 2,368,777
Mortgage servicing rights 1,129,551 675,340    
Investment in warrants 961 0    
Derivative        
Derivative liabilities 23,577 2,079    
Contingent liabilities due to acquisitions 0 59,500    
Recurring Fair Value Measurements        
Assets:        
Trading securities 83 107    
Derivative        
Mortgage loans held for sale 929,561 2,204,216    
Mortgage servicing rights 1,129,551 675,340    
Investment in warrants 961      
Total assets at fair value 2,131,982 2,907,624    
Derivative        
Contingent liabilities due to acquisitions   59,500    
Total liabilities at fair value 23,577 61,579    
Recurring Fair Value Measurements | Forward delivery commitments and best effort sales commitments        
Derivative        
Derivative assets 71,826      
Recurring Fair Value Measurements | Forward delivery commitments        
Derivative        
Derivative assets   5,842    
Derivative        
Derivative liabilities   2,079    
Recurring Fair Value Measurements | Interest rate lock commitments        
Derivative        
Derivative assets   22,119    
Derivative        
Derivative liabilities 23,577      
Recurring Fair Value Measurements | Level 1        
Assets:        
Trading securities 83 107    
Derivative        
Mortgage loans held for sale 0 0    
Mortgage servicing rights 0 0    
Investment in warrants 0      
Total assets at fair value 83 107    
Derivative        
Contingent liabilities due to acquisitions   0    
Total liabilities at fair value 0 0    
Recurring Fair Value Measurements | Level 1 | Forward delivery commitments and best effort sales commitments        
Derivative        
Derivative assets 0      
Recurring Fair Value Measurements | Level 1 | Forward delivery commitments        
Derivative        
Derivative assets   0    
Derivative        
Derivative liabilities   0    
Recurring Fair Value Measurements | Level 1 | Interest rate lock commitments        
Derivative        
Derivative assets   0    
Derivative        
Derivative liabilities 0      
Recurring Fair Value Measurements | Level 2        
Assets:        
Trading securities 0 0    
Derivative        
Mortgage loans held for sale 929,561 2,204,216    
Mortgage servicing rights 0 0    
Investment in warrants 0      
Total assets at fair value 1,001,387 2,210,058    
Derivative        
Contingent liabilities due to acquisitions   0    
Total liabilities at fair value 0 2,079    
Recurring Fair Value Measurements | Level 2 | Forward delivery commitments and best effort sales commitments        
Derivative        
Derivative assets 71,826      
Recurring Fair Value Measurements | Level 2 | Forward delivery commitments        
Derivative        
Derivative assets   5,842    
Derivative        
Derivative liabilities   2,079    
Recurring Fair Value Measurements | Level 2 | Interest rate lock commitments        
Derivative        
Derivative assets   0    
Derivative        
Derivative liabilities 0      
Recurring Fair Value Measurements | Level 3        
Assets:        
Trading securities 0 0    
Derivative        
Mortgage loans held for sale 0 0    
Mortgage servicing rights 1,129,551 675,340    
Investment in warrants 961      
Total assets at fair value 1,130,512 697,459    
Derivative        
Contingent liabilities due to acquisitions   59,500    
Total liabilities at fair value 23,577 59,500    
Recurring Fair Value Measurements | Level 3 | Forward delivery commitments and best effort sales commitments        
Derivative        
Derivative assets 0      
Recurring Fair Value Measurements | Level 3 | Forward delivery commitments        
Derivative        
Derivative assets   0    
Derivative        
Derivative liabilities   0    
Recurring Fair Value Measurements | Level 3 | Interest rate lock commitments        
Derivative        
Derivative assets   $ 22,119    
Derivative        
Derivative liabilities $ 23,577