Quarterly report pursuant to Section 13 or 15(d)

Schedule of Restricted Cash and Cash Equivalents (Details)

v3.22.2.2
Schedule of Restricted Cash and Cash Equivalents (Details) - USD ($)
$ in Thousands
Sep. 30, 2022
Dec. 31, 2021
Restricted Cash and Cash Equivalents Items [Line Items]    
Restricted cash $ 842,534 $ 934,814
Restricted Cash and Cash Equivalents Held for Securities Trading Activity [Member]    
Restricted Cash and Cash Equivalents Items [Line Items]    
Restricted cash 5,890 23,800
Restricted Cash and Cash Equivalents Held for Derivatives Trading Activity [Member]    
Restricted Cash and Cash Equivalents Items [Line Items]    
Restricted cash 261,744 136,271
Restricted Cash and Cash Equivalents Held for Servicing Activities [Member]    
Restricted Cash and Cash Equivalents Items [Line Items]    
Restricted cash 15,348 26,704
Restricted Cash and Cash Equivalents Pledged as Restricted Collateral for Borrowings [Member]    
Restricted Cash and Cash Equivalents Items [Line Items]    
Restricted cash 559,492 747,979
Restricted Cash and Cash Equivalents Held by Counterparties [Member]    
Restricted Cash and Cash Equivalents Items [Line Items]    
Restricted cash 842,474 934,754
Restricted Cash and Cash Equivalents for Lease [Member]    
Restricted Cash and Cash Equivalents Items [Line Items]    
Restricted cash $ 60 $ 60