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.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, 2022
Mar. 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 6,134,863 9,815,270
Proceeds on sale of and payments from mortgage loans held for sale (7,182,242) (10,131,643)
Gain on sale of mortgage loans excluding fair value of other financial instruments, net 165,918 355,157
Valuation adjustment of mortgage loans held for sale (40,956) (61,634)
Balance at the end of period $ 1,281,799 $ 2,345,927