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
Jun. 30, 2020
Mar. 31, 2020
Dec. 31, 2019
Jun. 30, 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,673,289   $ 31,406,328      
Mortgage servicing rights, at fair value 1,279,195 $ 1,505,163 1,909,444 $ 1,800,826 $ 2,014,370 $ 1,993,440
Cash and cash equivalents 1,615,639   558,136      
Restricted cash 434,644   1,058,690      
Derivative assets, at fair value 110,527   188,051      
Reverse repurchase agreements 76,416   220,000      
Other assets 13,292   24,352      
Repurchase agreements 16,991,248   29,147,463      
Federal Home Loan Bank advances 0   210,000      
Revolving credit facilities 267,181   300,000      
Term notes payable 395,048   394,502      
Term notes payable, at fair value 340,000   400,000      
Convertible senior notes 285,515   284,954      
Convertible senior notes, at fair value 282,245   299,147      
Derivative liabilities, at fair value 1,298   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 $ 0   $ 210,000