Quarterly report pursuant to Section 13 or 15(d)

Schedule of Restricted Cash and Cash Equivalents (Details)

v3.23.1
Schedule of Restricted Cash and Cash Equivalents (Details) - USD ($)
$ in Thousands
Mar. 31, 2023
Dec. 31, 2022
Restricted Cash and Cash Equivalents Items [Line Items]    
Restricted cash $ 117,351 $ 443,026
Restricted Cash and Cash Equivalents Held for Securities Trading Activity [Member]    
Restricted Cash and Cash Equivalents Items [Line Items]    
Restricted cash 5,269 2,202
Restricted Cash and Cash Equivalents Held for Derivatives Trading Activity [Member]    
Restricted Cash and Cash Equivalents Items [Line Items]    
Restricted cash 1 79,220
Restricted Cash and Cash Equivalents Held for Servicing Activities [Member]    
Restricted Cash and Cash Equivalents Items [Line Items]    
Restricted cash 33,164 36,690
Restricted Cash and Cash Equivalents Pledged as Restricted Collateral for Borrowings [Member]    
Restricted Cash and Cash Equivalents Items [Line Items]    
Restricted cash 78,857 324,854
Restricted Cash and Cash Equivalents Held by Counterparties [Member]    
Restricted Cash and Cash Equivalents Items [Line Items]    
Restricted cash 117,291 442,966
Restricted Cash and Cash Equivalents for Lease [Member]    
Restricted Cash and Cash Equivalents Items [Line Items]    
Restricted cash $ 60 $ 60