Annual report pursuant to Section 13 and 15(d)

Fair Value by Balance Sheet Grouping (Details)

v3.22.0.1
Fair Value by Balance Sheet Grouping (Details) - USD ($)
$ in Thousands
Dec. 31, 2021
Dec. 31, 2020
Dec. 31, 2019
Dec. 31, 2018
Fair Value, Balance Sheet Grouping, Financial Statement Captions [Line Items]        
Available-for-sale securities, at fair value $ 7,161,703 $ 14,650,922    
Mortgage servicing rights, at fair value 2,191,578 1,596,153 $ 1,909,444 $ 1,993,440
Cash and cash equivalents 1,153,856 1,384,764    
Restricted cash 934,814 1,261,667    
Derivative assets, at fair value 80,134 95,937    
Reverse repurchase agreements 134,682 91,525    
Other assets 3,332 13,292    
Repurchase agreements 7,656,445 15,143,898    
Revolving credit facilities 420,761 283,830    
Term notes payable 396,776 395,609    
Term notes payable, at fair value 395,030 380,000    
Convertible senior notes 424,827 286,183    
Convertible senior notes, at fair value 435,774 291,376    
Derivative liabilities, at fair value 53,658 11,058    
Maturity Over One Year [Member]        
Fair Value, Balance Sheet Grouping, Financial Statement Captions [Line Items]        
Repurchase agreements 0 0    
Revolving credit facilities $ 146,250 $ 223,830