Quarterly report pursuant to Section 13 or 15(d)

Schedule of Repurchase Agreements by Maturity (Details)

v3.23.2
Schedule of Repurchase Agreements by Maturity (Details) - USD ($)
$ in Thousands
Jun. 30, 2023
Dec. 31, 2022
Assets Sold under Agreements to Repurchase [Line Items]    
Repurchase agreements $ 9,067,824 $ 8,603,011
Weighted average borrowing rate 5.33% 3.95%
US Government-sponsored Enterprises Debt Securities    
Assets Sold under Agreements to Repurchase [Line Items]    
Repurchase agreements $ 8,747,908 $ 7,321,834
Weighted average borrowing rate 5.23% 3.70%
Mortgage-backed Securities, Issued by Private Enterprises [Member]    
Assets Sold under Agreements to Repurchase [Line Items]    
Repurchase agreements $ 47,603 $ 70,809
Weighted average borrowing rate 6.61% 5.73%
Inverse Interest-Only Securities [Member]    
Assets Sold under Agreements to Repurchase [Line Items]    
Repurchase agreements $ 12,313 $ 13,073
Weighted average borrowing rate 5.72% 4.83%
Mortgage servicing rights    
Assets Sold under Agreements to Repurchase [Line Items]    
Repurchase agreements $ 260,000 $ 309,000
Weighted average borrowing rate 8.67% 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 $ 3,160,003 $ 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 3,133,072 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 23,602 59,648
Maturity up to 30 days [Member] | Inverse Interest-Only Securities [Member]    
Assets Sold under Agreements to Repurchase [Line Items]    
Repurchase agreements 3,329 4,177
Maturity up to 30 days [Member] | Mortgage servicing rights    
Assets Sold under Agreements to Repurchase [Line Items]    
Repurchase agreements 0 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,833,300 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,809,482 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 23,818 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 1,433,203 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 1,432,666 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 183 177
Maturity 60 to 89 Days [Member] | Inverse Interest-Only Securities [Member]    
Assets Sold under Agreements to Repurchase [Line Items]    
Repurchase agreements 354 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 1,339,313 905,442
Maturity 90 to 119 Days [Member] | US Government-sponsored Enterprises Debt Securities    
Assets Sold under Agreements to Repurchase [Line Items]    
Repurchase agreements 1,330,683 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 8,630 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 1,302,005 309,000
Maturity 120 to 364 days [Member] | US Government-sponsored Enterprises Debt Securities    
Assets Sold under Agreements to Repurchase [Line Items]    
Repurchase agreements 1,042,005 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 260,000 309,000
Maturity 120 to 364 days [Member] | US Treasury Securities    
Assets Sold under Agreements to Repurchase [Line Items]    
Repurchase agreements $ 0 $ 0