Quarterly report pursuant to Section 13 or 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.2.2
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
9 Months Ended
Sep. 30, 2022
Sep. 30, 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 16,265,741 28,192,471
Proceeds on sale of and payments from mortgage loans held for sale (17,916,073) (29,847,321)
Mortgage loans acquired (see Note 3) 0 465,020
Gain on sale of mortgage loans excluding fair value of other financial instruments, net 440,974 1,019,439
Valuation adjustment of mortgage loans held for sale (65,297) (59,040)
Balance at the end of period $ 929,561 $ 2,139,346