Annual report pursuant to Section 13 and 15(d)

BUSINESS, BASIS OF PRESENTATION, AND ACCOUNTING POLICIES - Additional Information (Details)

v3.22.4
BUSINESS, BASIS OF PRESENTATION, AND ACCOUNTING POLICIES - Additional Information (Details)
12 Months Ended
Dec. 31, 2022
USD ($)
class
property
variable_interest_entity
shares
Dec. 31, 2021
USD ($)
$ / shares
Property Plant and Equipment [Line Items]    
Direct expenses related to loan origination fees and gain on sale of loans $ 138,254,000 $ 252,302,000
Number of class of MSR asset | class 1  
Estimated useful lives 3 years  
Number of types of real estate owned properties | property 2  
Real estate owned $ 300,000 200,000
Real estate owned, insured by FHA 0 300,000
Advertising expense 11,400,000 $ 12,900,000
Common stock dividends per share (in dollars per share) | $ / shares   $ 2.00
Dividends paid 0 $ 121,057,000
Total account balance for trust for investors and escrow balances for mortgagors 600,000,000 1,100,000,000
Credit losses due to nonperformance of counterparties $ 0 $ 0
Number of VIE | variable_interest_entity 1  
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