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.1
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
3 Months Ended
Mar. 31, 2023
Mar. 31, 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 2,700,053 6,134,863
Proceeds on sale of and payments from mortgage loans held for sale (2,745,778) (7,182,242)
Gain on sale of mortgage loans excluding fair value of other financial instruments, net 50,882 165,918
Valuation adjustment of mortgage loans held for sale 7,382 (40,956)
Balance at the end of period $ 858,314 $ 1,281,799