Annual report pursuant to Section 13 and 15(d)

Fair Value by Balance Sheet Grouping (Details)

v3.22.4
Fair Value by Balance Sheet Grouping (Details) - USD ($)
$ in Thousands
Dec. 31, 2022
Dec. 31, 2021
Dec. 31, 2020
Dec. 31, 2019
Fair Value, Balance Sheet Grouping, Financial Statement Captions [Line Items]        
Available-for-sale securities, at fair value $ 7,778,734 $ 7,161,703    
Mortgage servicing rights, at fair value 2,984,937 2,191,578 $ 1,596,153 $ 1,909,444
Cash and cash equivalents 683,479 1,153,856    
Restricted cash 443,026 934,814    
Derivative assets, at fair value 26,438 80,134    
Reverse repurchase agreements 1,066,935 134,682    
Other assets 3,493 3,332    
Repurchase agreements 8,603,011 7,656,445    
Revolving credit facilities 1,118,831 420,761    
Term notes payable 398,011 396,776    
Term notes payable, at fair value 361,905 395,030    
Convertible senior notes 282,496 424,827    
Convertible senior notes, at fair value 246,727 435,774    
Derivative liabilities, at fair value 34,048 53,658    
Maturity Over One Year [Member]        
Fair Value, Balance Sheet Grouping, Financial Statement Captions [Line Items]        
Revolving credit facilities $ 918,831 $ 146,250