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
Sep. 30, 2021
Jun. 30, 2021
Dec. 31, 2020
Sep. 30, 2020
Jun. 30, 2020
Dec. 31, 2019
Fair Value, Balance Sheet Grouping, Financial Statement Captions [Line Items]            
Available-for-sale securities, at fair value $ 6,664,744   $ 14,650,922      
Mortgage servicing rights, at fair value 2,213,312 $ 2,020,106 1,596,153 $ 1,257,503 $ 1,279,195 $ 1,909,444
Cash and cash equivalents 1,076,216   1,384,764      
Restricted cash 783,974   1,261,667      
Derivative assets, at fair value 53,044   95,937      
Reverse repurchase agreements 85,000   91,525      
Other assets 3,335   13,292      
Repurchase agreements 7,123,701   15,143,898      
Revolving credit facilities 420,761   283,830      
Term notes payable 396,479   395,609      
Term notes payable, at fair value 396,595   380,000      
Convertible senior notes 424,270   286,183      
Convertible senior notes, at fair value 442,324   291,376      
Derivative liabilities, at fair value 82,895   11,058      
Maturity Over One Year [Member]            
Fair Value, Balance Sheet Grouping, Financial Statement Captions [Line Items]            
Repurchase agreements 0   0      
Revolving credit facilities $ 146,250   $ 223,830