Quarterly report pursuant to Section 13 or 15(d)

Schedule of Restricted Cash and Cash Equivalents (Details)

v3.23.3
Schedule of Restricted Cash and Cash Equivalents (Details) - USD ($)
$ in Thousands
Sep. 30, 2023
Dec. 31, 2022
Restricted Cash and Cash Equivalents Items [Line Items]    
Restricted cash $ 400,777 $ 443,026
Restricted Cash and Cash Equivalents Held for Securities Trading Activity [Member]    
Restricted Cash and Cash Equivalents Items [Line Items]    
Restricted cash 450 2,202
Restricted Cash and Cash Equivalents Held for Derivatives Trading Activity [Member]    
Restricted Cash and Cash Equivalents Items [Line Items]    
Restricted cash 32,501 79,220
Restricted Cash and Cash Equivalents Held for Servicing Activities [Member]    
Restricted Cash and Cash Equivalents Items [Line Items]    
Restricted cash 24,472 36,690
Restricted Cash and Cash Equivalents Pledged as Restricted Collateral for Borrowings [Member]    
Restricted Cash and Cash Equivalents Items [Line Items]    
Restricted cash 343,292 324,854
Restricted Cash and Cash Equivalents Held by Counterparties [Member]    
Restricted Cash and Cash Equivalents Items [Line Items]    
Restricted cash 400,715 442,966
Restricted Cash and Cash Equivalents for Lease [Member]    
Restricted Cash and Cash Equivalents Items [Line Items]    
Restricted cash $ 62 $ 60