Annual report pursuant to Section 13 and 15(d)

Business, Basis of Presentation, and Accounting Policies - Additional Information (Details)

v3.22.0.1
Business, Basis of Presentation, and Accounting Policies - Additional Information (Details)
12 Months Ended
Dec. 31, 2021
USD ($)
property
$ / shares
shares
Dec. 31, 2020
USD ($)
$ / shares
Property Plant and Equipment [Line Items]    
Direct expenses related to loan origination fees and gain on sale of loans $ 252,302,000 $ 266,451,000
Estimated useful lives 3 years  
Number of types of real estate owned properties | property 2  
Real estate owned $ 200,000 200,000
Real estate owned, insured by FHA 300,000 1,200,000
Advertising expense $ 12,900,000 $ 11,900,000
Common stock dividends per share (in dollars per share) | $ / shares $ 2.00 $ 40,050
Dividends paid $ 121,057,000 $ 37,166,000
Offering costs   4,495,000
Total account balance for trust for investors and escrow balances for mortgagors 1,100,000,000 1,700,000,000
Credit losses due to nonperformance of counterparties $ 0 0
Restricted Stock Units    
Property Plant and Equipment [Line Items]    
Dividend equivalent units granted (in shares) | shares 193,130  
Software    
Property Plant and Equipment [Line Items]    
Estimated useful lives 3 years  
IPO    
Property Plant and Equipment [Line Items]    
Offering costs   $ 4,500,000