Quarterly report pursuant to Section 13 or 15(d)

Schedule of Underlying Assets of Repurchase Agreements when Amount of Repurchase Agreements Exceeds 10 Percent of Assets (Details)

v3.21.2
Schedule of Underlying Assets of Repurchase Agreements when Amount of Repurchase Agreements Exceeds 10 Percent of Assets (Details) - USD ($)
$ in Thousands
Sep. 30, 2021
Dec. 31, 2020
Assets Sold under Agreements to Repurchase [Line Items]    
Assets pledged or restricted as collateral for repurchase agreements $ 8,034,337 $ 15,787,325
Available-for-sale securities    
Assets Sold under Agreements to Repurchase [Line Items]    
Assets pledged or restricted as collateral for repurchase agreements 6,471,617 14,633,217
Mortgage servicing rights    
Assets Sold under Agreements to Repurchase [Line Items]    
Assets pledged or restricted as collateral for repurchase agreements 735,837 0
Restricted cash    
Assets Sold under Agreements to Repurchase [Line Items]    
Assets pledged or restricted as collateral for repurchase agreements 497,235 1,071,239
Due from counterparties    
Assets Sold under Agreements to Repurchase [Line Items]    
Assets pledged or restricted as collateral for repurchase agreements 285,865 21,312
Derivative assets    
Assets Sold under Agreements to Repurchase [Line Items]    
Assets pledged or restricted as collateral for repurchase agreements $ 43,783 $ 61,557