Annual report pursuant to Section 13 and 15(d)

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

v3.24.0.1
Schedule of Underlying Assets of Repurchase Agreements when Amount of Repurchase Agreements Exceeds 10 Percent of Assets (Details) - USD ($)
$ in Thousands
Dec. 31, 2023
Dec. 31, 2022
Assets Sold under Agreements to Repurchase [Line Items]    
Assets pledged or restricted as collateral for repurchase agreements $ 8,650,229 $ 9,333,270
Repurchase agreements 8,020,207 8,603,011
Available-for-sale securities    
Assets Sold under Agreements to Repurchase [Line Items]    
Assets pledged or restricted as collateral for repurchase agreements 8,126,028 7,426,953
Mortgage servicing rights    
Assets Sold under Agreements to Repurchase [Line Items]    
Assets pledged or restricted as collateral for repurchase agreements 463,529 667,238
Repurchase agreements 272,572 309,000
Mortgage servicing rights | Variable Funding Note    
Assets Sold under Agreements to Repurchase [Line Items]    
Repurchase agreements 214,000 309,000
Mortgage servicing rights | Term notes payable    
Assets Sold under Agreements to Repurchase [Line Items]    
Repurchase agreements 58,600  
Restricted cash    
Assets Sold under Agreements to Repurchase [Line Items]    
Assets pledged or restricted as collateral for repurchase agreements 12,375 324,654
Due from counterparties    
Assets Sold under Agreements to Repurchase [Line Items]    
Assets pledged or restricted as collateral for repurchase agreements 36,420 22,055
Derivative assets    
Assets Sold under Agreements to Repurchase [Line Items]    
Assets pledged or restricted as collateral for repurchase agreements 11,877 14,738
US Treasury Securities    
Assets Sold under Agreements to Repurchase [Line Items]    
Assets pledged or restricted as collateral for repurchase agreements 0 877,632
Repurchase agreements $ 0 $ 888,295