Annual report pursuant to Section 13 and 15(d)

Schedule of Repurchase Agreements by Maturity (Details)

v3.24.0.1
Schedule of Repurchase Agreements by Maturity (Details) - USD ($)
$ in Thousands
Dec. 31, 2023
Dec. 31, 2022
Assets Sold under Agreements to Repurchase [Line Items]    
Repurchase agreements $ 8,020,207 $ 8,603,011
Weighted average borrowing rate 5.74% 3.95%
US Government-sponsored Enterprises Debt Securities    
Assets Sold under Agreements to Repurchase [Line Items]    
Repurchase agreements $ 7,739,356 $ 7,321,834
Weighted average borrowing rate 5.64% 3.70%
Mortgage-backed Securities, Issued by Private Enterprises [Member]    
Assets Sold under Agreements to Repurchase [Line Items]    
Repurchase agreements $ 233 $ 70,809
Weighted average borrowing rate 6.36% 5.73%
Inverse Interest-Only Securities [Member]    
Assets Sold under Agreements to Repurchase [Line Items]    
Repurchase agreements $ 8,046 $ 13,073
Weighted average borrowing rate 6.14% 4.83%
Mortgage servicing rights    
Assets Sold under Agreements to Repurchase [Line Items]    
Repurchase agreements $ 272,572 $ 309,000
Weighted average borrowing rate 7.08% 7.91%
US Treasury Securities    
Assets Sold under Agreements to Repurchase [Line Items]    
Repurchase agreements $ 0 $ 888,295
Weighted average borrowing rate 0.00% 4.49%
Maturity up to 30 days [Member]    
Assets Sold under Agreements to Repurchase [Line Items]    
Repurchase agreements $ 2,833,162 $ 2,691,195
Maturity up to 30 days [Member] | US Government-sponsored Enterprises Debt Securities    
Assets Sold under Agreements to Repurchase [Line Items]    
Repurchase agreements 2,772,975 2,570,254
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 59,648
Maturity up to 30 days [Member] | Inverse Interest-Only Securities [Member]    
Assets Sold under Agreements to Repurchase [Line Items]    
Repurchase agreements 1,615 4,177
Maturity up to 30 days [Member] | Mortgage servicing rights    
Assets Sold under Agreements to Repurchase [Line Items]    
Repurchase agreements 58,572 0
Maturity up to 30 days [Member] | US Treasury Securities    
Assets Sold under Agreements to Repurchase [Line Items]    
Repurchase agreements 0 57,116
Maturity 30 to 59 Days [Member]    
Assets Sold under Agreements to Repurchase [Line Items]    
Repurchase agreements 1,918,818 2,160,737
Maturity 30 to 59 Days [Member] | US Government-sponsored Enterprises Debt Securities    
Assets Sold under Agreements to Repurchase [Line Items]    
Repurchase agreements 1,918,818 1,774,622
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 10,984
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 30 to 59 Days [Member] | US Treasury Securities    
Assets Sold under Agreements to Repurchase [Line Items]    
Repurchase agreements 0 375,131
Maturity 60 to 89 Days [Member]    
Assets Sold under Agreements to Repurchase [Line Items]    
Repurchase agreements 2,059,438 2,536,637
Maturity 60 to 89 Days [Member] | US Government-sponsored Enterprises Debt Securities    
Assets Sold under Agreements to Repurchase [Line Items]    
Repurchase agreements 2,058,518 2,280,675
Maturity 60 to 89 Days [Member] | Mortgage-backed Securities, Issued by Private Enterprises [Member]    
Assets Sold under Agreements to Repurchase [Line Items]    
Repurchase agreements 233 177
Maturity 60 to 89 Days [Member] | Inverse Interest-Only Securities [Member]    
Assets Sold under Agreements to Repurchase [Line Items]    
Repurchase agreements 687 503
Maturity 60 to 89 Days [Member] | Mortgage servicing rights    
Assets Sold under Agreements to Repurchase [Line Items]    
Repurchase agreements 0 0
Maturity 60 to 89 Days [Member] | US Treasury Securities    
Assets Sold under Agreements to Repurchase [Line Items]    
Repurchase agreements 0 255,282
Maturity 90 to 119 Days [Member]    
Assets Sold under Agreements to Repurchase [Line Items]    
Repurchase agreements 994,789 905,442
Maturity 90 to 119 Days [Member] | US Government-sponsored Enterprises Debt Securities    
Assets Sold under Agreements to Repurchase [Line Items]    
Repurchase agreements 989,045 696,283
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 5,744 8,393
Maturity 90 to 119 Days [Member] | Mortgage servicing rights    
Assets Sold under Agreements to Repurchase [Line Items]    
Repurchase agreements 0 0
Maturity 90 to 119 Days [Member] | US Treasury Securities    
Assets Sold under Agreements to Repurchase [Line Items]    
Repurchase agreements 0 200,766
Maturity 120 to 364 days [Member]    
Assets Sold under Agreements to Repurchase [Line Items]    
Repurchase agreements 214,000 309,000
Maturity 120 to 364 days [Member] | US Government-sponsored Enterprises Debt Securities    
Assets Sold under Agreements to Repurchase [Line Items]    
Repurchase agreements 0 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 0 0
Maturity 120 to 364 days [Member] | Inverse Interest-Only Securities [Member]    
Assets Sold under Agreements to Repurchase [Line Items]    
Repurchase agreements 0 0
Maturity 120 to 364 days [Member] | Mortgage servicing rights    
Assets Sold under Agreements to Repurchase [Line Items]    
Repurchase agreements 214,000 309,000
Maturity 120 to 364 days [Member] | US Treasury Securities    
Assets Sold under Agreements to Repurchase [Line Items]    
Repurchase agreements $ 0 $ 0