Quarterly report pursuant to Section 13 or 15(d)

Fair Value by Balance Sheet Grouping (Details)

v3.20.2
Fair Value by Balance Sheet Grouping (Details) - USD ($)
$ in Thousands
Sep. 30, 2020
Jun. 30, 2020
Dec. 31, 2019
Sep. 30, 2019
Jun. 30, 2019
Dec. 31, 2018
Fair Value, Balance Sheet Grouping, Financial Statement Captions [Line Items]            
Available-for-sale securities, at fair value $ 16,574,321   $ 31,406,328      
Mortgage servicing rights, at fair value 1,257,503 $ 1,279,195 1,909,444 $ 1,651,556 $ 1,800,826 $ 1,993,440
Cash and cash equivalents 1,615,074   558,136      
Restricted cash 596,951   1,058,690      
Derivative assets, at fair value 97,889   188,051      
Reverse repurchase agreements 82,410   220,000      
Other assets 13,292   24,352      
Repurchase agreements 16,376,696   29,147,463      
Federal Home Loan Bank advances 0   210,000      
Revolving credit facilities 274,830   300,000      
Term notes payable 395,328   394,502      
Term notes payable, at fair value 387,625   400,000      
Convertible senior notes 285,843   284,954      
Convertible senior notes, at fair value 287,394   299,147      
Derivative liabilities, at fair value 3,551   6,740      
Maturity Over One Year [Member]            
Fair Value, Balance Sheet Grouping, Financial Statement Captions [Line Items]            
Repurchase agreements 0   0      
Revolving credit facilities 214,830   300,000      
Federal Home Loan Bank of Des Moines [Member]            
Fair Value, Balance Sheet Grouping, Financial Statement Captions [Line Items]            
Federal Home Loan Bank advances $ 0   $ 210,000