v3.22.4
Fair Value Measurements - Schedule of Financial Assets and Liabilities Measured at Fair Value on Recurring Basis (Details) - USD ($)
$ in Thousands
Dec. 31, 2022
Dec. 31, 2021
Dec. 31, 2020
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]      
Mortgage loans at fair value $ 7,134,960 $ 16,909,901  
Investment securities at fair value, pledged 113,290 152,263  
Total assets 11,784,381 20,444,472  
Public and Private Warrants 1,773 9,456  
Total liabilities 51,521 46,197  
IRLCs      
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]      
Derivative asset 7,872 24,899  
Derivative liability 32,294 11,138  
FLSCs      
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]      
Derivative asset 74,997 42,457  
Derivative liability 17,454 25,603  
Mortgage servicing rights      
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]      
Mortgage servicing rights 4,453,261 3,314,952 $ 1,760,304
Level 1      
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]      
Mortgage loans at fair value 0 0  
Investment securities at fair value, pledged 0 0  
Total assets 0 0  
Public and Private Warrants 1,328 6,286  
Total liabilities 1,328 6,286  
Level 1 | IRLCs      
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]      
Derivative asset 0 0  
Derivative liability 0 0  
Level 1 | FLSCs      
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]      
Derivative asset 0 0  
Derivative liability 0 0  
Level 1 | Mortgage servicing rights      
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]      
Mortgage servicing rights 0 0  
Level 2      
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]      
Mortgage loans at fair value 7,134,960 16,909,901  
Investment securities at fair value, pledged 113,290 152,263  
Total assets 7,323,248 17,104,621  
Public and Private Warrants 445 3,170  
Total liabilities 17,899 28,773  
Level 2 | IRLCs      
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]      
Derivative asset 0 0  
Derivative liability 0 0  
Level 2 | FLSCs      
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]      
Derivative asset 74,997 42,457  
Derivative liability 17,454 25,603  
Level 2 | Mortgage servicing rights      
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]      
Mortgage servicing rights 0 0  
Level 3      
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]      
Mortgage loans at fair value 0 0  
Investment securities at fair value, pledged 0 0  
Total assets 4,461,133 3,339,851  
Public and Private Warrants 0 0  
Total liabilities 32,294 11,138  
Level 3 | IRLCs      
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]      
Derivative asset 7,872 24,899  
Derivative liability 32,294 11,138  
Level 3 | FLSCs      
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]      
Derivative asset 0 0  
Derivative liability 0 0  
Level 3 | Mortgage servicing rights      
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]      
Mortgage servicing rights $ 4,453,261 $ 3,314,952