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
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, 2022
Jun. 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 11,908,191 18,077,556
Proceeds on sale of and payments from mortgage loans held for sale (13,168,952) (18,927,552)
Gain on sale of mortgage loans excluding fair value of other financial instruments, net 340,002 671,268
Valuation adjustment of mortgage loans held for sale (33,648) (36,059)
Balance at the end of period $ 1,249,809 $ 2,153,990