Quarterly report pursuant to Section 13 or 15(d)

Fair Value by Balance Sheet Grouping (Details)

v3.21.2
Fair Value by Balance Sheet Grouping (Details) - USD ($)
$ in Thousands
Jun. 30, 2021
Mar. 31, 2021
Dec. 31, 2020
Jun. 30, 2020
Mar. 31, 2020
Dec. 31, 2019
Fair Value, Balance Sheet Grouping, Financial Statement Captions [Line Items]            
Available-for-sale securities, at fair value $ 7,840,046   $ 14,650,922      
Mortgage servicing rights, at fair value 2,020,106 $ 2,091,761 1,596,153 $ 1,279,195 $ 1,505,163 $ 1,909,444
Cash and cash equivalents 1,281,230   1,384,764      
Restricted cash 866,547   1,261,667      
Derivative assets, at fair value 60,376   95,937      
Reverse repurchase agreements 70,000   91,525      
Other assets 3,338   13,292      
Repurchase agreements 8,350,622   15,143,898      
Revolving credit facilities 533,519   283,830      
Term notes payable 396,183   395,609      
Term notes payable, at fair value 394,211   380,000      
Convertible senior notes 423,742   286,183      
Convertible senior notes, at fair value 457,549   291,376      
Derivative liabilities, at fair value 14,208   11,058      
Maturity Over One Year [Member]            
Fair Value, Balance Sheet Grouping, Financial Statement Captions [Line Items]            
Repurchase agreements 0   0      
Revolving credit facilities $ 144,793   $ 223,830