Annual report pursuant to Section 13 and 15(d)

Fair Value by Balance Sheet Grouping (Details)

v3.20.4
Fair Value by Balance Sheet Grouping (Details) - USD ($)
$ in Thousands
Dec. 31, 2020
Dec. 31, 2019
Dec. 31, 2018
Dec. 31, 2017
Fair Value, Balance Sheet Grouping, Financial Statement Captions [Line Items]        
Available-for-sale securities, at fair value $ 14,650,922 $ 31,406,328    
Mortgage servicing rights, at fair value 1,596,153 1,909,444 $ 1,993,440 $ 1,086,717
Cash and cash equivalents 1,384,764 558,136    
Restricted cash 1,261,667 1,058,690    
Derivative assets, at fair value 95,937 188,051    
Reverse repurchase agreements 91,525 220,000    
Other assets 13,292 24,352    
Repurchase agreements 15,143,898 29,147,463    
Federal Home Loan Bank advances 0 210,000    
Revolving credit facilities 283,830 300,000    
Term notes payable 395,609 394,502    
Term notes payable, at fair value 380,000 400,000    
Convertible senior notes 286,183 284,954    
Convertible senior notes, at fair value 291,376 299,147    
Derivative liabilities, at fair value 11,058 6,740    
Maturity Over One Year [Member]        
Fair Value, Balance Sheet Grouping, Financial Statement Captions [Line Items]        
Repurchase agreements 0 0    
Revolving credit facilities $ 223,830 $ 300,000