Quarterly report pursuant to Section 13 or 15(d)

Schedule of Repurchase Agreements by Maturity (Details)

v3.24.1.u1
Schedule of Repurchase Agreements by Maturity (Details) - USD ($)
$ in Thousands
Mar. 31, 2024
Dec. 31, 2023
Assets Sold under Agreements to Repurchase [Line Items]    
Repurchase agreements $ 8,361,638 $ 8,020,207
Weighted average borrowing rate 5.61% 5.74%
US Government-sponsored Enterprises Debt Securities    
Assets Sold under Agreements to Repurchase [Line Items]    
Repurchase agreements $ 8,094,030 $ 7,739,356
Weighted average borrowing rate 5.51% 5.64%
Mortgage-backed Securities, Issued by Private Enterprises [Member]    
Assets Sold under Agreements to Repurchase [Line Items]    
Repurchase agreements $ 217 $ 233
Weighted average borrowing rate 6.13% 6.36%
Inverse Interest-Only Securities [Member]    
Assets Sold under Agreements to Repurchase [Line Items]    
Repurchase agreements $ 8,414 $ 8,046
Weighted average borrowing rate 6.10% 6.14%
Mortgage servicing rights    
Assets Sold under Agreements to Repurchase [Line Items]    
Repurchase agreements $ 258,977 $ 272,572
Weighted average borrowing rate 6.92% 7.08%
Maturity up to 30 days [Member]    
Assets Sold under Agreements to Repurchase [Line Items]    
Repurchase agreements $ 2,329,047 $ 2,833,162
Maturity up to 30 days [Member] | US Government-sponsored Enterprises Debt Securities    
Assets Sold under Agreements to Repurchase [Line Items]    
Repurchase agreements 2,262,318 2,772,975
Maturity up to 30 days [Member] | Mortgage-backed Securities, Issued by Private Enterprises [Member]    
Assets Sold under Agreements to Repurchase [Line Items]    
Repurchase agreements 0 0
Maturity up to 30 days [Member] | Inverse Interest-Only Securities [Member]    
Assets Sold under Agreements to Repurchase [Line Items]    
Repurchase agreements 7,752 1,615
Maturity up to 30 days [Member] | Mortgage servicing rights    
Assets Sold under Agreements to Repurchase [Line Items]    
Repurchase agreements 58,977 58,572
Maturity 30 to 59 Days [Member]    
Assets Sold under Agreements to Repurchase [Line Items]    
Repurchase agreements 1,367,028 1,918,818
Maturity 30 to 59 Days [Member] | US Government-sponsored Enterprises Debt Securities    
Assets Sold under Agreements to Repurchase [Line Items]    
Repurchase agreements 1,367,028 1,918,818
Maturity 30 to 59 Days [Member] | Mortgage-backed Securities, Issued by Private Enterprises [Member]    
Assets Sold under Agreements to Repurchase [Line Items]    
Repurchase agreements 0 0
Maturity 30 to 59 Days [Member] | Inverse Interest-Only Securities [Member]    
Assets Sold under Agreements to Repurchase [Line Items]    
Repurchase agreements 0 0
Maturity 30 to 59 Days [Member] | Mortgage servicing rights    
Assets Sold under Agreements to Repurchase [Line Items]    
Repurchase agreements 0 0
Maturity 60 to 89 Days [Member]    
Assets Sold under Agreements to Repurchase [Line Items]    
Repurchase agreements 1,022,997 2,059,438
Maturity 60 to 89 Days [Member] | US Government-sponsored Enterprises Debt Securities    
Assets Sold under Agreements to Repurchase [Line Items]    
Repurchase agreements 1,022,997 2,058,518
Maturity 60 to 89 Days [Member] | Mortgage-backed Securities, Issued by Private Enterprises [Member]    
Assets Sold under Agreements to Repurchase [Line Items]    
Repurchase agreements 0 233
Maturity 60 to 89 Days [Member] | Inverse Interest-Only Securities [Member]    
Assets Sold under Agreements to Repurchase [Line Items]    
Repurchase agreements 0 687
Maturity 60 to 89 Days [Member] | Mortgage servicing rights    
Assets Sold under Agreements to Repurchase [Line Items]    
Repurchase agreements 0 0
Maturity 90 to 119 Days [Member]    
Assets Sold under Agreements to Repurchase [Line Items]    
Repurchase agreements 702,452 994,789
Maturity 90 to 119 Days [Member] | US Government-sponsored Enterprises Debt Securities    
Assets Sold under Agreements to Repurchase [Line Items]    
Repurchase agreements 702,452 989,045
Maturity 90 to 119 Days [Member] | Mortgage-backed Securities, Issued by Private Enterprises [Member]    
Assets Sold under Agreements to Repurchase [Line Items]    
Repurchase agreements 0 0
Maturity 90 to 119 Days [Member] | Inverse Interest-Only Securities [Member]    
Assets Sold under Agreements to Repurchase [Line Items]    
Repurchase agreements 0 5,744
Maturity 90 to 119 Days [Member] | Mortgage servicing rights    
Assets Sold under Agreements to Repurchase [Line Items]    
Repurchase agreements 0 0
Maturity 120 to 364 days [Member]    
Assets Sold under Agreements to Repurchase [Line Items]    
Repurchase agreements 2,940,114 214,000
Maturity 120 to 364 days [Member] | US Government-sponsored Enterprises Debt Securities    
Assets Sold under Agreements to Repurchase [Line Items]    
Repurchase agreements 2,739,235 0
Maturity 120 to 364 days [Member] | Mortgage-backed Securities, Issued by Private Enterprises [Member]    
Assets Sold under Agreements to Repurchase [Line Items]    
Repurchase agreements 217 0
Maturity 120 to 364 days [Member] | Inverse Interest-Only Securities [Member]    
Assets Sold under Agreements to Repurchase [Line Items]    
Repurchase agreements 662 0
Maturity 120 to 364 days [Member] | Mortgage servicing rights    
Assets Sold under Agreements to Repurchase [Line Items]    
Repurchase agreements $ 200,000 $ 214,000