XML 76 R63.htm IDEA: XBRL DOCUMENT v3.24.0.1
LOANS HELD FOR SALE, AT FAIR VALUE - Components of Gain on Origination and Sale of Loans (Details) - USD ($)
$ in Thousands
12 Months Ended
Dec. 31, 2023
Dec. 31, 2022
Dec. 31, 2021
Receivables [Abstract]      
(Discount) premium from loan sales $ (135,943) $ (933,547) $ 1,882,557
Servicing rights additions 277,387 647,716 1,610,596
Unrealized losses from derivative assets and liabilities (35,430) (134,519) (308,200)
Realized gains from derivative assets and liabilities 55,631 1,215,013 347,014
Discount points, rebates and lender paid costs 306,115 275,981 (206,716)
Fair value gain (loss) on loans held for sale 64,940 (185,111) (104,715)
Provision for loan loss obligation for loans sold (8,179) (136,993) (7,185)
Total gain on origination and sale of loans, net $ 524,521 $ 748,540 $ 3,213,351