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.23.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
6 Months Ended
Jun. 30, 2023
Jun. 30, 2022
Mortgages Held For Sale [Roll Forward]    
Balance at the beginning of period $ 845,775 $ 2,204,216
Origination of mortgage loans held for sale 7,012,503 11,908,191
Proceeds on sale of and payments from mortgage loans held for sale (6,877,200) (13,168,952)
Gain on sale of mortgage loans excluding fair value of other financial instruments, net 151,020 340,002
Valuation adjustment of mortgage loans held for sale (6,106) (33,648)
Balance at the end of period $ 1,125,992 $ 1,249,809