Quarterly report pursuant to Section 13 or 15(d)

Schedule of Repurchase Agreements by Maturity (Details)

v3.22.2
Schedule of Repurchase Agreements by Maturity (Details) - USD ($)
$ in Thousands
Jun. 30, 2022
Dec. 31, 2021
Assets Sold under Agreements to Repurchase [Line Items]    
Repurchase agreements $ 7,958,247 $ 7,656,445
Weighted average borrowing rate 1.48% 0.24%
US Government Agencies Debt Securities [Member]    
Assets Sold under Agreements to Repurchase [Line Items]    
Repurchase agreements $ 7,487,568 $ 7,495,230
Weighted average borrowing rate 1.27% 0.17%
Mortgage-backed Securities, Issued by Private Enterprises [Member]    
Assets Sold under Agreements to Repurchase [Line Items]    
Repurchase agreements $ 47,934 $ 171
Weighted average borrowing rate 2.44% 1.24%
Inverse Interest-Only Securities [Member]    
Assets Sold under Agreements to Repurchase [Line Items]    
Repurchase agreements $ 22,745 $ 36,044
Weighted average borrowing rate 1.89% 0.74%
Mortgage servicing rights    
Assets Sold under Agreements to Repurchase [Line Items]    
Repurchase agreements $ 400,000 $ 125,000
Weighted average borrowing rate 5.12% 4.00%
Maturity up to 30 days [Member]    
Assets Sold under Agreements to Repurchase [Line Items]    
Repurchase agreements $ 2,373,262 $ 1,627,283
Maturity up to 30 days [Member] | US Government Agencies Debt Securities [Member]    
Assets Sold under Agreements to Repurchase [Line Items]    
Repurchase agreements 2,342,564 1,617,186
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,880 0
Maturity up to 30 days [Member] | Inverse Interest-Only Securities [Member]    
Assets Sold under Agreements to Repurchase [Line Items]    
Repurchase agreements 6,818 10,097
Maturity up to 30 days [Member] | Mortgage servicing rights    
Assets Sold under Agreements to Repurchase [Line Items]    
Repurchase agreements 0 0
Maturity 30 to 59 Days [Member]    
Assets Sold under Agreements to Repurchase [Line Items]    
Repurchase agreements 976,012 1,807,544
Maturity 30 to 59 Days [Member] | US Government Agencies Debt Securities [Member]    
Assets Sold under Agreements to Repurchase [Line Items]    
Repurchase agreements 976,012 1,807,544
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 2,040,318 1,981,056
Maturity 60 to 89 Days [Member] | US Government Agencies Debt Securities [Member]    
Assets Sold under Agreements to Repurchase [Line Items]    
Repurchase agreements 2,039,223 1,979,717
Maturity 60 to 89 Days [Member] | Mortgage-backed Securities, Issued by Private Enterprises [Member]    
Assets Sold under Agreements to Repurchase [Line Items]    
Repurchase agreements 219 171
Maturity 60 to 89 Days [Member] | Inverse Interest-Only Securities [Member]    
Assets Sold under Agreements to Repurchase [Line Items]    
Repurchase agreements 876 1,168
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 1,037,045 1,249,435
Maturity 90 to 119 Days [Member] | US Government Agencies Debt Securities [Member]    
Assets Sold under Agreements to Repurchase [Line Items]    
Repurchase agreements 998,159 1,240,915
Maturity 90 to 119 Days [Member] | Mortgage-backed Securities, Issued by Private Enterprises [Member]    
Assets Sold under Agreements to Repurchase [Line Items]    
Repurchase agreements 23,835 0
Maturity 90 to 119 Days [Member] | Inverse Interest-Only Securities [Member]    
Assets Sold under Agreements to Repurchase [Line Items]    
Repurchase agreements 15,051 8,520
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 1,531,610 991,127
Maturity 120 to 364 days [Member] | US Government Agencies Debt Securities [Member]    
Assets Sold under Agreements to Repurchase [Line Items]    
Repurchase agreements 1,131,610 849,868
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 16,259
Maturity 120 to 364 days [Member] | Mortgage servicing rights    
Assets Sold under Agreements to Repurchase [Line Items]    
Repurchase agreements $ 400,000 $ 125,000