Quarterly report pursuant to Section 13 or 15(d)

Schedule of Repurchase Agreements by Maturity (Details)

v3.23.1
Schedule of Repurchase Agreements by Maturity (Details) - USD ($)
$ in Thousands
Mar. 31, 2023
Dec. 31, 2022
Assets Sold under Agreements to Repurchase [Line Items]    
Repurchase agreements $ 9,084,712 $ 8,603,011
Weighted average borrowing rate 5.11% 3.95%
US Government-sponsored Enterprises Debt Securities    
Assets Sold under Agreements to Repurchase [Line Items]    
Repurchase agreements $ 8,382,703 $ 7,321,834
Weighted average borrowing rate 5.01% 3.70%
US Government Agencies Debt Securities [Member]    
Assets Sold under Agreements to Repurchase [Line Items]    
Repurchase agreements $ 168,658 $ 0
Weighted average borrowing rate 4.92% 0.00%
Mortgage-backed Securities, Issued by Private Enterprises [Member]    
Assets Sold under Agreements to Repurchase [Line Items]    
Repurchase agreements $ 70,289 $ 70,809
Weighted average borrowing rate 6.14% 5.73%
Inverse Interest-Only Securities [Member]    
Assets Sold under Agreements to Repurchase [Line Items]    
Repurchase agreements $ 12,296 $ 13,073
Weighted average borrowing rate 5.17% 4.83%
Mortgage servicing rights    
Assets Sold under Agreements to Repurchase [Line Items]    
Repurchase agreements $ 250,000 $ 309,000
Weighted average borrowing rate 8.43% 7.91%
US Treasury Securities    
Assets Sold under Agreements to Repurchase [Line Items]    
Repurchase agreements $ 200,766 $ 888,295
Weighted average borrowing rate 4.68% 4.49%
Maturity up to 30 days [Member]    
Assets Sold under Agreements to Repurchase [Line Items]    
Repurchase agreements $ 1,713,277 $ 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,371,533 2,570,254
Maturity up to 30 days [Member] | US Government Agencies Debt Securities [Member]    
Assets Sold under Agreements to Repurchase [Line Items]    
Repurchase agreements 70,508 0
Maturity up to 30 days [Member] | Mortgage-backed Securities, Issued by Private Enterprises [Member]    
Assets Sold under Agreements to Repurchase [Line Items]    
Repurchase agreements 58,528 59,648
Maturity up to 30 days [Member] | Inverse Interest-Only Securities [Member]    
Assets Sold under Agreements to Repurchase [Line Items]    
Repurchase agreements 11,942 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 200,766 57,116
Maturity 30 to 59 Days [Member]    
Assets Sold under Agreements to Repurchase [Line Items]    
Repurchase agreements 1,558,518 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,546,940 1,774,622
Maturity 30 to 59 Days [Member] | US Government Agencies Debt Securities [Member]    
Assets Sold under Agreements to Repurchase [Line Items]    
Repurchase agreements 0 0
Maturity 30 to 59 Days [Member] | Mortgage-backed Securities, Issued by Private Enterprises [Member]    
Assets Sold under Agreements to Repurchase [Line Items]    
Repurchase agreements 11,578 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,303,639 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,303,639 2,280,675
Maturity 60 to 89 Days [Member] | US Government Agencies Debt Securities [Member]    
Assets Sold under Agreements to Repurchase [Line Items]    
Repurchase agreements 0 0
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,401,387 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,401,387 696,283
Maturity 90 to 119 Days [Member] | US Government Agencies Debt Securities [Member]    
Assets Sold under Agreements to Repurchase [Line Items]    
Repurchase agreements 0 0
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 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 2,107,891 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,759,204 0
Maturity 120 to 364 days [Member] | US Government Agencies Debt Securities [Member]    
Assets Sold under Agreements to Repurchase [Line Items]    
Repurchase agreements 98,150 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 183 0
Maturity 120 to 364 days [Member] | Inverse Interest-Only Securities [Member]    
Assets Sold under Agreements to Repurchase [Line Items]    
Repurchase agreements 354 0
Maturity 120 to 364 days [Member] | Mortgage servicing rights    
Assets Sold under Agreements to Repurchase [Line Items]    
Repurchase agreements 250,000 309,000
Maturity 120 to 364 days [Member] | US Treasury Securities    
Assets Sold under Agreements to Repurchase [Line Items]    
Repurchase agreements $ 0 $ 0