XML 87 R66.htm IDEA: XBRL DOCUMENT v3.22.0.1
Securitizations and Variable Interest Entities - Schedule of Carrying Value of Assets and Liabilities of Loans Held for Sale Financing Facility (Details) - USD ($)
$ in Thousands
Dec. 31, 2021
Dec. 31, 2020
Dec. 31, 2019
Dec. 31, 2018
Qualitative and Quantitative Information, Transferor's Continuing Involvement [Line Items]        
Loans held for sale, at fair value $ 917,534 $ 366,364 $ 208,752 $ 176,525
Master Repurchase Agreement | Secured Debt        
Qualitative and Quantitative Information, Transferor's Continuing Involvement [Line Items]        
Outstanding borrowings (Mortgage loan warehouse facilities) 459,344      
Variable Interest Entity, Primary Beneficiary        
Qualitative and Quantitative Information, Transferor's Continuing Involvement [Line Items]        
Loans held for sale, at fair value $ 462,144 $ 0