Annual report pursuant to Section 13 and 15(d)

Schedule of Restricted Cash and Cash Equivalents (Details)

v3.20.4
Schedule of Restricted Cash and Cash Equivalents (Details) - USD ($)
$ in Thousands
Dec. 31, 2020
Dec. 31, 2019
Restricted Cash and Cash Equivalents Items [Line Items]    
Restricted cash $ 1,261,667 $ 1,058,690
Restricted Cash and Cash Equivalents Held for Securities Trading Activity [Member]    
Restricted Cash and Cash Equivalents Items [Line Items]    
Restricted cash 44,800 45,050
Restricted Cash and Cash Equivalents Held for Derivatives Trading Activity [Member]    
Restricted Cash and Cash Equivalents Items [Line Items]    
Restricted cash 70,600 94,570
Restricted Cash and Cash Equivalents Held for Servicing Activities [Member]    
Restricted Cash and Cash Equivalents Items [Line Items]    
Restricted cash 19,768 0
Restricted Cash and Cash Equivalents Pledged as Restricted Collateral for Borrowings [Member]    
Restricted Cash and Cash Equivalents Items [Line Items]    
Restricted cash 1,126,439 919,010
Restricted Cash and Cash Equivalents Held by Counterparties [Member]    
Restricted Cash and Cash Equivalents Items [Line Items]    
Restricted cash 1,261,607 1,058,630
Restricted Cash and Cash Equivalents for Lease [Member]    
Restricted Cash and Cash Equivalents Items [Line Items]    
Restricted cash $ 60 $ 60