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
Jun. 30, 2021
Dec. 31, 2020
Assets Sold under Agreements to Repurchase [Line Items]    
Assets pledged or restricted as collateral for repurchase agreements $ 8,861,492 $ 15,787,325
Available-for-sale securities    
Assets Sold under Agreements to Repurchase [Line Items]    
Assets pledged or restricted as collateral for repurchase agreements 7,830,079 14,633,217
Mortgage servicing rights    
Assets Sold under Agreements to Repurchase [Line Items]    
Assets pledged or restricted as collateral for repurchase agreements 295,112 0
Restricted cash    
Assets Sold under Agreements to Repurchase [Line Items]    
Assets pledged or restricted as collateral for repurchase agreements 679,279 1,071,239
Due from counterparties    
Assets Sold under Agreements to Repurchase [Line Items]    
Assets pledged or restricted as collateral for repurchase agreements 6,606 21,312
Derivative assets    
Assets Sold under Agreements to Repurchase [Line Items]    
Assets pledged or restricted as collateral for repurchase agreements $ 50,416 $ 61,557