Quarterly report pursuant to Section 13 or 15(d)

Schedule of Repurchase Agreements by Maturity (Details)

v3.23.3
Schedule of Repurchase Agreements by Maturity (Details) - USD ($)
$ in Thousands
Sep. 30, 2023
Dec. 31, 2022
Assets Sold under Agreements to Repurchase [Line Items]    
Repurchase agreements $ 9,113,270 $ 8,603,011
Weighted average borrowing rate 5.65% 3.95%
US Government-sponsored Enterprises Debt Securities    
Assets Sold under Agreements to Repurchase [Line Items]    
Repurchase agreements $ 8,823,621 $ 7,321,834
Weighted average borrowing rate 5.56% 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 $ 11,600 $ 13,073
Weighted average borrowing rate 5.81% 4.83%
Mortgage servicing rights    
Assets Sold under Agreements to Repurchase [Line Items]    
Repurchase agreements $ 277,816 $ 309,000
Weighted average borrowing rate 7.06% 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 $ 1,717,602 $ 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 1,648,688 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 10,848 4,177
Maturity up to 30 days [Member] | Mortgage servicing rights    
Assets Sold under Agreements to Repurchase [Line Items]    
Repurchase agreements 58,066 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,129,033 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,128,619 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 414 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 0 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 0 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 0 177
Maturity 60 to 89 Days [Member] | Inverse Interest-Only Securities [Member]    
Assets Sold under Agreements to Repurchase [Line Items]    
Repurchase agreements 0 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 2,570,637 905,442
Maturity 90 to 119 Days [Member] | US Government-sponsored Enterprises Debt Securities    
Assets Sold under Agreements to Repurchase [Line Items]    
Repurchase agreements 2,350,887 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 0 8,393
Maturity 90 to 119 Days [Member] | Mortgage servicing rights    
Assets Sold under Agreements to Repurchase [Line Items]    
Repurchase agreements 219,750 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 3,695,998 309,000
Maturity 120 to 364 days [Member] | US Government-sponsored Enterprises Debt Securities    
Assets Sold under Agreements to Repurchase [Line Items]    
Repurchase agreements 3,695,427 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 233 0
Maturity 120 to 364 days [Member] | Inverse Interest-Only Securities [Member]    
Assets Sold under Agreements to Repurchase [Line Items]    
Repurchase agreements 338 0
Maturity 120 to 364 days [Member] | Mortgage servicing rights    
Assets Sold under Agreements to Repurchase [Line Items]    
Repurchase agreements 0 309,000
Maturity 120 to 364 days [Member] | US Treasury Securities    
Assets Sold under Agreements to Repurchase [Line Items]    
Repurchase agreements $ 0 $ 0