Quarterly report pursuant to Section 13 or 15(d)

Fair Value by Balance Sheet Grouping (Details)

v3.20.1
Fair Value by Balance Sheet Grouping (Details) - USD ($)
$ in Thousands
Mar. 31, 2020
Dec. 31, 2019
Mar. 31, 2019
Dec. 31, 2018
Fair Value, Balance Sheet Grouping, Financial Statement Captions [Line Items]        
Available-for-sale securities, at fair value $ 17,733,059 $ 31,406,328    
Mortgage servicing rights, at fair value 1,505,163 1,909,444 $ 2,014,370 $ 1,993,440
Cash and cash equivalents 1,206,889 558,136    
Restricted cash 680,395 1,058,690    
Derivative assets, at fair value 117,368 188,051    
Reverse repurchase agreements 147,651 220,000    
Other assets 15,292 24,352    
Repurchase agreements 17,795,516 29,147,463    
Federal Home Loan Bank advances 50,000 210,000    
Revolving credit facilities 252,143 300,000    
Term notes payable 394,772 394,502    
Term notes payable, at fair value 300,000 400,000    
Convertible senior notes 285,238 284,954    
Convertible senior notes, at fair value 256,824 299,147    
Derivative liabilities, at fair value 176,156 6,740    
Federal Home Loan Bank of Des Moines [Member]        
Fair Value, Balance Sheet Grouping, Financial Statement Captions [Line Items]        
Federal Home Loan Bank advances $ 50,000 $ 210,000