Annual report pursuant to Section 13 and 15(d)

MORTGAGE LOANS HELD FOR SALE - Summary of Reconciliation of Changes in Mortgage Loans Held for Sale to Amounts Presented in Condensed Consolidated Statements of Cash Flows (Details)

v3.22.4
MORTGAGE LOANS HELD FOR SALE - Summary of Reconciliation of Changes in Mortgage Loans Held for Sale to Amounts Presented in Condensed Consolidated Statements of Cash Flows (Details) - USD ($)
$ in Thousands
12 Months Ended
Dec. 31, 2022
Dec. 31, 2021
Mortgages Held For Sale [Roll Forward]    
Balance at the beginning of period $ 2,204,216 $ 2,368,777
Origination of mortgage loans held for sale 19,220,547 37,178,171
Proceeds on sale of and payments from mortgage loans held for sale (21,062,670) (39,029,444)
Mortgage loans acquired (see Note 3) 0 465,020
Gain on sale of mortgage loans excluding fair value of other financial instruments, net 528,243 1,289,465
Valuation adjustment of mortgage loans held for sale (44,561) (67,773)
Balance at the end of period $ 845,775 $ 2,204,216