XML 75 R62.htm IDEA: XBRL DOCUMENT v3.24.0.1
LOANS HELD FOR SALE, AT FAIR VALUE - Summary of Changes in Balances (Details) - USD ($)
$ in Thousands
12 Months Ended
Dec. 31, 2023
Dec. 31, 2022
Dec. 31, 2021
Loans Receivable Held-for-sale, Net, Reconciliation to Cash Flow [Roll Forward]      
Balance at beginning of period $ 2,373,427 $ 8,136,817  
Origination and purchase of loans 22,393,729 53,094,767  
Sales (23,013,399) (59,174,022)  
Repurchases 443,935 633,298  
Principal payments (129,752) (132,322)  
Fair value gain (loss) 64,940 (185,111) $ (104,715)
Balance at end of period $ 2,132,880 $ 2,373,427 $ 8,136,817