Quarterly report pursuant to Section 13 or 15(d)

Fair Value by Balance Sheet Grouping (Details)

v3.22.2.2
Fair Value by Balance Sheet Grouping (Details) - USD ($)
$ in Thousands
Sep. 30, 2022
Jun. 30, 2022
Dec. 31, 2021
Sep. 30, 2021
Jun. 30, 2021
Dec. 31, 2020
Fair Value, Balance Sheet Grouping, Financial Statement Captions [Line Items]            
Available-for-sale securities, at fair value $ 9,473,843   $ 7,161,703      
Mortgage servicing rights, at fair value 3,021,790 $ 3,226,191 2,191,578 $ 2,213,312 $ 2,020,106 $ 1,596,153
Cash and cash equivalents 732,482   1,153,856      
Restricted cash 842,534   934,814      
Derivative assets, at fair value 18,406   80,134      
Reverse repurchase agreements 207,206   134,682      
Other assets 3,254   3,332      
Repurchase agreements 10,034,018   7,656,445      
Revolving credit facilities 1,131,161   420,761      
Term notes payable 397,697   396,776      
Term notes payable, at fair value 377,625   395,030      
Convertible senior notes 282,096   424,827      
Convertible senior notes, at fair value 238,780   435,774      
Derivative liabilities, at fair value 107,379   53,658      
Maturity Over One Year [Member]            
Fair Value, Balance Sheet Grouping, Financial Statement Captions [Line Items]            
Revolving credit facilities $ 931,161   $ 146,250