{
 "version": "2.2",
 "instance": {
  "d138665d11k.htm": {
   "nsprefix": "ubsi",
   "nsuri": "http://www.ubsi-inc.com/20251231",
   "dts": {
    "inline": {
     "local": [
      "d138665d11k.htm"
     ]
    },
    "schema": {
     "local": [
      "ubsi-20251231.xsd"
     ],
     "remote": [
      "http://www.xbrl.org/2003/xbrl-instance-2003-12-31.xsd",
      "http://www.xbrl.org/2003/xbrl-linkbase-2003-12-31.xsd",
      "http://www.xbrl.org/2003/xl-2003-12-31.xsd",
      "http://www.xbrl.org/2003/xlink-2003-12-31.xsd",
      "http://www.xbrl.org/2005/xbrldt-2005.xsd",
      "http://www.xbrl.org/2006/ref-2006-02-27.xsd",
      "http://www.xbrl.org/lrr/arcrole/factExplanatory-2009-12-16.xsd",
      "http://www.xbrl.org/lrr/role/negated-2009-12-16.xsd",
      "http://www.xbrl.org/lrr/role/net-2009-12-16.xsd",
      "http://www.xbrl.org/lrr/role/reference-2009-12-16.xsd",
      "https://www.xbrl.org/2020/extensible-enumerations-2.0.xsd",
      "https://www.xbrl.org/dtr/type/2020-01-21/types.xsd",
      "https://www.xbrl.org/dtr/type/2024-01-31/types.xsd",
      "https://xbrl.fasb.org/srt/2025/elts/srt-2025.xsd",
      "https://xbrl.fasb.org/srt/2025/elts/srt-roles-2025.xsd",
      "https://xbrl.fasb.org/srt/2025/elts/srt-types-2025.xsd",
      "https://xbrl.fasb.org/us-gaap/2025/ebp/elts/us-gaap-ebp-2025.xsd",
      "https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd",
      "https://xbrl.fasb.org/us-gaap/2025/elts/us-roles-2025.xsd",
      "https://xbrl.fasb.org/us-gaap/2025/elts/us-types-2025.xsd",
      "https://xbrl.sec.gov/country/2025/country-2025.xsd",
      "https://xbrl.sec.gov/currency/2025/currency-2025.xsd",
      "https://xbrl.sec.gov/dei/2025/dei-2025.xsd",
      "https://xbrl.sec.gov/exch/2025/exch-2025.xsd",
      "https://xbrl.sec.gov/naics/2025/naics-2025.xsd",
      "https://xbrl.sec.gov/sic/2025/sic-2025.xsd",
      "https://xbrl.sec.gov/stpr/2025/stpr-2025.xsd"
     ]
    }
   },
   "keyStandard": 53,
   "keyCustom": 14,
   "axisStandard": 6,
   "axisCustom": 0,
   "memberStandard": 8,
   "memberCustom": 3,
   "hidden": {
    "total": 82,
    "http://fasb.org/us-gaap-ebp/2025": 78,
    "http://xbrl.sec.gov/dei/2025": 4
   },
   "contextCount": 93,
   "entityCount": 1,
   "segmentCount": 11,
   "elementCount": 134,
   "unitCount": 4,
   "baseTaxonomies": {
    "http://fasb.org/us-gaap-ebp/2025": 216,
    "http://xbrl.sec.gov/dei/2025": 9
   },
   "report": {
    "R1": {
     "role": "http://www.ubsi-inc.com/role/Cover",
     "longName": "1001 - Document - Cover",
     "shortName": "Cover",
     "isDefault": "true",
     "groupType": "document",
     "subGroupType": "",
     "menuCat": "Cover",
     "order": "1",
     "firstAnchor": {
      "contextRef": "P01_01_2025To12_31_2025",
      "name": "dei:DocumentType",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "div",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "d138665d11k.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "P01_01_2025To12_31_2025",
      "name": "dei:DocumentType",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "div",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "d138665d11k.htm",
      "first": true,
      "unique": true
     }
    },
    "R2": {
     "role": "http://www.ubsi-inc.com/role/StatementsOfNetAssetsAvailableForBenefitsModifiedCashBasis",
     "longName": "1002 - Statement - Statements of Net Assets Available for Benefits&#8212;Modified Cash Basis",
     "shortName": "Statements of Net Assets Available for Benefits&#8212;Modified Cash Basis",
     "isDefault": "false",
     "groupType": "statement",
     "subGroupType": "",
     "menuCat": "Statements",
     "order": "2",
     "firstAnchor": {
      "contextRef": "PAsOn12_31_2025_EBP003MemberdeiLegalEntityAxis",
      "name": "us-gaap-ebp:EmployeeBenefitPlanInvestmentPlanInterestInMasterTrustFairValue",
      "unitRef": "Unit_USD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "0",
      "ancestors": [
       "div",
       "div",
       "td",
       "tr",
       "table",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "d138665d11k.htm",
      "first": true
     },
     "uniqueAnchor": null
    },
    "R3": {
     "role": "http://www.ubsi-inc.com/role/StatementOfChangesInNetAssetsAvailableForBenefitsModifiedCashBasis",
     "longName": "1003 - Statement - Statement of Changes in Net Assets Available for Benefits&#8212;Modified Cash Basis",
     "shortName": "Statement of Changes in Net Assets Available for Benefits&#8212;Modified Cash Basis",
     "isDefault": "false",
     "groupType": "statement",
     "subGroupType": "",
     "menuCat": "Statements",
     "order": "3",
     "firstAnchor": {
      "contextRef": "P01_01_2025To12_31_2025_EBP003MemberdeiLegalEntityAxis",
      "name": "us-gaap-ebp:EmployeeBenefitPlanChangeInNetAssetAvailableForBenefitIncreaseForInterestAndDividendIncomeOnInvestment",
      "unitRef": "Unit_USD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "0",
      "ancestors": [
       "td",
       "tr",
       "table",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "d138665d11k.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "P01_01_2025To12_31_2025_EBP003MemberdeiLegalEntityAxis",
      "name": "us-gaap-ebp:EmployeeBenefitPlanChangeInNetAssetAvailableForBenefitIncreaseForInterestAndDividendIncomeOnInvestment",
      "unitRef": "Unit_USD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "0",
      "ancestors": [
       "td",
       "tr",
       "table",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "d138665d11k.htm",
      "first": true,
      "unique": true
     }
    },
    "R4": {
     "role": "http://www.ubsi-inc.com/role/SignificantAccountingPolicies",
     "longName": "1004 - Disclosure - Significant Accounting Policies",
     "shortName": "Significant Accounting Policies",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "",
     "menuCat": "Notes",
     "order": "4",
     "firstAnchor": {
      "contextRef": "P01_01_2025To12_31_2025_EBP003MemberdeiLegalEntityAxis",
      "name": "us-gaap-ebp:EmployeeBenefitPlanSummaryOfAccountingPolicyTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "d138665d11k.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "P01_01_2025To12_31_2025_EBP003MemberdeiLegalEntityAxis",
      "name": "us-gaap-ebp:EmployeeBenefitPlanSummaryOfAccountingPolicyTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "d138665d11k.htm",
      "first": true,
      "unique": true
     }
    },
    "R5": {
     "role": "http://www.ubsi-inc.com/role/DescriptionOfThePlan",
     "longName": "1005 - Disclosure - Description of the Plan",
     "shortName": "Description of the Plan",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "",
     "menuCat": "Notes",
     "order": "5",
     "firstAnchor": {
      "contextRef": "P01_01_2025To12_31_2025_EBP003MemberdeiLegalEntityAxis",
      "name": "us-gaap-ebp:EmployeeBenefitPlanDescriptionOfPlanTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "d138665d11k.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "P01_01_2025To12_31_2025_EBP003MemberdeiLegalEntityAxis",
      "name": "us-gaap-ebp:EmployeeBenefitPlanDescriptionOfPlanTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "d138665d11k.htm",
      "first": true,
      "unique": true
     }
    },
    "R6": {
     "role": "http://www.ubsi-inc.com/role/Investments",
     "longName": "1006 - Disclosure - Investments",
     "shortName": "Investments",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "",
     "menuCat": "Notes",
     "order": "6",
     "firstAnchor": {
      "contextRef": "P01_01_2025To12_31_2025_EBP003MemberdeiLegalEntityAxis",
      "name": "ubsi:EmployeeBenefitPlanInvestmentTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "d138665d11k.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "P01_01_2025To12_31_2025_EBP003MemberdeiLegalEntityAxis",
      "name": "ubsi:EmployeeBenefitPlanInvestmentTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "d138665d11k.htm",
      "first": true,
      "unique": true
     }
    },
    "R7": {
     "role": "http://www.ubsi-inc.com/role/FairValueMeasurements",
     "longName": "1007 - Disclosure - Fair Value Measurements",
     "shortName": "Fair Value Measurements",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "",
     "menuCat": "Notes",
     "order": "7",
     "firstAnchor": {
      "contextRef": "P01_01_2025To12_31_2025_EBP003MemberdeiLegalEntityAxis",
      "name": "us-gaap-ebp:EmployeeBenefitPlanInvestmentFairValueAndNavTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "d138665d11k.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "P01_01_2025To12_31_2025_EBP003MemberdeiLegalEntityAxis",
      "name": "us-gaap-ebp:EmployeeBenefitPlanInvestmentFairValueAndNavTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "d138665d11k.htm",
      "first": true,
      "unique": true
     }
    },
    "R8": {
     "role": "http://www.ubsi-inc.com/role/ReconciliationOfFinancialStatementsToForm5500",
     "longName": "1008 - Disclosure - Reconciliation of Financial Statements to Form 5500",
     "shortName": "Reconciliation of Financial Statements to Form 5500",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "",
     "menuCat": "Notes",
     "order": "8",
     "firstAnchor": {
      "contextRef": "P01_01_2025To12_31_2025_EBP003MemberdeiLegalEntityAxis",
      "name": "us-gaap-ebp:EmployeeBenefitPlanReconciliationToForm5500TextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "d138665d11k.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "P01_01_2025To12_31_2025_EBP003MemberdeiLegalEntityAxis",
      "name": "us-gaap-ebp:EmployeeBenefitPlanReconciliationToForm5500TextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "d138665d11k.htm",
      "first": true,
      "unique": true
     }
    },
    "R9": {
     "role": "http://www.ubsi-inc.com/role/RisksAndUncertainties",
     "longName": "1009 - Disclosure - Risks and Uncertainties",
     "shortName": "Risks and Uncertainties",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "",
     "menuCat": "Notes",
     "order": "9",
     "firstAnchor": {
      "contextRef": "P01_01_2025To12_31_2025_EBP003MemberdeiLegalEntityAxis",
      "name": "us-gaap-ebp:EmployeeBenefitPlanRiskAndUncertaintyTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "d138665d11k.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "P01_01_2025To12_31_2025_EBP003MemberdeiLegalEntityAxis",
      "name": "us-gaap-ebp:EmployeeBenefitPlanRiskAndUncertaintyTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "d138665d11k.htm",
      "first": true,
      "unique": true
     }
    },
    "R10": {
     "role": "http://www.ubsi-inc.com/role/IncomeTaxStatus",
     "longName": "1010 - Disclosure - Income Tax Status",
     "shortName": "Income Tax Status",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "",
     "menuCat": "Notes",
     "order": "10",
     "firstAnchor": {
      "contextRef": "P01_01_2025To12_31_2025_EBP003MemberdeiLegalEntityAxis",
      "name": "us-gaap-ebp:EmployeeBenefitPlanTaxStatusTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "d138665d11k.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "P01_01_2025To12_31_2025_EBP003MemberdeiLegalEntityAxis",
      "name": "us-gaap-ebp:EmployeeBenefitPlanTaxStatusTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "d138665d11k.htm",
      "first": true,
      "unique": true
     }
    },
    "R11": {
     "role": "http://www.ubsi-inc.com/role/TransactionsWithPartiesInInterest",
     "longName": "1011 - Disclosure - Transactions With Parties-in-Interest",
     "shortName": "Transactions With Parties-in-Interest",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "",
     "menuCat": "Notes",
     "order": "11",
     "firstAnchor": {
      "contextRef": "P01_01_2025To12_31_2025_EBP003MemberdeiLegalEntityAxis",
      "name": "us-gaap-ebp:EmployeeBenefitPlanRelatedPartyAndPartyInInterestTransactionsTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "d138665d11k.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "P01_01_2025To12_31_2025_EBP003MemberdeiLegalEntityAxis",
      "name": "us-gaap-ebp:EmployeeBenefitPlanRelatedPartyAndPartyInInterestTransactionsTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "d138665d11k.htm",
      "first": true,
      "unique": true
     }
    },
    "R12": {
     "role": "http://www.ubsi-inc.com/role/CommitmentsAndContingencies",
     "longName": "1012 - Disclosure - Commitments and Contingencies",
     "shortName": "Commitments and Contingencies",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "",
     "menuCat": "Notes",
     "order": "12",
     "firstAnchor": {
      "contextRef": "P01_01_2025To12_31_2025_EBP003MemberdeiLegalEntityAxis",
      "name": "ubsi:EmployeeBenefitPlanCommitmentsAndContingenciesTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "d138665d11k.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "P01_01_2025To12_31_2025_EBP003MemberdeiLegalEntityAxis",
      "name": "ubsi:EmployeeBenefitPlanCommitmentsAndContingenciesTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "d138665d11k.htm",
      "first": true,
      "unique": true
     }
    },
    "R13": {
     "role": "http://www.ubsi-inc.com/role/ScheduleHLine4IScheduleOfAssetsHeldAtEndOfYearModifiedCashBasis",
     "longName": "1013 - Disclosure - Schedule H, Line 4i &#8211; Schedule of Assets (Held at  End of Year)&#8212;Modified Cash Basis",
     "shortName": "Schedule H, Line 4i &#8211; Schedule of Assets (Held at  End of Year)&#8212;Modified Cash Basis",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "",
     "menuCat": "Notes",
     "order": "13",
     "firstAnchor": {
      "contextRef": "P01_01_2025To12_31_2025_EBP003MemberdeiLegalEntityAxis",
      "name": "us-gaap-ebp:EmployeeBenefitPlanScheduleOfAssetHeldForInvestmentTableTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "d138665d11k.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "P01_01_2025To12_31_2025_EBP003MemberdeiLegalEntityAxis",
      "name": "us-gaap-ebp:EmployeeBenefitPlanScheduleOfAssetHeldForInvestmentTableTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "d138665d11k.htm",
      "first": true,
      "unique": true
     }
    },
    "R14": {
     "role": "http://www.ubsi-inc.com/role/SignificantAccountingPoliciesPolicies",
     "longName": "1014 - Disclosure - Significant Accounting Policies (Policies)",
     "shortName": "Significant Accounting Policies (Policies)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "policies",
     "menuCat": "Policies",
     "order": "14",
     "firstAnchor": {
      "contextRef": "P01_01_2025To12_31_2025_EBP003MemberdeiLegalEntityAxis",
      "name": "us-gaap-ebp:EmployeeBenefitPlanBasisOfAccountingPolicyTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "us-gaap-ebp:EmployeeBenefitPlanSummaryOfAccountingPolicyTextBlock",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "d138665d11k.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "P01_01_2025To12_31_2025_EBP003MemberdeiLegalEntityAxis",
      "name": "us-gaap-ebp:EmployeeBenefitPlanBasisOfAccountingPolicyTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "us-gaap-ebp:EmployeeBenefitPlanSummaryOfAccountingPolicyTextBlock",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "d138665d11k.htm",
      "first": true,
      "unique": true
     }
    },
    "R15": {
     "role": "http://www.ubsi-inc.com/role/FairValueMeasurementsTables",
     "longName": "1015 - Disclosure - Fair Value Measurements (Tables)",
     "shortName": "Fair Value Measurements (Tables)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "tables",
     "menuCat": "Tables",
     "order": "15",
     "firstAnchor": {
      "contextRef": "P01_01_2025To12_31_2025_EBP003MemberdeiLegalEntityAxis",
      "name": "us-gaap-ebp:EmployeeBenefitPlanInvestmentFairValueAndNavTableTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "ix:continuation",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "d138665d11k.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "P01_01_2025To12_31_2025_EBP003MemberdeiLegalEntityAxis",
      "name": "us-gaap-ebp:EmployeeBenefitPlanInvestmentFairValueAndNavTableTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "ix:continuation",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "d138665d11k.htm",
      "first": true,
      "unique": true
     }
    },
    "R16": {
     "role": "http://www.ubsi-inc.com/role/ReconciliationOfFinancialStatementsToForm5500Tables",
     "longName": "1016 - Disclosure - Reconciliation of Financial Statements to Form 5500 (Tables)",
     "shortName": "Reconciliation of Financial Statements to Form 5500 (Tables)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "tables",
     "menuCat": "Tables",
     "order": "16",
     "firstAnchor": {
      "contextRef": "P01_01_2025To12_31_2025_EBP003MemberdeiLegalEntityAxis",
      "name": "us-gaap-ebp:EmployeeBenefitPlanReconciliationToForm5500TableTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "us-gaap-ebp:EmployeeBenefitPlanReconciliationToForm5500TextBlock",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "d138665d11k.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "P01_01_2025To12_31_2025_EBP003MemberdeiLegalEntityAxis",
      "name": "us-gaap-ebp:EmployeeBenefitPlanReconciliationToForm5500TableTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "us-gaap-ebp:EmployeeBenefitPlanReconciliationToForm5500TextBlock",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "d138665d11k.htm",
      "first": true,
      "unique": true
     }
    },
    "R17": {
     "role": "http://www.ubsi-inc.com/role/SignificantAccountingPoliciesAdditionalInformationDetails",
     "longName": "1017 - Disclosure - Significant Accounting Policies - Additional Information (Details)",
     "shortName": "Significant Accounting Policies - Additional Information (Details)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "details",
     "menuCat": "Details",
     "order": "17",
     "firstAnchor": {
      "contextRef": "P01_01_2025To12_31_2025_EBP003MemberdeiLegalEntityAxis",
      "name": "ubsi:AcquisitionOfSubsidiaryDescription",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "div",
       "div",
       "ix:continuation",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "d138665d11k.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "P01_01_2025To12_31_2025_EBP003MemberdeiLegalEntityAxis",
      "name": "ubsi:AcquisitionOfSubsidiaryDescription",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "div",
       "div",
       "ix:continuation",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "d138665d11k.htm",
      "first": true,
      "unique": true
     }
    },
    "R18": {
     "role": "http://www.ubsi-inc.com/role/DescriptionOfThePlanAdditionalInformationDetails",
     "longName": "1018 - Schedule - Description of the Plan - Additional Information (Details)",
     "shortName": "Description of the Plan - Additional Information (Details)",
     "isDefault": "false",
     "groupType": "",
     "subGroupType": "details",
     "menuCat": "Details",
     "order": "18",
     "firstAnchor": {
      "contextRef": "P01_01_2025To12_31_2025_EBP003MemberdeiLegalEntityAxis",
      "name": "ubsi:EmployeeBenefitPlanParticipantCatchUpContributionYearAge",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "div",
       "us-gaap-ebp:EmployeeBenefitPlanDescriptionOfPlanTextBlock",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "d138665d11k.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "P01_01_2025To12_31_2025_EBP003MemberdeiLegalEntityAxis",
      "name": "ubsi:EmployeeBenefitPlanParticipantCatchUpContributionYearAge",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "div",
       "us-gaap-ebp:EmployeeBenefitPlanDescriptionOfPlanTextBlock",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "d138665d11k.htm",
      "first": true,
      "unique": true
     }
    },
    "R19": {
     "role": "http://www.ubsi-inc.com/role/FairValueMeasurementsSummaryOfFinancialAssetsMeasuredAtFairValueDetails",
     "longName": "1019 - Schedule - Fair Value Measurements - Summary of financial assets measured at fair value (Details)",
     "shortName": "Fair Value Measurements - Summary of financial assets measured at fair value (Details)",
     "isDefault": "false",
     "groupType": "",
     "subGroupType": "details",
     "menuCat": "Details",
     "order": "19",
     "firstAnchor": {
      "contextRef": "PAsOn12_31_2025_EBP003MemberdeiLegalEntityAxis",
      "name": "us-gaap-ebp:EmployeeBenefitPlanInvestmentPlanInterestInMasterTrustFairValue",
      "unitRef": "Unit_USD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "0",
      "ancestors": [
       "div",
       "div",
       "td",
       "tr",
       "table",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "d138665d11k.htm",
      "first": true
     },
     "uniqueAnchor": {
      "contextRef": "PAsOn12_31_2025_CompanyStockMemberusgaapInvestmentTypeAxis_EBP003MemberdeiLegalEntityAxis",
      "name": "us-gaap-ebp:EmployeeBenefitPlanInvestmentPlanInterestInMasterTrustFairValue",
      "unitRef": "Unit_USD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "0",
      "ancestors": [
       "div",
       "div",
       "td",
       "tr",
       "table",
       "us-gaap-ebp:EmployeeBenefitPlanInvestmentFairValueAndNavTableTextBlock",
       "ix:continuation",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "d138665d11k.htm",
      "unique": true
     }
    },
    "R20": {
     "role": "http://www.ubsi-inc.com/role/ReconciliationOfFinancialStatementsToForm5500SummaryOfReconciliationOfNetAssetsDetails",
     "longName": "1020 - Disclosure - Reconciliation of Financial Statements to Form 5500 - Summary of reconciliation of net assets (Details)",
     "shortName": "Reconciliation of Financial Statements to Form 5500 - Summary of reconciliation of net assets (Details)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "details",
     "menuCat": "Details",
     "order": "20",
     "firstAnchor": {
      "contextRef": "PAsOn12_31_2025_EBP003MemberdeiLegalEntityAxis",
      "name": "us-gaap-ebp:EmployeeBenefitPlanNetAssetAvailableForBenefit",
      "unitRef": "Unit_USD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "0",
      "ancestors": [
       "div",
       "div",
       "td",
       "tr",
       "table",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "d138665d11k.htm",
      "first": true
     },
     "uniqueAnchor": {
      "contextRef": "PAsOn12_31_2025_EBP003MemberdeiLegalEntityAxis",
      "name": "us-gaap-ebp:EmployeeBenefitPlanForm5500CaptionParticipantLoan",
      "unitRef": "Unit_USD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "0",
      "ancestors": [
       "div",
       "div",
       "td",
       "tr",
       "table",
       "us-gaap-ebp:EmployeeBenefitPlanReconciliationToForm5500TableTextBlock",
       "us-gaap-ebp:EmployeeBenefitPlanReconciliationToForm5500TextBlock",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "d138665d11k.htm",
      "unique": true
     }
    },
    "R21": {
     "role": "http://www.ubsi-inc.com/role/ReconciliationOfFinancialStatementsToForm5500SummaryOfReconciliationOfTheDecreaseInNetAssetsDetails",
     "longName": "1021 - Disclosure - Reconciliation of Financial Statements to Form 5500 - Summary of reconciliation of the decrease in net assets (Details)",
     "shortName": "Reconciliation of Financial Statements to Form 5500 - Summary of reconciliation of the decrease in net assets (Details)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "details",
     "menuCat": "Details",
     "order": "21",
     "firstAnchor": {
      "contextRef": "P01_01_2025To12_31_2025_EBP003MemberdeiLegalEntityAxis",
      "name": "us-gaap-ebp:EmployeeBenefitPlanChangeInNetAssetAvailableForBenefitIncreaseDecrease",
      "unitRef": "Unit_USD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "0",
      "ancestors": [
       "td",
       "tr",
       "table",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "d138665d11k.htm",
      "first": true
     },
     "uniqueAnchor": {
      "contextRef": "P01_01_2025To12_31_2025_EBP003MemberdeiLegalEntityAxis",
      "name": "us-gaap-ebp:EmployeeBenefitPlanReconciliationToForm5500ChangeInNetAssetAvailableForBenefitIncreaseDecreaseForDeemedDistribution",
      "unitRef": "Unit_USD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "0",
      "ancestors": [
       "td",
       "tr",
       "table",
       "ubsi:EmployeeBenefitPlanReconciliationOfTheChangesInNetAssetsAsPerForm5500TextBlock",
       "us-gaap-ebp:EmployeeBenefitPlanReconciliationToForm5500TextBlock",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "d138665d11k.htm",
      "unique": true
     }
    },
    "R22": {
     "role": "http://www.ubsi-inc.com/role/TransactionsWithPartiesInInterestAdditionalInformationDetail",
     "longName": "1022 - Disclosure - Transactions With Parties-in-Interest - Additional Information (Detail)",
     "shortName": "Transactions With Parties-in-Interest - Additional Information (Detail)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "details",
     "menuCat": "Details",
     "order": "22",
     "firstAnchor": {
      "contextRef": "P01_01_2025To12_31_2025_EBP003MemberdeiLegalEntityAxis",
      "name": "us-gaap-ebp:EmployeeBenefitPlanEmployerContributionParticipantCompensationMatchedPercentage",
      "unitRef": "Unit_pure",
      "xsiNil": "false",
      "lang": null,
      "decimals": "INF",
      "ancestors": [
       "div",
       "ix:continuation",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "d138665d11k.htm",
      "first": true
     },
     "uniqueAnchor": {
      "contextRef": "P01_01_2025To12_31_2025_EBP003MemberdeiLegalEntityAxis_EmployeeBenefitPlanOtherRelatedPartyAndPartyInInterestMemberusgaapebpEmployeeBenefitPlanRelatedPartyAndPartyInInterestAxis",
      "name": "us-gaap-ebp:EmployeeBenefitPlanChangeInNetAssetAvailableForBenefitIncreaseForDividendIncomeOnInvestment",
      "unitRef": "Unit_USD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "0",
      "ancestors": [
       "div",
       "us-gaap-ebp:EmployeeBenefitPlanRelatedPartyAndPartyInInterestTransactionsTextBlock",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "d138665d11k.htm",
      "unique": true
     }
    },
    "R23": {
     "role": "http://www.ubsi-inc.com/role/ScheduleHLine4IScheduleOfAssetsHeldAtEndOfYearModifiedCashBasisDetail",
     "longName": "1023 - Disclosure - Schedule H, Line 4i &#8211; Schedule of Assets (Held at  End of Year)&#8212;Modified Cash Basis (Detail)",
     "shortName": "Schedule H, Line 4i &#8211; Schedule of Assets (Held at  End of Year)&#8212;Modified Cash Basis (Detail)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "details",
     "menuCat": "Details",
     "order": "23",
     "firstAnchor": {
      "contextRef": "P01_01_2025To12_31_2025_EBP003MemberdeiLegalEntityAxis",
      "name": "dei:EntityTaxIdentificationNumber",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "div",
       "div",
       "us-gaap-ebp:EmployeeBenefitPlanScheduleOfAssetHeldForInvestmentTableTextBlock",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "d138665d11k.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "P01_01_2025To12_31_2025_EBP003MemberdeiLegalEntityAxis",
      "name": "dei:EntityTaxIdentificationNumber",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "div",
       "div",
       "us-gaap-ebp:EmployeeBenefitPlanScheduleOfAssetHeldForInvestmentTableTextBlock",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "d138665d11k.htm",
      "first": true,
      "unique": true
     }
    }
   },
   "tag": {
    "ubsi_AcquisitionOfSubsidiaryDescription": {
     "xbrltype": "stringItemType",
     "nsuri": "http://www.ubsi-inc.com/20251231",
     "localname": "AcquisitionOfSubsidiaryDescription",
     "presentation": [
      "http://www.ubsi-inc.com/role/SignificantAccountingPoliciesAdditionalInformationDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Acquisition of Subsidiary Description",
        "terseLabel": "Acquisition of subsidiary description",
        "documentation": "Acquisition of subsidiary description."
       }
      }
     },
     "auth_ref": []
    },
    "dei_AmendmentFlag": {
     "xbrltype": "booleanItemType",
     "nsuri": "http://xbrl.sec.gov/dei/2025",
     "localname": "AmendmentFlag",
     "presentation": [
      "http://www.ubsi-inc.com/role/Cover"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Amendment Flag",
        "documentation": "Boolean flag that is true when the XBRL content amends previously-filed or accepted submission."
       }
      }
     },
     "auth_ref": []
    },
    "ubsi_AnnualIncreaseInGeneralAdvisoryServicesFee": {
     "xbrltype": "percentItemType",
     "nsuri": "http://www.ubsi-inc.com/20251231",
     "localname": "AnnualIncreaseInGeneralAdvisoryServicesFee",
     "presentation": [
      "http://www.ubsi-inc.com/role/DescriptionOfThePlanAdditionalInformationDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Annual Increase In General Advisory Services Fee",
        "documentation": "Annual increase in the general advisory services fee to compensate a financial professional to monitor the performance of funds within a retirement plan and give personalized financial advice."
       }
      }
     },
     "auth_ref": []
    },
    "ubsi_CompanyStockMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.ubsi-inc.com/20251231",
     "localname": "CompanyStockMember",
     "presentation": [
      "http://www.ubsi-inc.com/role/FairValueMeasurementsSummaryOfFinancialAssetsMeasuredAtFairValueDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Company Stock [Member]",
        "documentation": "Company stock."
       }
      }
     },
     "auth_ref": []
    },
    "dei_CoverAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://xbrl.sec.gov/dei/2025",
     "localname": "CoverAbstract",
     "lang": {
      "en-us": {
       "role": {
        "label": "Cover [Abstract]",
        "documentation": "Cover page."
       }
      }
     },
     "auth_ref": []
    },
    "dei_CurrentFiscalYearEndDate": {
     "xbrltype": "gMonthDayItemType",
     "nsuri": "http://xbrl.sec.gov/dei/2025",
     "localname": "CurrentFiscalYearEndDate",
     "presentation": [
      "http://www.ubsi-inc.com/role/Cover"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Current Fiscal Year End Date",
        "documentation": "End date of current fiscal year in the format --MM-DD."
       }
      }
     },
     "auth_ref": []
    },
    "dei_DocumentFiscalPeriodFocus": {
     "xbrltype": "fiscalPeriodItemType",
     "nsuri": "http://xbrl.sec.gov/dei/2025",
     "localname": "DocumentFiscalPeriodFocus",
     "presentation": [
      "http://www.ubsi-inc.com/role/Cover"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Document Fiscal Period Focus",
        "documentation": "Fiscal period values are FY, Q1, Q2, and Q3. 1st, 2nd and 3rd quarter 10-Q or 10-QT statements have value Q1, Q2, and Q3 respectively, with 10-K, 10-KT or other fiscal year statements having FY."
       }
      }
     },
     "auth_ref": []
    },
    "dei_DocumentFiscalYearFocus": {
     "xbrltype": "gYearItemType",
     "nsuri": "http://xbrl.sec.gov/dei/2025",
     "localname": "DocumentFiscalYearFocus",
     "presentation": [
      "http://www.ubsi-inc.com/role/Cover"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Document Fiscal Year Focus",
        "documentation": "This is focus fiscal year of the document report in YYYY format. For a 2006 annual report, which may also provide financial information from prior periods, fiscal 2006 should be given as the fiscal year focus. Example: 2006."
       }
      }
     },
     "auth_ref": []
    },
    "dei_DocumentPeriodEndDate": {
     "xbrltype": "dateItemType",
     "nsuri": "http://xbrl.sec.gov/dei/2025",
     "localname": "DocumentPeriodEndDate",
     "presentation": [
      "http://www.ubsi-inc.com/role/Cover"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Document Period End Date",
        "documentation": "For the EDGAR submission types of Form 8-K: the date of the report, the date of the earliest event reported; for the EDGAR submission types of Form N-1A: the filing date; for all other submission types: the end of the reporting or transition period. The format of the date is YYYY-MM-DD."
       }
      }
     },
     "auth_ref": []
    },
    "dei_DocumentType": {
     "xbrltype": "submissionTypeItemType",
     "nsuri": "http://xbrl.sec.gov/dei/2025",
     "localname": "DocumentType",
     "presentation": [
      "http://www.ubsi-inc.com/role/Cover"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Document Type",
        "documentation": "The type of document being provided (such as 10-K, 10-Q, 485BPOS, etc). The document type is limited to the same value as the supporting SEC submission type, or the word 'Other'."
       }
      }
     },
     "auth_ref": []
    },
    "ubsi_EBP003Member": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.ubsi-inc.com/20251231",
     "localname": "EBP003Member",
     "presentation": [
      "http://www.ubsi-inc.com/role/CommitmentsAndContingencies",
      "http://www.ubsi-inc.com/role/DescriptionOfThePlan",
      "http://www.ubsi-inc.com/role/DescriptionOfThePlanAdditionalInformationDetails",
      "http://www.ubsi-inc.com/role/FairValueMeasurements",
      "http://www.ubsi-inc.com/role/FairValueMeasurementsSummaryOfFinancialAssetsMeasuredAtFairValueDetails",
      "http://www.ubsi-inc.com/role/FairValueMeasurementsTables",
      "http://www.ubsi-inc.com/role/IncomeTaxStatus",
      "http://www.ubsi-inc.com/role/Investments",
      "http://www.ubsi-inc.com/role/ReconciliationOfFinancialStatementsToForm5500",
      "http://www.ubsi-inc.com/role/ReconciliationOfFinancialStatementsToForm5500SummaryOfReconciliationOfNetAssetsDetails",
      "http://www.ubsi-inc.com/role/ReconciliationOfFinancialStatementsToForm5500SummaryOfReconciliationOfTheDecreaseInNetAssetsDetails",
      "http://www.ubsi-inc.com/role/ReconciliationOfFinancialStatementsToForm5500Tables",
      "http://www.ubsi-inc.com/role/RisksAndUncertainties",
      "http://www.ubsi-inc.com/role/ScheduleHLine4IScheduleOfAssetsHeldAtEndOfYearModifiedCashBasis",
      "http://www.ubsi-inc.com/role/ScheduleHLine4IScheduleOfAssetsHeldAtEndOfYearModifiedCashBasisDetail",
      "http://www.ubsi-inc.com/role/SignificantAccountingPolicies",
      "http://www.ubsi-inc.com/role/SignificantAccountingPoliciesAdditionalInformationDetails",
      "http://www.ubsi-inc.com/role/SignificantAccountingPoliciesPolicies",
      "http://www.ubsi-inc.com/role/StatementOfChangesInNetAssetsAvailableForBenefitsModifiedCashBasis",
      "http://www.ubsi-inc.com/role/StatementsOfNetAssetsAvailableForBenefitsModifiedCashBasis",
      "http://www.ubsi-inc.com/role/TransactionsWithPartiesInInterest",
      "http://www.ubsi-inc.com/role/TransactionsWithPartiesInInterestAdditionalInformationDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "EBP 003 [Member]"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap-ebp_EbpContingencyAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap-ebp/2025",
     "localname": "EbpContingencyAbstract",
     "lang": {
      "en-us": {
       "role": {
        "label": "EBP, Contingency [Abstract]"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap-ebp_EbpContingencyTable": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap-ebp/2025",
     "localname": "EbpContingencyTable",
     "presentation": [
      "http://www.ubsi-inc.com/role/CommitmentsAndContingencies"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "EBP, Contingency [Table]",
        "documentation": "Disclosure of information about contingency of employee stock purchase, saving, or similar plan (employee benefit plan (EBP))."
       }
      }
     },
     "auth_ref": [
      "r157"
     ]
    },
    "us-gaap-ebp_EbpRiskAndUncertaintyAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap-ebp/2025",
     "localname": "EbpRiskAndUncertaintyAbstract",
     "lang": {
      "en-us": {
       "role": {
        "label": "EBP, Risk and Uncertainty [Abstract]"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap-ebp_EbpRiskAndUncertaintyLineItems": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap-ebp/2025",
     "localname": "EbpRiskAndUncertaintyLineItems",
     "presentation": [
      "http://www.ubsi-inc.com/role/RisksAndUncertainties"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "EBP, Risk and Uncertainty [Line Items]",
        "documentation": "Line items represent financial concepts included in a table. These concepts are used to disclose reportable information associated with domain members defined in one or many axes to the table."
       }
      }
     },
     "auth_ref": [
      "r156"
     ]
    },
    "us-gaap-ebp_EbpRiskAndUncertaintyTable": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap-ebp/2025",
     "localname": "EbpRiskAndUncertaintyTable",
     "presentation": [
      "http://www.ubsi-inc.com/role/RisksAndUncertainties"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "EBP, Risk and Uncertainty [Table]",
        "documentation": "Disclosure of information about risk and uncertainty of employee stock purchase, saving, or similar plan (employee benefit plan (EBP)). Includes, but is not limited to, concentration risk."
       }
      }
     },
     "auth_ref": [
      "r156"
     ]
    },
    "us-gaap-ebp_EmployeeBenefitPlanAccountingPolicyAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap-ebp/2025",
     "localname": "EmployeeBenefitPlanAccountingPolicyAbstract",
     "lang": {
      "en-us": {
       "role": {
        "label": "EBP, Accounting Policy, Accounting Standard Update, and Change in Accounting Principle [Abstract]"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap-ebp_EmployeeBenefitPlanAccountingPolicyLineItems": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap-ebp/2025",
     "localname": "EmployeeBenefitPlanAccountingPolicyLineItems",
     "presentation": [
      "http://www.ubsi-inc.com/role/SignificantAccountingPolicies",
      "http://www.ubsi-inc.com/role/SignificantAccountingPoliciesAdditionalInformationDetails",
      "http://www.ubsi-inc.com/role/SignificantAccountingPoliciesPolicies"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "EBP, Accounting Policy [Line Items]",
        "documentation": "Line items represent financial concepts included in a table. These concepts are used to disclose reportable information associated with domain members defined in one or many axes to the table."
       }
      }
     },
     "auth_ref": [
      "r162",
      "r170"
     ]
    },
    "us-gaap-ebp_EmployeeBenefitPlanAccountingPolicyTable": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap-ebp/2025",
     "localname": "EmployeeBenefitPlanAccountingPolicyTable",
     "presentation": [
      "http://www.ubsi-inc.com/role/SignificantAccountingPolicies",
      "http://www.ubsi-inc.com/role/SignificantAccountingPoliciesAdditionalInformationDetails",
      "http://www.ubsi-inc.com/role/SignificantAccountingPoliciesPolicies"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "EBP, Accounting Policy [Table]",
        "documentation": "Disclosure of information about accounting policy for employee stock purchase, saving, or similar plan (employee benefit plan (EBP))."
       }
      }
     },
     "auth_ref": [
      "r162",
      "r170"
     ]
    },
    "us-gaap-ebp_EmployeeBenefitPlanAssetAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap-ebp/2025",
     "localname": "EmployeeBenefitPlanAssetAbstract",
     "presentation": [
      "http://www.ubsi-inc.com/role/StatementsOfNetAssetsAvailableForBenefitsModifiedCashBasis"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "EBP, Asset [Abstract]"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap-ebp_EmployeeBenefitPlanAssetHeldForInvestment": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap-ebp/2025",
     "localname": "EmployeeBenefitPlanAssetHeldForInvestment",
     "crdr": "debit",
     "presentation": [
      "http://www.ubsi-inc.com/role/ScheduleHLine4IScheduleOfAssetsHeldAtEndOfYearModifiedCashBasisDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "EBP, Asset Held for Investment",
        "documentation": "Amount of total assets in schedule of asset held for investment of employee stock purchase, saving, or similar plan (employee benefit plan (EBP)). Includes, but is not limited to, current value of investment, participant loan, and plan interest in master trust."
       }
      }
     },
     "auth_ref": [
      "r126",
      "r129"
     ]
    },
    "us-gaap-ebp_EmployeeBenefitPlanAssetHeldForInvestmentInvestmentExcludingPlanInterestInMasterTrustParticipationStatusExtensibleEnumeration": {
     "xbrltype": "enumerationSetItemType",
     "nsuri": "http://fasb.org/us-gaap-ebp/2025",
     "localname": "EmployeeBenefitPlanAssetHeldForInvestmentInvestmentExcludingPlanInterestInMasterTrustParticipationStatusExtensibleEnumeration",
     "presentation": [
      "http://www.ubsi-inc.com/role/ScheduleHLine4IScheduleOfAssetsHeldAtEndOfYearModifiedCashBasisDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "EBP, Asset Held for Investment, Investment, Excluding Plan Interest in Master Trust, Participation Status [Extensible Enumeration]",
        "documentation": "Indicates status of participation by participant for investment, excluding plan interest in master trust, in schedule of asset held for investment of employee stock purchase, saving, or similar plan (employee benefit plan (EBP))."
       }
      }
     },
     "auth_ref": [
      "r78",
      "r134"
     ]
    },
    "us-gaap-ebp_EmployeeBenefitPlanAssetHeldForInvestmentPlanInterestInMasterTrustCurrentValue": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap-ebp/2025",
     "localname": "EmployeeBenefitPlanAssetHeldForInvestmentPlanInterestInMasterTrustCurrentValue",
     "crdr": "debit",
     "presentation": [
      "http://www.ubsi-inc.com/role/ScheduleHLine4IScheduleOfAssetsHeldAtEndOfYearModifiedCashBasisDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "EBP, Asset Held for Investment, Plan Interest in Master Trust, Current Value",
        "documentation": "Current value of plan interest in master trust in schedule of asset held for investment of employee stock purchase, saving, or similar plan (employee benefit plan (EBP))."
       }
      }
     },
     "auth_ref": [
      "r126",
      "r134"
     ]
    },
    "us-gaap-ebp_EmployeeBenefitPlanBasisOfAccountingPolicyTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://fasb.org/us-gaap-ebp/2025",
     "localname": "EmployeeBenefitPlanBasisOfAccountingPolicyTextBlock",
     "presentation": [
      "http://www.ubsi-inc.com/role/SignificantAccountingPoliciesPolicies"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "EBP, Basis of Accounting [Policy Text Block]",
        "terseLabel": "Accounting Method",
        "documentation": "Disclosure of accounting policy for basis of accounting used to prepare financial statements of employee stock purchase, saving, or similar plan (employee benefit plan (EBP))."
       }
      }
     },
     "auth_ref": [
      "r162",
      "r170"
     ]
    },
    "us-gaap-ebp_EmployeeBenefitPlanChangeInNetAssetAvailableForBenefitDecrease": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap-ebp/2025",
     "localname": "EmployeeBenefitPlanChangeInNetAssetAvailableForBenefitDecrease",
     "crdr": "credit",
     "presentation": [
      "http://www.ubsi-inc.com/role/StatementOfChangesInNetAssetsAvailableForBenefitsModifiedCashBasis"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "EBP, Change in Net Asset Available for Benefit, Decrease",
        "totalLabel": "Total deductions",
        "documentation": "Amount of decrease in net asset available for benefit to participant in employee stock purchase, saving, or similar plan (employee benefit plan (EBP))."
       }
      }
     },
     "auth_ref": [
      "r118",
      "r127"
     ]
    },
    "us-gaap-ebp_EmployeeBenefitPlanChangeInNetAssetAvailableForBenefitDecreaseAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap-ebp/2025",
     "localname": "EmployeeBenefitPlanChangeInNetAssetAvailableForBenefitDecreaseAbstract",
     "presentation": [
      "http://www.ubsi-inc.com/role/StatementOfChangesInNetAssetsAvailableForBenefitsModifiedCashBasis"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "EBP, Change in Net Asset Available for Benefit, Decrease [Abstract]",
        "terseLabel": "Deductions"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap-ebp_EmployeeBenefitPlanChangeInNetAssetAvailableForBenefitDecreaseForAdministrativeExpense": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap-ebp/2025",
     "localname": "EmployeeBenefitPlanChangeInNetAssetAvailableForBenefitDecreaseForAdministrativeExpense",
     "crdr": "credit",
     "presentation": [
      "http://www.ubsi-inc.com/role/StatementOfChangesInNetAssetsAvailableForBenefitsModifiedCashBasis"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "EBP, Change in Net Asset Available for Benefit, Decrease from Administrative Expense",
        "terseLabel": "Administrative expenses paid by participants",
        "documentation": "Amount of decrease in net asset available for benefit from administrative expense incurred by employee stock purchase, saving, or similar plan (employee benefit plan (EBP))."
       }
      }
     },
     "auth_ref": [
      "r48",
      "r79",
      "r118"
     ]
    },
    "us-gaap-ebp_EmployeeBenefitPlanChangeInNetAssetAvailableForBenefitDecreaseForPaymentToParticipant": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap-ebp/2025",
     "localname": "EmployeeBenefitPlanChangeInNetAssetAvailableForBenefitDecreaseForPaymentToParticipant",
     "crdr": "credit",
     "presentation": [
      "http://www.ubsi-inc.com/role/StatementOfChangesInNetAssetsAvailableForBenefitsModifiedCashBasis"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "EBP, Change in Net Asset Available for Benefit, Decrease from Payment to Participant",
        "terseLabel": "Withdrawals and benefits paid directly to participants",
        "documentation": "Amount of decrease in net asset available for benefit from payment of benefit to participant in employee stock purchase, saving, or similar plan (employee benefit plan (EBP)), including, but not limited to, withdrawal."
       }
      }
     },
     "auth_ref": [
      "r47",
      "r75",
      "r79",
      "r87",
      "r118"
     ]
    },
    "us-gaap-ebp_EmployeeBenefitPlanChangeInNetAssetAvailableForBenefitIncrease": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap-ebp/2025",
     "localname": "EmployeeBenefitPlanChangeInNetAssetAvailableForBenefitIncrease",
     "crdr": "debit",
     "presentation": [
      "http://www.ubsi-inc.com/role/StatementOfChangesInNetAssetsAvailableForBenefitsModifiedCashBasis"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "EBP, Change in Net Asset Available for Benefit, Increase",
        "terseLabel": "Total additions",
        "documentation": "Amount of increase in net asset available for benefit to participant in employee stock purchase, saving, or similar plan (employee benefit plan (EBP))."
       }
      }
     },
     "auth_ref": [
      "r118",
      "r127"
     ]
    },
    "us-gaap-ebp_EmployeeBenefitPlanChangeInNetAssetAvailableForBenefitIncreaseDecrease": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap-ebp/2025",
     "localname": "EmployeeBenefitPlanChangeInNetAssetAvailableForBenefitIncreaseDecrease",
     "crdr": "debit",
     "presentation": [
      "http://www.ubsi-inc.com/role/ReconciliationOfFinancialStatementsToForm5500SummaryOfReconciliationOfTheDecreaseInNetAssetsDetails",
      "http://www.ubsi-inc.com/role/StatementOfChangesInNetAssetsAvailableForBenefitsModifiedCashBasis"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "EBP, Change in Net Asset Available for Benefit, Increase (Decrease)",
        "terseLabel": "Increase in net assets available for benefits per the financial statements",
        "documentation": "Amount of increase (decrease) in net asset available for benefit to participant in employee stock purchase, saving, or similar plan (employee benefit plan (EBP))."
       }
      }
     },
     "auth_ref": [
      "r0",
      "r79",
      "r118",
      "r173"
     ]
    },
    "us-gaap-ebp_EmployeeBenefitPlanChangeInNetAssetAvailableForBenefitIncreaseDecreaseForGainLossOnInvestment": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap-ebp/2025",
     "localname": "EmployeeBenefitPlanChangeInNetAssetAvailableForBenefitIncreaseDecreaseForGainLossOnInvestment",
     "crdr": "debit",
     "presentation": [
      "http://www.ubsi-inc.com/role/StatementOfChangesInNetAssetsAvailableForBenefitsModifiedCashBasis"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "EBP, Change in Net Asset Available for Benefit, Increase (Decrease) from Gain (Loss) on Investment",
        "terseLabel": "Net appreciation in fair value of investments",
        "documentation": "Amount of increase (decrease) in net asset available for benefit from realized and unrealized gain (loss) on investment held by employee stock purchase, saving, or similar plan (employee benefit plan (EBP))."
       }
      }
     },
     "auth_ref": [
      "r9",
      "r46",
      "r90",
      "r118"
     ]
    },
    "us-gaap-ebp_EmployeeBenefitPlanChangeInNetAssetAvailableForBenefitIncreaseDecreaseForIncomeLossOnInvestment": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap-ebp/2025",
     "localname": "EmployeeBenefitPlanChangeInNetAssetAvailableForBenefitIncreaseDecreaseForIncomeLossOnInvestment",
     "crdr": "debit",
     "presentation": [
      "http://www.ubsi-inc.com/role/StatementOfChangesInNetAssetsAvailableForBenefitsModifiedCashBasis"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "EBP, Change in Net Asset Available for Benefit, Increase (Decrease) from Income (Loss) on Investment",
        "terseLabel": "Total investment gain",
        "documentation": "Amount of increase (decrease) in net asset available for benefit from income (loss) on investment held by employee stock purchase, saving, or similar plan (employee benefit plan (EBP)). Includes, but is not limited to, realized and unrealized gain (loss) on investment."
       }
      }
     },
     "auth_ref": [
      "r118"
     ]
    },
    "us-gaap-ebp_EmployeeBenefitPlanChangeInNetAssetAvailableForBenefitIncreaseForContribution": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap-ebp/2025",
     "localname": "EmployeeBenefitPlanChangeInNetAssetAvailableForBenefitIncreaseForContribution",
     "crdr": "debit",
     "presentation": [
      "http://www.ubsi-inc.com/role/StatementOfChangesInNetAssetsAvailableForBenefitsModifiedCashBasis"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "EBP, Change in Net Asset Available for Benefit, Increase from Contribution",
        "terseLabel": "Total contributions",
        "documentation": "Amount of increase in net asset available for benefit from contribution to employee stock purchase, saving, or similar plan (employee benefit plan (EBP))."
       }
      }
     },
     "auth_ref": [
      "r118",
      "r127"
     ]
    },
    "us-gaap-ebp_EmployeeBenefitPlanChangeInNetAssetAvailableForBenefitIncreaseForContributionAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap-ebp/2025",
     "localname": "EmployeeBenefitPlanChangeInNetAssetAvailableForBenefitIncreaseForContributionAbstract",
     "presentation": [
      "http://www.ubsi-inc.com/role/StatementOfChangesInNetAssetsAvailableForBenefitsModifiedCashBasis"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "EBP, Change in Net Asset Available for Benefit, Increase from Contribution [Abstract]",
        "terseLabel": "Contributions:"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap-ebp_EmployeeBenefitPlanChangeInNetAssetAvailableForBenefitIncreaseForDividendIncomeOnInvestment": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap-ebp/2025",
     "localname": "EmployeeBenefitPlanChangeInNetAssetAvailableForBenefitIncreaseForDividendIncomeOnInvestment",
     "crdr": "debit",
     "presentation": [
      "http://www.ubsi-inc.com/role/TransactionsWithPartiesInInterestAdditionalInformationDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "EBP, Change in Net Asset Available for Benefit, Increase from Dividend Income on Investment",
        "documentation": "Amount of increase in net asset available for benefit from dividend income on investment held by employee stock purchase, saving, or similar plan (employee benefit plan (EBP))."
       }
      }
     },
     "auth_ref": [
      "r67",
      "r118",
      "r158",
      "r176"
     ]
    },
    "us-gaap-ebp_EmployeeBenefitPlanChangeInNetAssetAvailableForBenefitIncreaseForEmployerContribution": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap-ebp/2025",
     "localname": "EmployeeBenefitPlanChangeInNetAssetAvailableForBenefitIncreaseForEmployerContribution",
     "crdr": "debit",
     "presentation": [
      "http://www.ubsi-inc.com/role/StatementOfChangesInNetAssetsAvailableForBenefitsModifiedCashBasis"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "EBP, Change in Net Asset Available for Benefit, Increase from Employer Contribution, Cash and Noncash",
        "terseLabel": "Employer contributions",
        "documentation": "Amount of increase in net asset available for benefit from cash and noncash contributions from employer of participant in employee stock purchase, saving, or similar plan (employee benefit plan (EBP))."
       }
      }
     },
     "auth_ref": [
      "r73",
      "r74",
      "r79",
      "r159",
      "r174"
     ]
    },
    "us-gaap-ebp_EmployeeBenefitPlanChangeInNetAssetAvailableForBenefitIncreaseForInterestAndDividendIncomeOnInvestment": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap-ebp/2025",
     "localname": "EmployeeBenefitPlanChangeInNetAssetAvailableForBenefitIncreaseForInterestAndDividendIncomeOnInvestment",
     "crdr": "debit",
     "presentation": [
      "http://www.ubsi-inc.com/role/StatementOfChangesInNetAssetsAvailableForBenefitsModifiedCashBasis"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "EBP, Change in Net Asset Available for Benefit, Increase from Interest and Dividend Income on Investment",
        "terseLabel": "Interest and dividends",
        "documentation": "Amount of increase in net asset available for benefit from interest and dividend income on investment held by employee stock purchase, saving, or similar plan (employee benefit plan (EBP))."
       }
      }
     },
     "auth_ref": [
      "r91"
     ]
    },
    "us-gaap-ebp_EmployeeBenefitPlanChangeInNetAssetAvailableForBenefitIncreaseForInterestAndDividendIncomeOnInvestmentAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap-ebp/2025",
     "localname": "EmployeeBenefitPlanChangeInNetAssetAvailableForBenefitIncreaseForInterestAndDividendIncomeOnInvestmentAbstract",
     "presentation": [
      "http://www.ubsi-inc.com/role/StatementOfChangesInNetAssetsAvailableForBenefitsModifiedCashBasis"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "EBP, Change in Net Asset Available for Benefit, Increase from Interest and Dividend Income on Investment [Abstract]",
        "terseLabel": "Investment income:"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap-ebp_EmployeeBenefitPlanChangeInNetAssetAvailableForBenefitIncreaseForParticipantContributionExcludingRollover": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap-ebp/2025",
     "localname": "EmployeeBenefitPlanChangeInNetAssetAvailableForBenefitIncreaseForParticipantContributionExcludingRollover",
     "crdr": "debit",
     "presentation": [
      "http://www.ubsi-inc.com/role/StatementOfChangesInNetAssetsAvailableForBenefitsModifiedCashBasis"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "EBP, Change in Net Asset Available for Benefit, Increase from Participant Contribution, Excluding Rollover",
        "terseLabel": "Employee contributions",
        "documentation": "Amount, excluding rollover, of increase in net asset available for benefit from contribution by participant in employee stock purchase, saving, or similar plan (employee benefit plan (EBP))."
       }
      }
     },
     "auth_ref": [
      "r118",
      "r122",
      "r123",
      "r124",
      "r167",
      "r168"
     ]
    },
    "us-gaap-ebp_EmployeeBenefitPlanChangeInNetAssetAvailableForBenefitIncreaseForParticipantContributionRollover": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap-ebp/2025",
     "localname": "EmployeeBenefitPlanChangeInNetAssetAvailableForBenefitIncreaseForParticipantContributionRollover",
     "crdr": "debit",
     "presentation": [
      "http://www.ubsi-inc.com/role/StatementOfChangesInNetAssetsAvailableForBenefitsModifiedCashBasis"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "EBP, Change in Net Asset Available for Benefit, Increase from Participant Contribution, Rollover",
        "terseLabel": "Rollover contributions",
        "documentation": "Amount of increase in net asset available for benefit from contribution transferred from another qualified plan or from individual retirement account of participant in employee stock purchase, saving, or similar plan (employee benefit plan (EBP)). Excludes contribution for participant transmitted by employer of participant in EBP."
       }
      }
     },
     "auth_ref": [
      "r118",
      "r122",
      "r123",
      "r124",
      "r167",
      "r168"
     ]
    },
    "ubsi_EmployeeBenefitPlanCommitmentsAndContingenciesAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://www.ubsi-inc.com/20251231",
     "localname": "EmployeeBenefitPlanCommitmentsAndContingenciesAbstract",
     "lang": {
      "en-us": {
       "role": {
        "label": "Employee Benefit Plan Commitments And Contingencies [Abstract]"
       }
      }
     },
     "auth_ref": []
    },
    "ubsi_EmployeeBenefitPlanCommitmentsAndContingenciesLineItems": {
     "xbrltype": "stringItemType",
     "nsuri": "http://www.ubsi-inc.com/20251231",
     "localname": "EmployeeBenefitPlanCommitmentsAndContingenciesLineItems",
     "presentation": [
      "http://www.ubsi-inc.com/role/CommitmentsAndContingencies"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Employee Benefit Plan Commitments And Contingencies [Line Items]"
       }
      }
     },
     "auth_ref": []
    },
    "ubsi_EmployeeBenefitPlanCommitmentsAndContingenciesTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://www.ubsi-inc.com/20251231",
     "localname": "EmployeeBenefitPlanCommitmentsAndContingenciesTextBlock",
     "presentation": [
      "http://www.ubsi-inc.com/role/CommitmentsAndContingencies"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Employee Benefit Plan Commitments And Contingencies [Text Block]",
        "terseLabel": "Commitments and Contingencies",
        "documentation": "Employee Benefit Plan Commitments And Contingencies"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap-ebp_EmployeeBenefitPlanDescriptionOfPlanAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap-ebp/2025",
     "localname": "EmployeeBenefitPlanDescriptionOfPlanAbstract",
     "lang": {
      "en-us": {
       "role": {
        "label": "EBP, Description of Plan and Accounting Change [Abstract]"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap-ebp_EmployeeBenefitPlanDescriptionOfPlanLineItems": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap-ebp/2025",
     "localname": "EmployeeBenefitPlanDescriptionOfPlanLineItems",
     "presentation": [
      "http://www.ubsi-inc.com/role/DescriptionOfThePlan",
      "http://www.ubsi-inc.com/role/DescriptionOfThePlanAdditionalInformationDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "EBP, Description of Plan [Line Items]",
        "documentation": "Line items represent financial concepts included in a table. These concepts are used to disclose reportable information associated with domain members defined in one or many axes to the table."
       }
      }
     },
     "auth_ref": [
      "r125"
     ]
    },
    "us-gaap-ebp_EmployeeBenefitPlanDescriptionOfPlanTable": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap-ebp/2025",
     "localname": "EmployeeBenefitPlanDescriptionOfPlanTable",
     "presentation": [
      "http://www.ubsi-inc.com/role/DescriptionOfThePlan",
      "http://www.ubsi-inc.com/role/DescriptionOfThePlanAdditionalInformationDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "EBP, Description of Plan [Table]",
        "documentation": "Disclosure of information about description of employee stock purchase, saving, or similar plan (employee benefit plan (EBP))."
       }
      }
     },
     "auth_ref": [
      "r125"
     ]
    },
    "us-gaap-ebp_EmployeeBenefitPlanDescriptionOfPlanTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://fasb.org/us-gaap-ebp/2025",
     "localname": "EmployeeBenefitPlanDescriptionOfPlanTextBlock",
     "presentation": [
      "http://www.ubsi-inc.com/role/DescriptionOfThePlan"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "EBP, Description of Plan [Text Block]",
        "terseLabel": "Description of the Plan",
        "documentation": "The entire disclosure for description of employee stock purchase, saving, or similar plan (employee benefit plan (EBP)). Includes, but is not limited to, vesting and allocation provisions and disposition of forfeiture."
       }
      }
     },
     "auth_ref": [
      "r2",
      "r3",
      "r4",
      "r49",
      "r118"
     ]
    },
    "us-gaap-ebp_EmployeeBenefitPlanEmployerContributionParticipantCompensationMatchedPercentage": {
     "xbrltype": "percentItemType",
     "nsuri": "http://fasb.org/us-gaap-ebp/2025",
     "localname": "EmployeeBenefitPlanEmployerContributionParticipantCompensationMatchedPercentage",
     "presentation": [
      "http://www.ubsi-inc.com/role/DescriptionOfThePlanAdditionalInformationDetails",
      "http://www.ubsi-inc.com/role/TransactionsWithPartiesInInterestAdditionalInformationDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "EBP, Employer Contribution, Participant Compensation Matched, Percentage",
        "documentation": "Percentage of participant compensation eligible for employer matching contribution for participant in employee stock purchase, saving, or similar plan (employee benefit plan (EBP))."
       }
      }
     },
     "auth_ref": [
      "r118"
     ]
    },
    "us-gaap-ebp_EmployeeBenefitPlanForm5500CaptionNetAssetAvailableForBenefit": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap-ebp/2025",
     "localname": "EmployeeBenefitPlanForm5500CaptionNetAssetAvailableForBenefit",
     "crdr": "debit",
     "presentation": [
      "http://www.ubsi-inc.com/role/ReconciliationOfFinancialStatementsToForm5500SummaryOfReconciliationOfNetAssetsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "EBP, Form 5500 Caption, Net Assets",
        "terseLabel": "Net assets available for benefits per the Form 5500",
        "documentation": "Amount of net asset available for benefit as reported in Form 5500 caption for employee stock purchase, saving, or similar plan (employee benefit plan (EBP)). Form 5500 is form provided by Department of the Treasury, Internal Revenue Service (IRS); Department of Labor (DOL), Employee Benefit Security Administration (EBSA); and Pension Benefit Guaranty Corporation (PBGC)."
       }
      }
     },
     "auth_ref": [
      "r118",
      "r161"
     ]
    },
    "us-gaap-ebp_EmployeeBenefitPlanForm5500CaptionNetIncomeLoss": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap-ebp/2025",
     "localname": "EmployeeBenefitPlanForm5500CaptionNetIncomeLoss",
     "crdr": "debit",
     "presentation": [
      "http://www.ubsi-inc.com/role/ReconciliationOfFinancialStatementsToForm5500SummaryOfReconciliationOfTheDecreaseInNetAssetsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "EBP, Form 5500 Caption, Net Income (Loss)",
        "terseLabel": "Net gain per the Form 5500",
        "documentation": "Amount of increase (decrease) in net asset available for benefit from net income (loss) as reported in Form 5500 caption for employee stock purchase, saving, or similar plan (employee benefit plan (EBP)). Form 5500 is form provided by Department of the Treasury, Internal Revenue Service (IRS); Department of Labor (DOL), Employee Benefit Security Administration (EBSA); and Pension Benefit Guaranty Corporation (PBGC)."
       }
      }
     },
     "auth_ref": [
      "r128",
      "r161"
     ]
    },
    "us-gaap-ebp_EmployeeBenefitPlanForm5500CaptionParticipantLoan": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap-ebp/2025",
     "localname": "EmployeeBenefitPlanForm5500CaptionParticipantLoan",
     "crdr": "debit",
     "presentation": [
      "http://www.ubsi-inc.com/role/ReconciliationOfFinancialStatementsToForm5500SummaryOfReconciliationOfNetAssetsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "EBP, Form 5500 Caption, Participant Loans",
        "negatedLabel": "Participant loans in default",
        "documentation": "Amount of participant loan as reported in Form 5500 caption for employee stock purchase, saving, or similar plan (employee benefit plan (EBP)). Form 5500 is form provided by Department of the Treasury, Internal Revenue Service (IRS); Department of Labor (DOL), Employee Benefit Security Administration (EBSA); and Pension Benefit Guaranty Corporation (PBGC)."
       }
      }
     },
     "auth_ref": [
      "r128",
      "r161"
     ]
    },
    "ubsi_EmployeeBenefitPlanInvestmentAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://www.ubsi-inc.com/20251231",
     "localname": "EmployeeBenefitPlanInvestmentAbstract",
     "lang": {
      "en-us": {
       "role": {
        "label": "Employee Benefit Plan Investment [Abstract]"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap-ebp_EmployeeBenefitPlanInvestmentFairValueAndNavAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap-ebp/2025",
     "localname": "EmployeeBenefitPlanInvestmentFairValueAndNavAbstract",
     "lang": {
      "en-us": {
       "role": {
        "label": "EBP, Investment, Fair Value and NAV [Abstract]"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap-ebp_EmployeeBenefitPlanInvestmentFairValueAndNavLineItems": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap-ebp/2025",
     "localname": "EmployeeBenefitPlanInvestmentFairValueAndNavLineItems",
     "presentation": [
      "http://www.ubsi-inc.com/role/FairValueMeasurements",
      "http://www.ubsi-inc.com/role/FairValueMeasurementsSummaryOfFinancialAssetsMeasuredAtFairValueDetails",
      "http://www.ubsi-inc.com/role/FairValueMeasurementsTables"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "EBP, Investment, Fair Value and NAV [Line Items]",
        "documentation": "Line items represent financial concepts included in a table. These concepts are used to disclose reportable information associated with domain members defined in one or many axes to the table."
       }
      }
     },
     "auth_ref": [
      "r22",
      "r23",
      "r24",
      "r27",
      "r28",
      "r30",
      "r31",
      "r32",
      "r33",
      "r34",
      "r35",
      "r36",
      "r52",
      "r71",
      "r96",
      "r97",
      "r98",
      "r99",
      "r100",
      "r101",
      "r102",
      "r103",
      "r104",
      "r105"
     ]
    },
    "us-gaap-ebp_EmployeeBenefitPlanInvestmentFairValueAndNavTable": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap-ebp/2025",
     "localname": "EmployeeBenefitPlanInvestmentFairValueAndNavTable",
     "presentation": [
      "http://www.ubsi-inc.com/role/FairValueMeasurements",
      "http://www.ubsi-inc.com/role/FairValueMeasurementsSummaryOfFinancialAssetsMeasuredAtFairValueDetails",
      "http://www.ubsi-inc.com/role/FairValueMeasurementsTables"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "EBP, Investment, Fair Value and NAV [Table]",
        "documentation": "Disclosure of information about fair value of investment held by employee stock purchase, saving, or similar plan (employee benefit plan (EBP)), including, but not limited to, fair value measured at net asset value per share as practical expedient (NAV)."
       }
      }
     },
     "auth_ref": [
      "r21",
      "r22",
      "r23",
      "r24",
      "r27",
      "r28",
      "r30",
      "r31",
      "r32",
      "r33",
      "r34",
      "r35",
      "r36",
      "r52",
      "r71",
      "r85",
      "r96",
      "r97",
      "r98",
      "r99",
      "r100",
      "r101",
      "r102",
      "r103",
      "r104",
      "r105"
     ]
    },
    "us-gaap-ebp_EmployeeBenefitPlanInvestmentFairValueAndNavTableTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://fasb.org/us-gaap-ebp/2025",
     "localname": "EmployeeBenefitPlanInvestmentFairValueAndNavTableTextBlock",
     "presentation": [
      "http://www.ubsi-inc.com/role/FairValueMeasurementsTables"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "EBP, Investment, Fair Value and NAV [Table Text Block]",
        "terseLabel": "Summary of financial assets measured at fair value",
        "documentation": "Tabular disclosure of fair value of investment held by employee stock purchase, saving, or similar plan (employee benefit plan (EBP)), including, but not limited to, fair value measured at net asset value per share as practical expedient (NAV)."
       }
      }
     },
     "auth_ref": [
      "r19",
      "r26",
      "r28",
      "r29",
      "r37",
      "r118",
      "r171",
      "r172",
      "r175"
     ]
    },
    "us-gaap-ebp_EmployeeBenefitPlanInvestmentFairValueAndNavTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://fasb.org/us-gaap-ebp/2025",
     "localname": "EmployeeBenefitPlanInvestmentFairValueAndNavTextBlock",
     "presentation": [
      "http://www.ubsi-inc.com/role/FairValueMeasurements"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "EBP, Investment, Fair Value and NAV [Text Block]",
        "terseLabel": "Fair Value Measurements",
        "documentation": "The entire disclosure for fair value of investment held by employee stock purchase, saving, or similar plan (employee benefit plan (EBP)), including, but not limited to, fair value measured at net asset value per share as practical expedient (NAV)."
       }
      }
     },
     "auth_ref": [
      "r22",
      "r24",
      "r25",
      "r27",
      "r28",
      "r30",
      "r33",
      "r34",
      "r35",
      "r36",
      "r52",
      "r71",
      "r72",
      "r82",
      "r83",
      "r118",
      "r121"
     ]
    },
    "ubsi_EmployeeBenefitPlanInvestmentFairValuePerShare": {
     "xbrltype": "perShareItemType",
     "nsuri": "http://www.ubsi-inc.com/20251231",
     "localname": "EmployeeBenefitPlanInvestmentFairValuePerShare",
     "presentation": [
      "http://www.ubsi-inc.com/role/TransactionsWithPartiesInInterestAdditionalInformationDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Employee Benefit Plan Investment Fair Value Per Share",
        "documentation": "Per share fair value of the Company's stock."
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap-ebp_EmployeeBenefitPlanInvestmentIssuerNameExtensibleEnumeration": {
     "xbrltype": "enumerationSetItemType",
     "nsuri": "http://fasb.org/us-gaap-ebp/2025",
     "localname": "EmployeeBenefitPlanInvestmentIssuerNameExtensibleEnumeration",
     "presentation": [
      "http://www.ubsi-inc.com/role/ScheduleHLine4IScheduleOfAssetsHeldAtEndOfYearModifiedCashBasisDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "EBP, Investment, Issuer Name [Extensible Enumeration]",
        "documentation": "Indicates name of issuer of investment held by employee stock purchase, saving, or similar plan (employee benefit plan (EBP))."
       }
      }
     },
     "auth_ref": [
      "r78",
      "r131",
      "r136",
      "r143"
     ]
    },
    "ubsi_EmployeeBenefitPlanInvestmentLineItems": {
     "xbrltype": "stringItemType",
     "nsuri": "http://www.ubsi-inc.com/20251231",
     "localname": "EmployeeBenefitPlanInvestmentLineItems",
     "presentation": [
      "http://www.ubsi-inc.com/role/Investments"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Employee Benefit Plan Investment [Line Items]"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap-ebp_EmployeeBenefitPlanInvestmentNumberOfShares": {
     "xbrltype": "sharesItemType",
     "nsuri": "http://fasb.org/us-gaap-ebp/2025",
     "localname": "EmployeeBenefitPlanInvestmentNumberOfShares",
     "presentation": [
      "http://www.ubsi-inc.com/role/ScheduleHLine4IScheduleOfAssetsHeldAtEndOfYearModifiedCashBasisDetail",
      "http://www.ubsi-inc.com/role/TransactionsWithPartiesInInterestAdditionalInformationDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "EBP, Investment, Number of Shares",
        "documentation": "Number of shares or units of investment held by employee stock purchase, saving, or similar plan (employee benefit plan (EBP))."
       }
      }
     },
     "auth_ref": [
      "r53",
      "r78",
      "r132",
      "r137",
      "r140",
      "r141",
      "r144"
     ]
    },
    "us-gaap-ebp_EmployeeBenefitPlanInvestmentPlanInterestInMasterTrustFairValue": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap-ebp/2025",
     "localname": "EmployeeBenefitPlanInvestmentPlanInterestInMasterTrustFairValue",
     "crdr": "debit",
     "presentation": [
      "http://www.ubsi-inc.com/role/FairValueMeasurementsSummaryOfFinancialAssetsMeasuredAtFairValueDetails",
      "http://www.ubsi-inc.com/role/StatementsOfNetAssetsAvailableForBenefitsModifiedCashBasis"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "EBP, Investment, Plan Interest in Master Trust, Fair Value",
        "terseLabel": "Investments, at fair value",
        "documentation": "Fair value of plan interest in master trust held by employee stock purchase, saving, or similar plan (employee benefit plan (EBP))."
       }
      }
     },
     "auth_ref": [
      "r44",
      "r60",
      "r119",
      "r169"
     ]
    },
    "us-gaap-ebp_EmployeeBenefitPlanInvestmentPolicyTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://fasb.org/us-gaap-ebp/2025",
     "localname": "EmployeeBenefitPlanInvestmentPolicyTextBlock",
     "presentation": [
      "http://www.ubsi-inc.com/role/SignificantAccountingPoliciesPolicies"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "EBP, Investment [Policy Text Block]",
        "terseLabel": "Investment Valuation and Income Recognition",
        "documentation": "Disclosure of accounting policy for investment held by employee stock purchase, saving, or similar plan (employee benefit plan (EBP))."
       }
      }
     },
     "auth_ref": [
      "r81",
      "r85",
      "r86",
      "r118"
     ]
    },
    "ubsi_EmployeeBenefitPlanInvestmentTable": {
     "xbrltype": "stringItemType",
     "nsuri": "http://www.ubsi-inc.com/20251231",
     "localname": "EmployeeBenefitPlanInvestmentTable",
     "presentation": [
      "http://www.ubsi-inc.com/role/Investments"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Employee Benefit Plan Investment [Table]",
        "documentation": "Employee Benefit Plan Investment."
       }
      }
     },
     "auth_ref": []
    },
    "ubsi_EmployeeBenefitPlanInvestmentTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://www.ubsi-inc.com/20251231",
     "localname": "EmployeeBenefitPlanInvestmentTextBlock",
     "presentation": [
      "http://www.ubsi-inc.com/role/Investments"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Employee Benefit Plan Investment [Text Block]",
        "terseLabel": "Investments",
        "documentation": "Employee benefit plan investment."
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap-ebp_EmployeeBenefitPlanInvestmentTypeExtensibleEnumeration": {
     "xbrltype": "enumerationSetItemType",
     "nsuri": "http://fasb.org/us-gaap-ebp/2025",
     "localname": "EmployeeBenefitPlanInvestmentTypeExtensibleEnumeration",
     "presentation": [
      "http://www.ubsi-inc.com/role/ScheduleHLine4IScheduleOfAssetsHeldAtEndOfYearModifiedCashBasisDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "EBP, Investment, Current Value, Type [Extensible Enumeration]",
        "documentation": "Indicates type of investment at current value held by employee stock purchase, saving, or similar plan (employee benefit plan (EBP))."
       }
      }
     },
     "auth_ref": [
      "r78",
      "r131",
      "r136"
     ]
    },
    "ubsi_EmployeeBenefitPlanMandatoryCashOutLimit": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.ubsi-inc.com/20251231",
     "localname": "EmployeeBenefitPlanMandatoryCashOutLimit",
     "crdr": "debit",
     "presentation": [
      "http://www.ubsi-inc.com/role/DescriptionOfThePlanAdditionalInformationDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Employee Benefit Plan Mandatory Cash Out Limit",
        "documentation": "Dollar amount that allows employers to cash out or transfer a former employee's vested retirement account balance without the former employee's consent."
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap-ebp_EmployeeBenefitPlanNetAssetAvailableForBenefit": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap-ebp/2025",
     "localname": "EmployeeBenefitPlanNetAssetAvailableForBenefit",
     "crdr": "debit",
     "presentation": [
      "http://www.ubsi-inc.com/role/ReconciliationOfFinancialStatementsToForm5500SummaryOfReconciliationOfNetAssetsDetails",
      "http://www.ubsi-inc.com/role/StatementOfChangesInNetAssetsAvailableForBenefitsModifiedCashBasis",
      "http://www.ubsi-inc.com/role/StatementsOfNetAssetsAvailableForBenefitsModifiedCashBasis"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "EBP, Net Asset Available for Benefit",
        "terseLabel": "Net assets available for benefits",
        "periodStartLabel": "Beginning of year",
        "periodEndLabel": "End of year",
        "verboseLabel": "Net assets available for benefits per the financial statements",
        "documentation": "Amount of asset less liability available to pay benefit of participant in employee stock purchase, saving, or similar plan (employee benefit plan (EBP)), including, but not limited to, aggregation of participants' individual account balances."
       }
      }
     },
     "auth_ref": [
      "r1",
      "r45",
      "r65",
      "r76",
      "r77",
      "r84",
      "r94",
      "r118",
      "r119",
      "r169"
     ]
    },
    "us-gaap-ebp_EmployeeBenefitPlanNoteReceivableFromParticipant": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap-ebp/2025",
     "localname": "EmployeeBenefitPlanNoteReceivableFromParticipant",
     "crdr": "debit",
     "presentation": [
      "http://www.ubsi-inc.com/role/ScheduleHLine4IScheduleOfAssetsHeldAtEndOfYearModifiedCashBasisDetail",
      "http://www.ubsi-inc.com/role/StatementsOfNetAssetsAvailableForBenefitsModifiedCashBasis"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "EBP, Note Receivable from Participant",
        "terseLabel": "Notes receivable from participants",
        "documentation": "Amount of unpaid principal plus accrued but unpaid interest for loan from participant in employee stock purchase, saving, or similar plan (employee benefit plan (EBP))."
       }
      }
     },
     "auth_ref": [
      "r80",
      "r118",
      "r169"
     ]
    },
    "us-gaap-ebp_EmployeeBenefitPlanNoteReceivableFromParticipantPolicyTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://fasb.org/us-gaap-ebp/2025",
     "localname": "EmployeeBenefitPlanNoteReceivableFromParticipantPolicyTextBlock",
     "presentation": [
      "http://www.ubsi-inc.com/role/SignificantAccountingPoliciesPolicies"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "EBP, Note Receivable from Participant [Policy Text Block]",
        "terseLabel": "Notes Receivable from Participants",
        "documentation": "Disclosure of accounting policy for note receivable from participant in employee stock purchase, saving, or similar plan (employee benefit plan (EBP))."
       }
      }
     },
     "auth_ref": [
      "r118"
     ]
    },
    "us-gaap-ebp_EmployeeBenefitPlanOtherRelatedPartyAndPartyInInterestMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap-ebp/2025",
     "localname": "EmployeeBenefitPlanOtherRelatedPartyAndPartyInInterestMember",
     "presentation": [
      "http://www.ubsi-inc.com/role/TransactionsWithPartiesInInterestAdditionalInformationDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "EBP, Other Related Party and Party-in-Interest [Member]",
        "documentation": "Related party and party-in-interest to employee stock purchase, saving, or similar plan (employee benefit plan (EBP)), classified as other."
       }
      }
     },
     "auth_ref": [
      "r163",
      "r164",
      "r165",
      "r166"
     ]
    },
    "ubsi_EmployeeBenefitPlanParticipantAdvisoryServicesFee": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.ubsi-inc.com/20251231",
     "localname": "EmployeeBenefitPlanParticipantAdvisoryServicesFee",
     "crdr": "debit",
     "presentation": [
      "http://www.ubsi-inc.com/role/DescriptionOfThePlanAdditionalInformationDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Employee Benefit Plan Participant Advisory Services Fee",
        "documentation": "Employee Benefit Plan Participant Advisory Services Fee."
       }
      }
     },
     "auth_ref": []
    },
    "ubsi_EmployeeBenefitPlanParticipantAnnualTrustFee": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.ubsi-inc.com/20251231",
     "localname": "EmployeeBenefitPlanParticipantAnnualTrustFee",
     "crdr": "debit",
     "presentation": [
      "http://www.ubsi-inc.com/role/DescriptionOfThePlanAdditionalInformationDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Employee Benefit Plan Participant Annual Trust Fee",
        "documentation": "Employee benefit plan participant annual trust fee."
       }
      }
     },
     "auth_ref": []
    },
    "ubsi_EmployeeBenefitPlanParticipantCatchUpContributionYearAge": {
     "xbrltype": "stringItemType",
     "nsuri": "http://www.ubsi-inc.com/20251231",
     "localname": "EmployeeBenefitPlanParticipantCatchUpContributionYearAge",
     "presentation": [
      "http://www.ubsi-inc.com/role/DescriptionOfThePlanAdditionalInformationDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Employee Benefit Plan Participant Catch-up Contribution Year Age",
        "documentation": "The age for retirement plan participants to contribute extra money for retirement beyond standard IRS limits."
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap-ebp_EmployeeBenefitPlanParticipantContributionAutomaticDeferralRate": {
     "xbrltype": "percentItemType",
     "nsuri": "http://fasb.org/us-gaap-ebp/2025",
     "localname": "EmployeeBenefitPlanParticipantContributionAutomaticDeferralRate",
     "presentation": [
      "http://www.ubsi-inc.com/role/DescriptionOfThePlanAdditionalInformationDetails",
      "http://www.ubsi-inc.com/role/TransactionsWithPartiesInInterestAdditionalInformationDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "EBP, Participant Contribution, Automatic, Deferral Rate",
        "documentation": "Percentage of eligible compensation contributed for participant automatically enrolled in employee stock purchase, saving, or similar plan (employee benefit plan (EBP))."
       }
      }
     },
     "auth_ref": [
      "r118"
     ]
    },
    "us-gaap-ebp_EmployeeBenefitPlanParticipantContributionPretaxMaximumAnnualCompensationToTotalCompensationPercentage": {
     "xbrltype": "percentItemType",
     "nsuri": "http://fasb.org/us-gaap-ebp/2025",
     "localname": "EmployeeBenefitPlanParticipantContributionPretaxMaximumAnnualCompensationToTotalCompensationPercentage",
     "presentation": [
      "http://www.ubsi-inc.com/role/DescriptionOfThePlanAdditionalInformationDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "EBP, Participant Contribution, Pretax, Maximum Annual Compensation to Total Compensation, Percentage",
        "documentation": "Percentage of maximum pretax annual compensation that participant in employee stock purchase, saving, or similar plan (employee benefit plan (EBP)), is permitted to contribute to total pretax annual compensation."
       }
      }
     },
     "auth_ref": [
      "r118"
     ]
    },
    "us-gaap-ebp_EmployeeBenefitPlanParticipantDirectedStatusAxis": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap-ebp/2025",
     "localname": "EmployeeBenefitPlanParticipantDirectedStatusAxis",
     "presentation": [
      "http://www.ubsi-inc.com/role/ScheduleHLine4IScheduleOfAssetsHeldAtEndOfYearModifiedCashBasisDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "EBP, Participant-Directed and Nonparticipant-Directed Status [Axis]",
        "documentation": "Information by participant-directed and nonparticipant-directed status of investment held by employee stock purchase, saving, or similar plan (employee benefit plan (EBP))."
       }
      }
     },
     "auth_ref": [
      "r84",
      "r89"
     ]
    },
    "us-gaap-ebp_EmployeeBenefitPlanParticipantDirectedStatusDomain": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap-ebp/2025",
     "localname": "EmployeeBenefitPlanParticipantDirectedStatusDomain",
     "presentation": [
      "http://www.ubsi-inc.com/role/ScheduleHLine4IScheduleOfAssetsHeldAtEndOfYearModifiedCashBasisDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "EBP, Participant-Directed and Nonparticipant-Directed Status [Domain]",
        "documentation": "Participant-directed and nonparticipant-directed status of investment held by employee stock purchase, saving, or similar plan (employee benefit plan (EBP))."
       }
      }
     },
     "auth_ref": [
      "r84",
      "r89"
     ]
    },
    "us-gaap-ebp_EmployeeBenefitPlanParticipantLoanInterestRate": {
     "xbrltype": "percentItemType",
     "nsuri": "http://fasb.org/us-gaap-ebp/2025",
     "localname": "EmployeeBenefitPlanParticipantLoanInterestRate",
     "presentation": [
      "http://www.ubsi-inc.com/role/ScheduleHLine4IScheduleOfAssetsHeldAtEndOfYearModifiedCashBasisDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "EBP, Asset Held for Investment, Participant Loan, Interest Rate",
        "documentation": "Interest rate on participant loan in schedule of asset held for investment of employee stock purchase, saving, or similar plan (employee benefit plan (EBP))."
       }
      }
     },
     "auth_ref": [
      "r78",
      "r134"
     ]
    },
    "ubsi_EmployeeBenefitPlanParticipantLoanMaintenanceFee": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.ubsi-inc.com/20251231",
     "localname": "EmployeeBenefitPlanParticipantLoanMaintenanceFee",
     "crdr": "debit",
     "presentation": [
      "http://www.ubsi-inc.com/role/DescriptionOfThePlanAdditionalInformationDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Employee Benefit Plan Participant Loan Maintenance Fee",
        "documentation": "Ongoing administrative charge to cover the paperwork and tracking of a participant's borrowed funds from a retirement plan."
       }
      }
     },
     "auth_ref": []
    },
    "ubsi_EmployeeBenefitPlanParticipantLoanOriginationFee": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.ubsi-inc.com/20251231",
     "localname": "EmployeeBenefitPlanParticipantLoanOriginationFee",
     "crdr": "debit",
     "presentation": [
      "http://www.ubsi-inc.com/role/DescriptionOfThePlanAdditionalInformationDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Employee Benefit Plan Participant Loan Origination Fee",
        "documentation": "One-time administrative charge to cover the paperwork and processing of a participant loan from a retirement plan."
       }
      }
     },
     "auth_ref": []
    },
    "ubsi_EmployeeBenefitPlanParticipantRecordKeepingFee": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.ubsi-inc.com/20251231",
     "localname": "EmployeeBenefitPlanParticipantRecordKeepingFee",
     "crdr": "debit",
     "presentation": [
      "http://www.ubsi-inc.com/role/DescriptionOfThePlanAdditionalInformationDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Employee Benefit Plan Participant Record Keeping Fee",
        "documentation": "The fee charged to each retirement plan participant to cover the administrative costs of maintaining account balances, processing transactions, and issuing statements."
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap-ebp_EmployeeBenefitPlanPlanNumber": {
     "xbrltype": "threeDigitItemType",
     "nsuri": "http://fasb.org/us-gaap-ebp/2025",
     "localname": "EmployeeBenefitPlanPlanNumber",
     "presentation": [
      "http://www.ubsi-inc.com/role/ScheduleHLine4IScheduleOfAssetsHeldAtEndOfYearModifiedCashBasisDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "EBP, Plan Number",
        "documentation": "Plan number of employee stock purchase, saving, or similar plan (employee benefit plan (EBP)), in three-digit numeric format."
       }
      }
     },
     "auth_ref": [
      "r126",
      "r127",
      "r129",
      "r135",
      "r140",
      "r141",
      "r142",
      "r150",
      "r169"
     ]
    },
    "ubsi_EmployeeBenefitPlanReconciliationOfTheChangesInNetAssetsAsPerForm5500TextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://www.ubsi-inc.com/20251231",
     "localname": "EmployeeBenefitPlanReconciliationOfTheChangesInNetAssetsAsPerForm5500TextBlock",
     "presentation": [
      "http://www.ubsi-inc.com/role/ReconciliationOfFinancialStatementsToForm5500Tables"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Employee Benefit Plan Reconciliation Of The Changes In Net Assets As Per Form 5500 [Text Block]",
        "terseLabel": "Summary of reconciliation of the decrease in net assets",
        "documentation": "Employee benefit plan reconciliation of the changes in net assets as per form 5500."
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap-ebp_EmployeeBenefitPlanReconciliationToForm5500Abstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap-ebp/2025",
     "localname": "EmployeeBenefitPlanReconciliationToForm5500Abstract",
     "lang": {
      "en-us": {
       "role": {
        "label": "EBP, Reconciliation of Financial Statement to Form 5500 [Abstract]"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap-ebp_EmployeeBenefitPlanReconciliationToForm5500ChangeInNetAssetAvailableForBenefitIncreaseDecreaseForDeemedDistribution": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap-ebp/2025",
     "localname": "EmployeeBenefitPlanReconciliationToForm5500ChangeInNetAssetAvailableForBenefitIncreaseDecreaseForDeemedDistribution",
     "crdr": "debit",
     "presentation": [
      "http://www.ubsi-inc.com/role/ReconciliationOfFinancialStatementsToForm5500SummaryOfReconciliationOfTheDecreaseInNetAssetsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "EBP, Reconciliation to Form 5500, Change in Net Asset Available for Benefit, Increase (Decrease) from Deemed Distribution",
        "terseLabel": "Net change in deemed distributions for defaulted loans",
        "documentation": "Amount of increase (decrease) in net asset available for benefit from deemed distribution to participant in employee stock purchase, saving, or similar plan (employee benefit plan (EBP)) to reconcile change in net asset available for benefit per financial statement to Form 5500 caption. Form 5500 is form provided by Department of the Treasury, Internal Revenue Service (IRS); Department of Labor (DOL), Employee Benefit Security Administration (EBSA); and Pension Benefit Guaranty Corporation (PBGC)."
       }
      }
     },
     "auth_ref": [
      "r128",
      "r161"
     ]
    },
    "us-gaap-ebp_EmployeeBenefitPlanReconciliationToForm5500LineItems": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap-ebp/2025",
     "localname": "EmployeeBenefitPlanReconciliationToForm5500LineItems",
     "presentation": [
      "http://www.ubsi-inc.com/role/ReconciliationOfFinancialStatementsToForm5500",
      "http://www.ubsi-inc.com/role/ReconciliationOfFinancialStatementsToForm5500SummaryOfReconciliationOfNetAssetsDetails",
      "http://www.ubsi-inc.com/role/ReconciliationOfFinancialStatementsToForm5500SummaryOfReconciliationOfTheDecreaseInNetAssetsDetails",
      "http://www.ubsi-inc.com/role/ReconciliationOfFinancialStatementsToForm5500Tables"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "EBP, Reconciliation of Financial Statement to Form 5500 [Line Items]",
        "documentation": "Line items represent financial concepts included in a table. These concepts are used to disclose reportable information associated with domain members defined in one or many axes to the table."
       }
      }
     },
     "auth_ref": [
      "r161"
     ]
    },
    "us-gaap-ebp_EmployeeBenefitPlanReconciliationToForm5500Table": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap-ebp/2025",
     "localname": "EmployeeBenefitPlanReconciliationToForm5500Table",
     "presentation": [
      "http://www.ubsi-inc.com/role/ReconciliationOfFinancialStatementsToForm5500",
      "http://www.ubsi-inc.com/role/ReconciliationOfFinancialStatementsToForm5500SummaryOfReconciliationOfNetAssetsDetails",
      "http://www.ubsi-inc.com/role/ReconciliationOfFinancialStatementsToForm5500SummaryOfReconciliationOfTheDecreaseInNetAssetsDetails",
      "http://www.ubsi-inc.com/role/ReconciliationOfFinancialStatementsToForm5500Tables"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "EBP, Reconciliation of Financial Statement to Form 5500 [Table]",
        "documentation": "Disclosure of information about reconciliation of financial statement to Form 5500 for employee stock purchase, saving, or similar plan (employee benefit plan (EBP)). Form 5500 is form provided by Department of the Treasury, Internal Revenue Service (IRS); Department of Labor (DOL), Employee Benefit Security Administration (EBSA); and Pension Benefit Guaranty Corporation (PBGC)."
       }
      }
     },
     "auth_ref": [
      "r161"
     ]
    },
    "us-gaap-ebp_EmployeeBenefitPlanReconciliationToForm5500TableTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://fasb.org/us-gaap-ebp/2025",
     "localname": "EmployeeBenefitPlanReconciliationToForm5500TableTextBlock",
     "presentation": [
      "http://www.ubsi-inc.com/role/ReconciliationOfFinancialStatementsToForm5500Tables"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "EBP, Reconciliation of Financial Statement to Form 5500 [Table Text Block]",
        "terseLabel": "Summary of reconciliation of net assets",
        "documentation": "Tabular disclosure of reconciliation of financial statement to Form 5500 for employee stock purchase, saving, or similar plan (employee benefit plan (EBP)). Form 5500 is form provided by Department of the Treasury, Internal Revenue Service (IRS); Department of Labor (DOL), Employee Benefit Security Administration (EBSA); and Pension Benefit Guaranty Corporation (PBGC)."
       }
      }
     },
     "auth_ref": [
      "r118"
     ]
    },
    "us-gaap-ebp_EmployeeBenefitPlanReconciliationToForm5500TextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://fasb.org/us-gaap-ebp/2025",
     "localname": "EmployeeBenefitPlanReconciliationToForm5500TextBlock",
     "presentation": [
      "http://www.ubsi-inc.com/role/ReconciliationOfFinancialStatementsToForm5500"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "EBP, Reconciliation of Financial Statement to Form 5500 [Text Block]",
        "terseLabel": "Reconciliation of Financial Statements to Form 5500",
        "documentation": "The entire disclosure for reconciliation of financial statement to Form 5500 for employee stock purchase, saving, or similar plan (employee benefit plan (EBP)). Form 5500 is form provided by Department of the Treasury, Internal Revenue Service (IRS); Department of Labor (DOL), Employee Benefit Security Administration (EBSA); and Pension Benefit Guaranty Corporation (PBGC)."
       }
      }
     },
     "auth_ref": [
      "r51",
      "r118"
     ]
    },
    "us-gaap-ebp_EmployeeBenefitPlanRelatedPartyAndPartyInInterestAxis": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap-ebp/2025",
     "localname": "EmployeeBenefitPlanRelatedPartyAndPartyInInterestAxis",
     "presentation": [
      "http://www.ubsi-inc.com/role/TransactionsWithPartiesInInterestAdditionalInformationDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "EBP, Related Party and Party-in-Interest [Axis]",
        "documentation": "Information by related party and party-in-interest to employee stock purchase, saving, or similar plan (employee benefit plan (EBP))."
       }
      }
     },
     "auth_ref": [
      "r43",
      "r61",
      "r62",
      "r118"
     ]
    },
    "us-gaap-ebp_EmployeeBenefitPlanRelatedPartyAndPartyInInterestDomain": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap-ebp/2025",
     "localname": "EmployeeBenefitPlanRelatedPartyAndPartyInInterestDomain",
     "presentation": [
      "http://www.ubsi-inc.com/role/TransactionsWithPartiesInInterestAdditionalInformationDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "EBP, Related Party and Party-in-Interest [Domain]",
        "documentation": "Related party and party-in-interest to employee stock purchase, saving, or similar plan (employee benefit plan (EBP))."
       }
      }
     },
     "auth_ref": [
      "r43",
      "r61",
      "r62",
      "r118"
     ]
    },
    "us-gaap-ebp_EmployeeBenefitPlanRelatedPartyAndPartyInInterestTransactionsAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap-ebp/2025",
     "localname": "EmployeeBenefitPlanRelatedPartyAndPartyInInterestTransactionsAbstract",
     "lang": {
      "en-us": {
       "role": {
        "label": "EBP, Related Party and Party-in-Interest Transactions [Abstract]"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap-ebp_EmployeeBenefitPlanRelatedPartyAndPartyInInterestTransactionsLineItems": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap-ebp/2025",
     "localname": "EmployeeBenefitPlanRelatedPartyAndPartyInInterestTransactionsLineItems",
     "presentation": [
      "http://www.ubsi-inc.com/role/TransactionsWithPartiesInInterest",
      "http://www.ubsi-inc.com/role/TransactionsWithPartiesInInterestAdditionalInformationDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "EBP, Related Party and Party-in-Interest Transactions [Line Items]",
        "documentation": "Line items represent financial concepts included in a table. These concepts are used to disclose reportable information associated with domain members defined in one or many axes to the table."
       }
      }
     },
     "auth_ref": [
      "r43",
      "r162",
      "r170"
     ]
    },
    "us-gaap-ebp_EmployeeBenefitPlanRelatedPartyAndPartyInInterestTransactionsTable": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap-ebp/2025",
     "localname": "EmployeeBenefitPlanRelatedPartyAndPartyInInterestTransactionsTable",
     "presentation": [
      "http://www.ubsi-inc.com/role/TransactionsWithPartiesInInterest",
      "http://www.ubsi-inc.com/role/TransactionsWithPartiesInInterestAdditionalInformationDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "EBP, Related Party and Party-in-Interest Transactions [Table]",
        "documentation": "Disclosure of information about related party and party-in-interest transactions with employee stock purchase, saving, or similar plan (employee benefit plan (EBP))."
       }
      }
     },
     "auth_ref": [
      "r43",
      "r162",
      "r170"
     ]
    },
    "us-gaap-ebp_EmployeeBenefitPlanRelatedPartyAndPartyInInterestTransactionsTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://fasb.org/us-gaap-ebp/2025",
     "localname": "EmployeeBenefitPlanRelatedPartyAndPartyInInterestTransactionsTextBlock",
     "presentation": [
      "http://www.ubsi-inc.com/role/TransactionsWithPartiesInInterest"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "EBP, Related Party and Party-in-Interest Transactions [Text Block]",
        "terseLabel": "Transactions With Parties-in-Interest",
        "documentation": "The entire disclosure for related party and party-in-interest transactions with employee stock purchase, saving, or similar plan (employee benefit plan (EBP))."
       }
      }
     },
     "auth_ref": [
      "r40",
      "r41",
      "r42",
      "r43",
      "r118"
     ]
    },
    "us-gaap-ebp_EmployeeBenefitPlanRiskAndUncertaintyTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://fasb.org/us-gaap-ebp/2025",
     "localname": "EmployeeBenefitPlanRiskAndUncertaintyTextBlock",
     "presentation": [
      "http://www.ubsi-inc.com/role/RisksAndUncertainties"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "EBP, Risk and Uncertainty [Text Block]",
        "terseLabel": "Risks and Uncertainties",
        "documentation": "The entire disclosure for risk and uncertainty of employee stock purchase, saving, or similar plan (employee benefit plan (EBP)). Includes, but is not limited to, concentration risk."
       }
      }
     },
     "auth_ref": [
      "r5",
      "r6",
      "r7",
      "r38",
      "r39",
      "r118"
     ]
    },
    "us-gaap-ebp_EmployeeBenefitPlanScheduleOfAssetHeldForInvestmentAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap-ebp/2025",
     "localname": "EmployeeBenefitPlanScheduleOfAssetHeldForInvestmentAbstract",
     "lang": {
      "en-us": {
       "role": {
        "label": "EBP, Schedule of Asset Held for Investment [Abstract]"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap-ebp_EmployeeBenefitPlanScheduleOfAssetHeldForInvestmentLineItems": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap-ebp/2025",
     "localname": "EmployeeBenefitPlanScheduleOfAssetHeldForInvestmentLineItems",
     "presentation": [
      "http://www.ubsi-inc.com/role/ScheduleHLine4IScheduleOfAssetsHeldAtEndOfYearModifiedCashBasis",
      "http://www.ubsi-inc.com/role/ScheduleHLine4IScheduleOfAssetsHeldAtEndOfYearModifiedCashBasisDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "EBP, Schedule of Asset Held for Investment [Line Items]",
        "documentation": "Line items represent financial concepts included in a table. These concepts are used to disclose reportable information associated with domain members defined in one or many axes to the table."
       }
      }
     },
     "auth_ref": [
      "r78",
      "r131",
      "r132",
      "r133",
      "r134"
     ]
    },
    "us-gaap-ebp_EmployeeBenefitPlanScheduleOfAssetHeldForInvestmentTable": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap-ebp/2025",
     "localname": "EmployeeBenefitPlanScheduleOfAssetHeldForInvestmentTable",
     "presentation": [
      "http://www.ubsi-inc.com/role/ScheduleHLine4IScheduleOfAssetsHeldAtEndOfYearModifiedCashBasis",
      "http://www.ubsi-inc.com/role/ScheduleHLine4IScheduleOfAssetsHeldAtEndOfYearModifiedCashBasisDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "EBP, Schedule of Asset Held for Investment [Table]",
        "documentation": "Disclosure of information about schedule of asset held for investment of employee stock purchase, saving, or similar plan (employee benefit plan (EBP))."
       }
      }
     },
     "auth_ref": [
      "r78",
      "r131",
      "r132",
      "r133",
      "r134"
     ]
    },
    "us-gaap-ebp_EmployeeBenefitPlanScheduleOfAssetHeldForInvestmentTableTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://fasb.org/us-gaap-ebp/2025",
     "localname": "EmployeeBenefitPlanScheduleOfAssetHeldForInvestmentTableTextBlock",
     "presentation": [
      "http://www.ubsi-inc.com/role/ScheduleHLine4IScheduleOfAssetsHeldAtEndOfYearModifiedCashBasis"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "EBP, Schedule of Asset Held for Investment [Table Text Block]",
        "terseLabel": "Schedule H, Line 4i - Schedule of Assets (Held at End of Year) - Modified Cash Basis",
        "documentation": "Tabular disclosure of schedule of asset held for investment of employee stock purchase, saving, or similar plan (employee benefit plan (EBP))."
       }
      }
     },
     "auth_ref": [
      "r126",
      "r130"
     ]
    },
    "us-gaap-ebp_EmployeeBenefitPlanStatementOfChangeInNetAssetAvailableForBenefitAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap-ebp/2025",
     "localname": "EmployeeBenefitPlanStatementOfChangeInNetAssetAvailableForBenefitAbstract",
     "lang": {
      "en-us": {
       "role": {
        "label": "EBP, Statement of Change in Net Asset Available for Benefit [Abstract]"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap-ebp_EmployeeBenefitPlanStatementOfChangeInNetAssetAvailableForBenefitLineItems": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap-ebp/2025",
     "localname": "EmployeeBenefitPlanStatementOfChangeInNetAssetAvailableForBenefitLineItems",
     "presentation": [
      "http://www.ubsi-inc.com/role/StatementOfChangesInNetAssetsAvailableForBenefitsModifiedCashBasis"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "EBP, Statement of Change in Net Asset Available for Benefit [Line Items]",
        "documentation": "Line items represent financial concepts included in a table. These concepts are used to disclose reportable information associated with domain members defined in one or many axes to the table."
       }
      }
     },
     "auth_ref": [
      "r68",
      "r69",
      "r70",
      "r84"
     ]
    },
    "us-gaap-ebp_EmployeeBenefitPlanStatementOfChangeInNetAssetAvailableForBenefitTable": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap-ebp/2025",
     "localname": "EmployeeBenefitPlanStatementOfChangeInNetAssetAvailableForBenefitTable",
     "presentation": [
      "http://www.ubsi-inc.com/role/StatementOfChangesInNetAssetsAvailableForBenefitsModifiedCashBasis"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "EBP, Statement of Change in Net Asset Available for Benefit [Table]",
        "documentation": "Presentation of information about change in net asset available for benefit for employee stock purchase, saving, or similar plan (employee benefit plan (EBP))."
       }
      }
     },
     "auth_ref": [
      "r68",
      "r69",
      "r70",
      "r84"
     ]
    },
    "us-gaap-ebp_EmployeeBenefitPlanStatementOfNetAssetAvailableForBenefitAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap-ebp/2025",
     "localname": "EmployeeBenefitPlanStatementOfNetAssetAvailableForBenefitAbstract",
     "lang": {
      "en-us": {
       "role": {
        "label": "EBP, Statement of Net Asset Available for Benefit [Abstract]"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap-ebp_EmployeeBenefitPlanStatementOfNetAssetAvailableForBenefitLineItems": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap-ebp/2025",
     "localname": "EmployeeBenefitPlanStatementOfNetAssetAvailableForBenefitLineItems",
     "presentation": [
      "http://www.ubsi-inc.com/role/StatementsOfNetAssetsAvailableForBenefitsModifiedCashBasis"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "EBP, Statement of Net Asset Available for Benefit [Line Items]",
        "documentation": "Line items represent financial concepts included in a table. These concepts are used to disclose reportable information associated with domain members defined in one or many axes to the table."
       }
      }
     },
     "auth_ref": [
      "r55",
      "r56",
      "r57",
      "r58",
      "r59",
      "r60",
      "r61",
      "r62",
      "r63",
      "r64",
      "r82",
      "r84",
      "r96",
      "r97",
      "r98",
      "r99",
      "r100",
      "r101",
      "r102",
      "r103",
      "r104",
      "r105"
     ]
    },
    "us-gaap-ebp_EmployeeBenefitPlanStatementOfNetAssetAvailableForBenefitTable": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap-ebp/2025",
     "localname": "EmployeeBenefitPlanStatementOfNetAssetAvailableForBenefitTable",
     "presentation": [
      "http://www.ubsi-inc.com/role/StatementsOfNetAssetsAvailableForBenefitsModifiedCashBasis"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "EBP, Statement of Net Asset Available for Benefit [Table]",
        "documentation": "Presentation of information about net asset available for benefit for employee stock purchase, saving, or similar plan (employee benefit plan (EBP))."
       }
      }
     },
     "auth_ref": [
      "r55",
      "r56",
      "r57",
      "r58",
      "r59",
      "r60",
      "r61",
      "r62",
      "r63",
      "r64",
      "r82",
      "r84",
      "r96",
      "r97",
      "r98",
      "r99",
      "r100",
      "r101",
      "r102",
      "r103",
      "r104"
     ]
    },
    "us-gaap-ebp_EmployeeBenefitPlanSummaryOfAccountingPolicyTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://fasb.org/us-gaap-ebp/2025",
     "localname": "EmployeeBenefitPlanSummaryOfAccountingPolicyTextBlock",
     "presentation": [
      "http://www.ubsi-inc.com/role/SignificantAccountingPolicies"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "EBP, Summary of Accounting Policy [Text Block]",
        "terseLabel": "Significant Accounting Policies",
        "documentation": "The entire disclosure for summary of accounting policy used to prepare financial statement of employee stock purchase, saving, or similar plan (employee benefit plan (EBP))."
       }
      }
     },
     "auth_ref": [
      "r2",
      "r3",
      "r118"
     ]
    },
    "us-gaap-ebp_EmployeeBenefitPlanTaxStatusAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap-ebp/2025",
     "localname": "EmployeeBenefitPlanTaxStatusAbstract",
     "lang": {
      "en-us": {
       "role": {
        "label": "EBP, Tax Status [Abstract]"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap-ebp_EmployeeBenefitPlanTaxStatusLineItems": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap-ebp/2025",
     "localname": "EmployeeBenefitPlanTaxStatusLineItems",
     "presentation": [
      "http://www.ubsi-inc.com/role/IncomeTaxStatus"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "EBP, Tax Status [Line Items]",
        "documentation": "Line items represent financial concepts included in a table. These concepts are used to disclose reportable information associated with domain members defined in one or many axes to the table."
       }
      }
     },
     "auth_ref": [
      "r160"
     ]
    },
    "us-gaap-ebp_EmployeeBenefitPlanTaxStatusTable": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap-ebp/2025",
     "localname": "EmployeeBenefitPlanTaxStatusTable",
     "presentation": [
      "http://www.ubsi-inc.com/role/IncomeTaxStatus"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "EBP, Tax Status [Table]",
        "documentation": "Disclosure of information about tax status of employee stock purchase, saving, or similar plan (employee benefit plan (EBP)). Includes, but is not limited to, information concerning whether tax ruling or determination letter was obtained and principal assumption on which plan relied in not making provision for federal income tax."
       }
      }
     },
     "auth_ref": [
      "r160"
     ]
    },
    "us-gaap-ebp_EmployeeBenefitPlanTaxStatusTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://fasb.org/us-gaap-ebp/2025",
     "localname": "EmployeeBenefitPlanTaxStatusTextBlock",
     "presentation": [
      "http://www.ubsi-inc.com/role/IncomeTaxStatus"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "EBP, Tax Status [Text Block]",
        "terseLabel": "Income Tax Status",
        "documentation": "The entire disclosure for tax status of employee stock purchase, saving, or similar plan (employee benefit plan (EBP)). Includes, but is not limited to, information concerning whether tax ruling or determination letter was obtained and principal assumption on which plan relied in not making provision for federal income tax."
       }
      }
     },
     "auth_ref": [
      "r50",
      "r54",
      "r118"
     ]
    },
    "dei_EntityCentralIndexKey": {
     "xbrltype": "centralIndexKeyItemType",
     "nsuri": "http://xbrl.sec.gov/dei/2025",
     "localname": "EntityCentralIndexKey",
     "presentation": [
      "http://www.ubsi-inc.com/role/Cover"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Entity Central Index Key",
        "documentation": "A unique 10-digit SEC-issued value to identify entities that have filed disclosures with the SEC. It is commonly abbreviated as CIK."
       }
      }
     },
     "auth_ref": [
      "r120"
     ]
    },
    "dei_EntityDomain": {
     "xbrltype": "domainItemType",
     "nsuri": "http://xbrl.sec.gov/dei/2025",
     "localname": "EntityDomain",
     "presentation": [
      "http://www.ubsi-inc.com/role/CommitmentsAndContingencies",
      "http://www.ubsi-inc.com/role/DescriptionOfThePlan",
      "http://www.ubsi-inc.com/role/DescriptionOfThePlanAdditionalInformationDetails",
      "http://www.ubsi-inc.com/role/FairValueMeasurements",
      "http://www.ubsi-inc.com/role/FairValueMeasurementsSummaryOfFinancialAssetsMeasuredAtFairValueDetails",
      "http://www.ubsi-inc.com/role/FairValueMeasurementsTables",
      "http://www.ubsi-inc.com/role/IncomeTaxStatus",
      "http://www.ubsi-inc.com/role/Investments",
      "http://www.ubsi-inc.com/role/ReconciliationOfFinancialStatementsToForm5500",
      "http://www.ubsi-inc.com/role/ReconciliationOfFinancialStatementsToForm5500SummaryOfReconciliationOfNetAssetsDetails",
      "http://www.ubsi-inc.com/role/ReconciliationOfFinancialStatementsToForm5500SummaryOfReconciliationOfTheDecreaseInNetAssetsDetails",
      "http://www.ubsi-inc.com/role/ReconciliationOfFinancialStatementsToForm5500Tables",
      "http://www.ubsi-inc.com/role/RisksAndUncertainties",
      "http://www.ubsi-inc.com/role/ScheduleHLine4IScheduleOfAssetsHeldAtEndOfYearModifiedCashBasis",
      "http://www.ubsi-inc.com/role/ScheduleHLine4IScheduleOfAssetsHeldAtEndOfYearModifiedCashBasisDetail",
      "http://www.ubsi-inc.com/role/SignificantAccountingPolicies",
      "http://www.ubsi-inc.com/role/SignificantAccountingPoliciesAdditionalInformationDetails",
      "http://www.ubsi-inc.com/role/SignificantAccountingPoliciesPolicies",
      "http://www.ubsi-inc.com/role/StatementOfChangesInNetAssetsAvailableForBenefitsModifiedCashBasis",
      "http://www.ubsi-inc.com/role/StatementsOfNetAssetsAvailableForBenefitsModifiedCashBasis",
      "http://www.ubsi-inc.com/role/TransactionsWithPartiesInInterest",
      "http://www.ubsi-inc.com/role/TransactionsWithPartiesInInterestAdditionalInformationDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Entity [Domain]",
        "documentation": "All the names of the entities being reported upon in a document. Any legal structure used to conduct activities or to hold assets. Some examples of such structures are corporations, partnerships, limited liability companies, grantor trusts, and other trusts. This item does not include business and geographical segments which are included in the geographical or business segments domains."
       }
      }
     },
     "auth_ref": []
    },
    "dei_EntityRegistrantName": {
     "xbrltype": "normalizedStringItemType",
     "nsuri": "http://xbrl.sec.gov/dei/2025",
     "localname": "EntityRegistrantName",
     "presentation": [
      "http://www.ubsi-inc.com/role/Cover"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Entity Registrant Name",
        "documentation": "The exact name of the entity filing the report as specified in its charter, which is required by forms filed with the SEC."
       }
      }
     },
     "auth_ref": [
      "r120"
     ]
    },
    "dei_EntityTaxIdentificationNumber": {
     "xbrltype": "employerIdItemType",
     "nsuri": "http://xbrl.sec.gov/dei/2025",
     "localname": "EntityTaxIdentificationNumber",
     "presentation": [
      "http://www.ubsi-inc.com/role/ScheduleHLine4IScheduleOfAssetsHeldAtEndOfYearModifiedCashBasisDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Entity Tax Identification Number",
        "documentation": "The Tax Identification Number (TIN), also known as an Employer Identification Number (EIN), is a unique 9-digit value assigned by the IRS."
       }
      }
     },
     "auth_ref": [
      "r120"
     ]
    },
    "us-gaap_FairValueByFairValueHierarchyLevelAxis": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "FairValueByFairValueHierarchyLevelAxis",
     "presentation": [
      "http://www.ubsi-inc.com/role/FairValueMeasurementsSummaryOfFinancialAssetsMeasuredAtFairValueDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Fair Value Hierarchy and NAV [Axis]"
       }
      }
     },
     "auth_ref": [
      "r21",
      "r22",
      "r23",
      "r24",
      "r27",
      "r28",
      "r30",
      "r83",
      "r118"
     ]
    },
    "us-gaap_FairValueInputsLevel1Member": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "FairValueInputsLevel1Member",
     "presentation": [
      "http://www.ubsi-inc.com/role/FairValueMeasurementsSummaryOfFinancialAssetsMeasuredAtFairValueDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Fair Value, Inputs, Level 1 [Member]",
        "terseLabel": "Quoted Prices in Active Markets for Identical Assets (Level 1)"
       }
      }
     },
     "auth_ref": [
      "r21",
      "r27",
      "r106",
      "r118"
     ]
    },
    "us-gaap_FairValueInputsLevel2Member": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "FairValueInputsLevel2Member",
     "presentation": [
      "http://www.ubsi-inc.com/role/FairValueMeasurementsSummaryOfFinancialAssetsMeasuredAtFairValueDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Fair Value, Inputs, Level 2 [Member]",
        "terseLabel": "Significant Other Observable Inputs (Level 2)"
       }
      }
     },
     "auth_ref": [
      "r21",
      "r22",
      "r27",
      "r106",
      "r118"
     ]
    },
    "us-gaap_FairValueInputsLevel3Member": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "FairValueInputsLevel3Member",
     "presentation": [
      "http://www.ubsi-inc.com/role/FairValueMeasurementsSummaryOfFinancialAssetsMeasuredAtFairValueDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Fair Value, Inputs, Level 3 [Member]",
        "terseLabel": "Significant Unobservable Inputs (Level 3)"
       }
      }
     },
     "auth_ref": [
      "r21",
      "r22",
      "r23",
      "r24",
      "r27",
      "r28",
      "r106",
      "r118"
     ]
    },
    "us-gaap_FairValueMeasurementsFairValueHierarchyDomain": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "FairValueMeasurementsFairValueHierarchyDomain",
     "presentation": [
      "http://www.ubsi-inc.com/role/FairValueMeasurementsSummaryOfFinancialAssetsMeasuredAtFairValueDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Fair Value Hierarchy and NAV [Domain]"
       }
      }
     },
     "auth_ref": [
      "r21",
      "r22",
      "r23",
      "r24",
      "r27",
      "r28",
      "r30",
      "r83",
      "r118"
     ]
    },
    "ubsi_InvestmentAtNavMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.ubsi-inc.com/20251231",
     "localname": "InvestmentAtNavMember",
     "presentation": [
      "http://www.ubsi-inc.com/role/FairValueMeasurementsSummaryOfFinancialAssetsMeasuredAtFairValueDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Investment At Nav [Member]",
        "documentation": "Investment at nav."
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_InvestmentIdentifierAxis": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "InvestmentIdentifierAxis",
     "presentation": [
      "http://www.ubsi-inc.com/role/ScheduleHLine4IScheduleOfAssetsHeldAtEndOfYearModifiedCashBasisDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Investment, Identifier [Axis]"
       }
      }
     },
     "auth_ref": [
      "r78",
      "r131",
      "r132",
      "r133",
      "r134",
      "r136",
      "r137",
      "r138",
      "r139",
      "r140",
      "r141",
      "r143",
      "r144",
      "r145",
      "r146",
      "r147",
      "r148",
      "r149",
      "r151",
      "r152",
      "r153",
      "r154",
      "r155"
     ]
    },
    "us-gaap_InvestmentIssuerNameAxis": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "InvestmentIssuerNameAxis",
     "presentation": [
      "http://www.ubsi-inc.com/role/ScheduleHLine4IScheduleOfAssetsHeldAtEndOfYearModifiedCashBasisDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Investment, Issuer Name [Axis]"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_InvestmentIssuerNameDomain": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "InvestmentIssuerNameDomain",
     "presentation": [
      "http://www.ubsi-inc.com/role/ScheduleHLine4IScheduleOfAssetsHeldAtEndOfYearModifiedCashBasisDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Investment, Issuer Name [Domain]"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_InvestmentTypeAxis": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "InvestmentTypeAxis",
     "presentation": [
      "http://www.ubsi-inc.com/role/FairValueMeasurementsSummaryOfFinancialAssetsMeasuredAtFairValueDetails",
      "http://www.ubsi-inc.com/role/ScheduleHLine4IScheduleOfAssetsHeldAtEndOfYearModifiedCashBasisDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Investment Type [Axis]"
       }
      }
     },
     "auth_ref": [
      "r8",
      "r9",
      "r10",
      "r11",
      "r12",
      "r13",
      "r14",
      "r15",
      "r16",
      "r17",
      "r18",
      "r20",
      "r21",
      "r22",
      "r23",
      "r24",
      "r27",
      "r28",
      "r30",
      "r31",
      "r32",
      "r33",
      "r34",
      "r35",
      "r36",
      "r52",
      "r55",
      "r56",
      "r57",
      "r58",
      "r59",
      "r60",
      "r66",
      "r68",
      "r69",
      "r70",
      "r71",
      "r78",
      "r82",
      "r88",
      "r92",
      "r93",
      "r95",
      "r96",
      "r97",
      "r98",
      "r99",
      "r100",
      "r101",
      "r102",
      "r103",
      "r104",
      "r105",
      "r108",
      "r109",
      "r110",
      "r111",
      "r112",
      "r113",
      "r114",
      "r115",
      "r116",
      "r118",
      "r119",
      "r134",
      "r156",
      "r169"
     ]
    },
    "us-gaap_InvestmentTypeCategorizationMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "InvestmentTypeCategorizationMember",
     "presentation": [
      "http://www.ubsi-inc.com/role/FairValueMeasurementsSummaryOfFinancialAssetsMeasuredAtFairValueDetails",
      "http://www.ubsi-inc.com/role/ScheduleHLine4IScheduleOfAssetsHeldAtEndOfYearModifiedCashBasisDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Investments [Domain]"
       }
      }
     },
     "auth_ref": [
      "r8",
      "r9",
      "r10",
      "r11",
      "r12",
      "r13",
      "r14",
      "r15",
      "r16",
      "r17",
      "r18",
      "r20",
      "r21",
      "r22",
      "r23",
      "r24",
      "r27",
      "r28",
      "r30",
      "r31",
      "r32",
      "r33",
      "r34",
      "r35",
      "r36",
      "r52",
      "r55",
      "r56",
      "r57",
      "r58",
      "r59",
      "r60",
      "r66",
      "r68",
      "r69",
      "r70",
      "r71",
      "r78",
      "r82",
      "r88",
      "r92",
      "r93",
      "r95",
      "r96",
      "r97",
      "r98",
      "r99",
      "r100",
      "r101",
      "r102",
      "r103",
      "r104",
      "r105",
      "r108",
      "r109",
      "r110",
      "r111",
      "r112",
      "r113",
      "r114",
      "r115",
      "r116",
      "r118",
      "r119",
      "r134",
      "r156",
      "r169"
     ]
    },
    "dei_LegalEntityAxis": {
     "xbrltype": "stringItemType",
     "nsuri": "http://xbrl.sec.gov/dei/2025",
     "localname": "LegalEntityAxis",
     "presentation": [
      "http://www.ubsi-inc.com/role/CommitmentsAndContingencies",
      "http://www.ubsi-inc.com/role/DescriptionOfThePlan",
      "http://www.ubsi-inc.com/role/DescriptionOfThePlanAdditionalInformationDetails",
      "http://www.ubsi-inc.com/role/FairValueMeasurements",
      "http://www.ubsi-inc.com/role/FairValueMeasurementsSummaryOfFinancialAssetsMeasuredAtFairValueDetails",
      "http://www.ubsi-inc.com/role/FairValueMeasurementsTables",
      "http://www.ubsi-inc.com/role/IncomeTaxStatus",
      "http://www.ubsi-inc.com/role/Investments",
      "http://www.ubsi-inc.com/role/ReconciliationOfFinancialStatementsToForm5500",
      "http://www.ubsi-inc.com/role/ReconciliationOfFinancialStatementsToForm5500SummaryOfReconciliationOfNetAssetsDetails",
      "http://www.ubsi-inc.com/role/ReconciliationOfFinancialStatementsToForm5500SummaryOfReconciliationOfTheDecreaseInNetAssetsDetails",
      "http://www.ubsi-inc.com/role/ReconciliationOfFinancialStatementsToForm5500Tables",
      "http://www.ubsi-inc.com/role/RisksAndUncertainties",
      "http://www.ubsi-inc.com/role/ScheduleHLine4IScheduleOfAssetsHeldAtEndOfYearModifiedCashBasis",
      "http://www.ubsi-inc.com/role/ScheduleHLine4IScheduleOfAssetsHeldAtEndOfYearModifiedCashBasisDetail",
      "http://www.ubsi-inc.com/role/SignificantAccountingPolicies",
      "http://www.ubsi-inc.com/role/SignificantAccountingPoliciesAdditionalInformationDetails",
      "http://www.ubsi-inc.com/role/SignificantAccountingPoliciesPolicies",
      "http://www.ubsi-inc.com/role/StatementOfChangesInNetAssetsAvailableForBenefitsModifiedCashBasis",
      "http://www.ubsi-inc.com/role/StatementsOfNetAssetsAvailableForBenefitsModifiedCashBasis",
      "http://www.ubsi-inc.com/role/TransactionsWithPartiesInInterest",
      "http://www.ubsi-inc.com/role/TransactionsWithPartiesInInterestAdditionalInformationDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Legal Entity [Axis]",
        "documentation": "The set of legal entities associated with a report."
       }
      }
     },
     "auth_ref": []
    },
    "srt_MaximumMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/srt/2025",
     "localname": "MaximumMember",
     "presentation": [
      "http://www.ubsi-inc.com/role/DescriptionOfThePlanAdditionalInformationDetails",
      "http://www.ubsi-inc.com/role/ScheduleHLine4IScheduleOfAssetsHeldAtEndOfYearModifiedCashBasisDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Maximum [Member]"
       }
      }
     },
     "auth_ref": [
      "r24",
      "r118",
      "r126",
      "r134"
     ]
    },
    "srt_MinimumMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/srt/2025",
     "localname": "MinimumMember",
     "presentation": [
      "http://www.ubsi-inc.com/role/DescriptionOfThePlanAdditionalInformationDetails",
      "http://www.ubsi-inc.com/role/ScheduleHLine4IScheduleOfAssetsHeldAtEndOfYearModifiedCashBasisDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Minimum [Member]"
       }
      }
     },
     "auth_ref": [
      "r24",
      "r118",
      "r126",
      "r134"
     ]
    },
    "us-gaap_MutualFundMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "MutualFundMember",
     "presentation": [
      "http://www.ubsi-inc.com/role/FairValueMeasurementsSummaryOfFinancialAssetsMeasuredAtFairValueDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Mutual Fund [Member]"
       }
      }
     },
     "auth_ref": [
      "r96",
      "r107",
      "r108",
      "r117",
      "r118",
      "r119"
     ]
    },
    "ubsi_PercentIncrementForInvestmentElections": {
     "xbrltype": "percentItemType",
     "nsuri": "http://www.ubsi-inc.com/20251231",
     "localname": "PercentIncrementForInvestmentElections",
     "presentation": [
      "http://www.ubsi-inc.com/role/DescriptionOfThePlanAdditionalInformationDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Percent Increment For Investment Elections",
        "documentation": "Percentage increment that dictates how to divide retirement contributions among different funds."
       }
      }
     },
     "auth_ref": []
    },
    "srt_RangeAxis": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/srt/2025",
     "localname": "RangeAxis",
     "presentation": [
      "http://www.ubsi-inc.com/role/DescriptionOfThePlanAdditionalInformationDetails",
      "http://www.ubsi-inc.com/role/ScheduleHLine4IScheduleOfAssetsHeldAtEndOfYearModifiedCashBasisDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Statistical Measurement [Axis]"
       }
      }
     },
     "auth_ref": [
      "r24",
      "r118",
      "r126",
      "r134"
     ]
    },
    "srt_RangeMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/srt/2025",
     "localname": "RangeMember",
     "presentation": [
      "http://www.ubsi-inc.com/role/DescriptionOfThePlanAdditionalInformationDetails",
      "http://www.ubsi-inc.com/role/ScheduleHLine4IScheduleOfAssetsHeldAtEndOfYearModifiedCashBasisDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Statistical Measurement [Domain]"
       }
      }
     },
     "auth_ref": [
      "r24",
      "r118",
      "r126",
      "r134"
     ]
    }
   }
  }
 },
 "std_ref": {
  "r0": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "250",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1",
   "Subparagraph": "(b)(2)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147483443/250-10-50-1"
  },
  "r1": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "250",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1",
   "Subparagraph": "(b)(3)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147483443/250-10-50-1"
  },
  "r2": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "250",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "5",
   "Subparagraph": "(SAB Topic 11.M.Q2)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480530/250-10-S99-5"
  },
  "r3": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "250",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "6",
   "Subparagraph": "(SAB Topic 11.M)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480530/250-10-S99-6"
  },
  "r4": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "275",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482861/275-10-50-1"
  },
  "r5": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "275",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1",
   "Subparagraph": "(d)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482861/275-10-50-1"
  },
  "r6": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "275",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2A",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482861/275-10-50-2A"
  },
  "r7": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "275",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "6",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482861/275-10-50-6"
  },
  "r8": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "815",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "4A",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480434/815-10-50-4A"
  },
  "r9": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "815",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "4A",
   "Subparagraph": "(b)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480434/815-10-50-4A"
  },
  "r10": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "815",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "4B",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480434/815-10-50-4B"
  },
  "r11": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "815",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "4B",
   "Subparagraph": "(c)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480434/815-10-50-4B"
  },
  "r12": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "815",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "4K",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480434/815-10-50-4K"
  },
  "r13": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "815",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "4K",
   "Subparagraph": "(a)(1)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480434/815-10-50-4K"
  },
  "r14": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "815",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "4K",
   "Subparagraph": "(a)(2)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480434/815-10-50-4K"
  },
  "r15": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "815",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "4K",
   "Subparagraph": "(a)(3)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480434/815-10-50-4K"
  },
  "r16": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "815",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "4K",
   "Subparagraph": "(a)(4)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480434/815-10-50-4K"
  },
  "r17": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "815",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "4K",
   "Subparagraph": "(a)(5)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480434/815-10-50-4K"
  },
  "r18": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "815",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "4K",
   "Subparagraph": "(c)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480434/815-10-50-4K"
  },
  "r19": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "820",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482106/820-10-50-2"
  },
  "r20": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "820",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482106/820-10-50-2"
  },
  "r21": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "820",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2",
   "Subparagraph": "(b)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482106/820-10-50-2"
  },
  "r22": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "820",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2",
   "Subparagraph": "(bbb)(1)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482106/820-10-50-2"
  },
  "r23": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "820",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2",
   "Subparagraph": "(bbb)(2)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482106/820-10-50-2"
  },
  "r24": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "820",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2",
   "Subparagraph": "(bbb)(2)(i)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482106/820-10-50-2"
  },
  "r25": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "820",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2",
   "Subparagraph": "(g)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482106/820-10-50-2"
  },
  "r26": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "820",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "3",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482106/820-10-50-3"
  },
  "r27": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "820",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "3",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482106/820-10-50-3"
  },
  "r28": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "820",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "3",
   "Subparagraph": "(b)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482106/820-10-50-3"
  },
  "r29": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "820",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "6A",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482106/820-10-50-6A"
  },
  "r30": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "820",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "6A",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482106/820-10-50-6A"
  },
  "r31": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "820",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "6A",
   "Subparagraph": "(b)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482106/820-10-50-6A"
  },
  "r32": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "820",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "6A",
   "Subparagraph": "(c)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482106/820-10-50-6A"
  },
  "r33": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "820",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "6A",
   "Subparagraph": "(d)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482106/820-10-50-6A"
  },
  "r34": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "820",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "6A",
   "Subparagraph": "(e)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482106/820-10-50-6A"
  },
  "r35": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "820",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "6A",
   "Subparagraph": "(f)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482106/820-10-50-6A"
  },
  "r36": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "820",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "6A",
   "Subparagraph": "(h)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482106/820-10-50-6A"
  },
  "r37": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "820",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "8",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482106/820-10-50-8"
  },
  "r38": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "825",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "20",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482907/825-10-50-20"
  },
  "r39": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "825",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "21",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482907/825-10-50-21"
  },
  "r40": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "850",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147483326/850-10-50-1"
  },
  "r41": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "850",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1",
   "Subparagraph": "(b)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147483326/850-10-50-1"
  },
  "r42": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "850",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1",
   "Subparagraph": "(c)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147483326/850-10-50-1"
  },
  "r43": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "850",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1",
   "Subparagraph": "(d)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147483326/850-10-50-1"
  },
  "r44": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "962",
   "SubTopic": "205",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "10",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477063/962-205-45-10"
  },
  "r45": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "962",
   "SubTopic": "205",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "2",
   "Subparagraph": "(d)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477063/962-205-45-2"
  },
  "r46": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "962",
   "SubTopic": "205",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "7",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477063/962-205-45-7"
  },
  "r47": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "962",
   "SubTopic": "205",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "7",
   "Subparagraph": "(f)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477063/962-205-45-7"
  },
  "r48": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "962",
   "SubTopic": "205",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "7",
   "Subparagraph": "(h)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477063/962-205-45-7"
  },
  "r49": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "962",
   "SubTopic": "205",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147478416/962-205-50-1"
  },
  "r50": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "962",
   "SubTopic": "205",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1",
   "Subparagraph": "(g)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147478416/962-205-50-1"
  },
  "r51": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "962",
   "SubTopic": "205",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1",
   "Subparagraph": "(i)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147478416/962-205-50-1"
  },
  "r52": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "962",
   "SubTopic": "205",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.6A-02(a))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477804/962-205-S99-1"
  },
  "r53": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "962",
   "SubTopic": "205",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.6A-02(b))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477804/962-205-S99-1"
  },
  "r54": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "962",
   "SubTopic": "205",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.6A-02(c))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477804/962-205-S99-1"
  },
  "r55": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "962",
   "SubTopic": "205",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.6A-03(1))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477804/962-205-S99-1"
  },
  "r56": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "962",
   "SubTopic": "205",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.6A-03(2)(a))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477804/962-205-S99-1"
  },
  "r57": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "962",
   "SubTopic": "205",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.6A-03(2)(b)(1))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477804/962-205-S99-1"
  },
  "r58": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "962",
   "SubTopic": "205",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.6A-03(2)(b)(2))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477804/962-205-S99-1"
  },
  "r59": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "962",
   "SubTopic": "205",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.6A-03(2))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477804/962-205-S99-1"
  },
  "r60": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "962",
   "SubTopic": "205",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.6A-03(3))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477804/962-205-S99-1"
  },
  "r61": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "962",
   "SubTopic": "205",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.6A-03(6)(a))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477804/962-205-S99-1"
  },
  "r62": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "962",
   "SubTopic": "205",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.6A-03(6)(b))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477804/962-205-S99-1"
  },
  "r63": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "962",
   "SubTopic": "205",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.6A-03(7)(a))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477804/962-205-S99-1"
  },
  "r64": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "962",
   "SubTopic": "205",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.6A-03(7)(b))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477804/962-205-S99-1"
  },
  "r65": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "962",
   "SubTopic": "205",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.6A-03(9))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477804/962-205-S99-1"
  },
  "r66": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "962",
   "SubTopic": "205",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.6A-04(1)(a)(1))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477804/962-205-S99-1"
  },
  "r67": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "962",
   "SubTopic": "205",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.6A-04(1)(a))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477804/962-205-S99-1"
  },
  "r68": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "962",
   "SubTopic": "205",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.6A-04(2)(a)(1))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477804/962-205-S99-1"
  },
  "r69": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "962",
   "SubTopic": "205",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.6A-04(2)(a)(2))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477804/962-205-S99-1"
  },
  "r70": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "962",
   "SubTopic": "205",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.6A-04(2)(a)(3))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477804/962-205-S99-1"
  },
  "r71": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "962",
   "SubTopic": "205",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.6A-04(2)(b))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477804/962-205-S99-1"
  },
  "r72": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "962",
   "SubTopic": "205",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.6A-04(3)(b))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477804/962-205-S99-1"
  },
  "r73": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "962",
   "SubTopic": "205",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.6A-04(4)(a)(2))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477804/962-205-S99-1"
  },
  "r74": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "962",
   "SubTopic": "205",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.6A-04(4)(b))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477804/962-205-S99-1"
  },
  "r75": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "962",
   "SubTopic": "205",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.6A-04(5)(b))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477804/962-205-S99-1"
  },
  "r76": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "962",
   "SubTopic": "205",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.6A-04(6))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477804/962-205-S99-1"
  },
  "r77": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "962",
   "SubTopic": "205",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.6A-04(7))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477804/962-205-S99-1"
  },
  "r78": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "962",
   "SubTopic": "205",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.6A-05(a)(Schedule I))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477804/962-205-S99-1"
  },
  "r79": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "962",
   "SubTopic": "205",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.6A-05(a)(Schedule III))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477804/962-205-S99-1"
  },
  "r80": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "962",
   "SubTopic": "310",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "2",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147478642/962-310-45-2"
  },
  "r81": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "962",
   "SubTopic": "325",
   "Name": "Accounting Standards Codification",
   "Section": "35",
   "Paragraph": "1B",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147478844/962-325-35-1B"
  },
  "r82": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "962",
   "SubTopic": "325",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "5",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477509/962-325-45-5"
  },
  "r83": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "962",
   "SubTopic": "325",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "6",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477509/962-325-45-6"
  },
  "r84": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "962",
   "SubTopic": "325",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "8",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477509/962-325-45-8"
  },
  "r85": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "962",
   "SubTopic": "325",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477783/962-325-50-1"
  },
  "r86": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "962",
   "SubTopic": "325",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2A",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477783/962-325-50-2A"
  },
  "r87": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "962",
   "SubTopic": "325",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2B",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477783/962-325-50-2B"
  },
  "r88": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "962",
   "SubTopic": "325",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "3",
   "Subparagraph": "(f)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477783/962-325-50-3"
  },
  "r89": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "962",
   "SubTopic": "325",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "5",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477783/962-325-50-5"
  },
  "r90": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "962",
   "SubTopic": "325",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "7",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477783/962-325-50-7"
  },
  "r91": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "962",
   "SubTopic": "325",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "7",
   "Subparagraph": "(b)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477783/962-325-50-7"
  },
  "r92": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "962",
   "SubTopic": "325",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "8A",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477783/962-325-50-8A"
  },
  "r93": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "962",
   "SubTopic": "325",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "8B",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477783/962-325-50-8B"
  },
  "r94": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "962",
   "SubTopic": "40",
   "Name": "Accounting Standards Codification",
   "Section": "25",
   "Paragraph": "1",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479750/962-40-25-1"
  },
  "r95": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "815",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "4L",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480434/815-10-50-4L"
  },
  "r96": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "962",
   "SubTopic": "325",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "5",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477509/962-325-45-5"
  },
  "r97": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "962",
   "SubTopic": "325",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "5",
   "Subparagraph": "(b)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477509/962-325-45-5"
  },
  "r98": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "962",
   "SubTopic": "325",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "5",
   "Subparagraph": "(c)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477509/962-325-45-5"
  },
  "r99": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "962",
   "SubTopic": "325",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "5",
   "Subparagraph": "(d)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477509/962-325-45-5"
  },
  "r100": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "962",
   "SubTopic": "325",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "5",
   "Subparagraph": "(e)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477509/962-325-45-5"
  },
  "r101": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "962",
   "SubTopic": "325",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "5",
   "Subparagraph": "(f)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477509/962-325-45-5"
  },
  "r102": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "962",
   "SubTopic": "325",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "5",
   "Subparagraph": "(g)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477509/962-325-45-5"
  },
  "r103": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "962",
   "SubTopic": "325",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "5",
   "Subparagraph": "(h)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477509/962-325-45-5"
  },
  "r104": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "962",
   "SubTopic": "325",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "5",
   "Subparagraph": "(j)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477509/962-325-45-5"
  },
  "r105": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "962",
   "SubTopic": "325",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "5",
   "Subparagraph": "(k)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477509/962-325-45-5"
  },
  "r106": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "962",
   "SubTopic": "325",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "6",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477509/962-325-45-6"
  },
  "r107": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "962",
   "SubTopic": "325",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477783/962-325-50-1"
  },
  "r108": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "962",
   "SubTopic": "325",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "8A",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477783/962-325-50-8A"
  },
  "r109": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "962",
   "SubTopic": "325",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "8A",
   "Subparagraph": "(b)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477783/962-325-50-8A"
  },
  "r110": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "962",
   "SubTopic": "325",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "8A",
   "Subparagraph": "(c)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477783/962-325-50-8A"
  },
  "r111": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "962",
   "SubTopic": "325",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "8A",
   "Subparagraph": "(d)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477783/962-325-50-8A"
  },
  "r112": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "962",
   "SubTopic": "325",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "8A",
   "Subparagraph": "(e)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477783/962-325-50-8A"
  },
  "r113": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "962",
   "SubTopic": "325",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "8A",
   "Subparagraph": "(f)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477783/962-325-50-8A"
  },
  "r114": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "962",
   "SubTopic": "325",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "8A",
   "Subparagraph": "(g)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477783/962-325-50-8A"
  },
  "r115": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "962",
   "SubTopic": "325",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "8A",
   "Subparagraph": "(h)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477783/962-325-50-8A"
  },
  "r116": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "962",
   "SubTopic": "325",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "8A",
   "Subparagraph": "(j)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477783/962-325-50-8A"
  },
  "r117": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "962",
   "SubTopic": "325",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "8B",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477783/962-325-50-8B"
  },
  "r118": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "962",
   "SubTopic": "325",
   "Name": "Accounting Standards Codification",
   "Section": "55",
   "Paragraph": "17",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147478873/962-325-55-17"
  },
  "r119": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "962",
   "SubTopic": "325",
   "Name": "Accounting Standards Codification",
   "Section": "55",
   "Paragraph": "18",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147478873/962-325-55-18"
  },
  "r120": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Exchange Act",
   "Number": "240",
   "Section": "12",
   "Subsection": "b-2"
  },
  "r121": {
   "role": "http://www.xbrl.org/2003/role/recommendedDisclosureRef",
   "Topic": "825",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "23",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482907/825-10-50-23"
  },
  "r122": {
   "role": "http://www.xbrl.org/2003/role/recommendedDisclosureRef",
   "Topic": "962",
   "SubTopic": "205",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "7",
   "Subparagraph": "(d)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477063/962-205-45-7"
  },
  "r123": {
   "role": "http://www.xbrl.org/2003/role/recommendedDisclosureRef",
   "Topic": "962",
   "SubTopic": "205",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.6A-05(a)(Schedule III))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477804/962-205-S99-1"
  },
  "r124": {
   "role": "http://www.xbrl.org/2003/role/recommendedDisclosureRef",
   "Topic": "962",
   "SubTopic": "325",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2B",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477783/962-325-50-2B"
  },
  "r125": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1",
   "Subparagraph": "(a)",
   "SubTopic": "205",
   "Topic": "962",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147478416/962-205-50-1"
  },
  "r126": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.6A-05(a)(Schedule I))",
   "SubTopic": "205",
   "Topic": "962",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477804/962-205-S99-1"
  },
  "r127": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.6A-05(a)(Schedule III))",
   "SubTopic": "205",
   "Topic": "962",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477804/962-205-S99-1"
  },
  "r128": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Name": "Employee Retirement Income Security Act of 1974",
   "Number": "2520",
   "Section": "103",
   "Subsection": "1",
   "Paragraph": "b",
   "Subparagraph": "(3)",
   "Publisher": "DOL-EBSA"
  },
  "r129": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Name": "Employee Retirement Income Security Act of 1974",
   "Number": "2520",
   "Section": "103",
   "Subsection": "10",
   "Paragraph": "b",
   "Subparagraph": "(1)",
   "Publisher": "DOL-EBSA"
  },
  "r130": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Name": "Employee Retirement Income Security Act of 1974",
   "Number": "2520",
   "Section": "103",
   "Subsection": "10",
   "Paragraph": "b",
   "Subparagraph": "(1)(i)",
   "Publisher": "DOL-EBSA"
  },
  "r131": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Name": "Employee Retirement Income Security Act of 1974",
   "Number": "2520",
   "Section": "103",
   "Subsection": "10",
   "Paragraph": "b",
   "Subparagraph": "(1)(i)(A)",
   "Publisher": "DOL-EBSA"
  },
  "r132": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Name": "Employee Retirement Income Security Act of 1974",
   "Number": "2520",
   "Section": "103",
   "Subsection": "10",
   "Paragraph": "b",
   "Subparagraph": "(1)(i)(B)",
   "Publisher": "DOL-EBSA"
  },
  "r133": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Name": "Employee Retirement Income Security Act of 1974",
   "Number": "2520",
   "Section": "103",
   "Subsection": "10",
   "Paragraph": "b",
   "Subparagraph": "(1)(i)(C)",
   "Publisher": "DOL-EBSA"
  },
  "r134": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Name": "Employee Retirement Income Security Act of 1974",
   "Number": "2520",
   "Section": "103",
   "Subsection": "10",
   "Paragraph": "b",
   "Subparagraph": "(1)(i)(D)",
   "Publisher": "DOL-EBSA"
  },
  "r135": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Name": "Employee Retirement Income Security Act of 1974",
   "Number": "2520",
   "Section": "103",
   "Subsection": "10",
   "Paragraph": "b",
   "Subparagraph": "(2)",
   "Publisher": "DOL-EBSA"
  },
  "r136": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Name": "Employee Retirement Income Security Act of 1974",
   "Number": "2520",
   "Section": "103",
   "Subsection": "10",
   "Paragraph": "b",
   "Subparagraph": "(2)(i)(A)",
   "Publisher": "DOL-EBSA"
  },
  "r137": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Name": "Employee Retirement Income Security Act of 1974",
   "Number": "2520",
   "Section": "103",
   "Subsection": "10",
   "Paragraph": "b",
   "Subparagraph": "(2)(i)(B)",
   "Publisher": "DOL-EBSA"
  },
  "r138": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Name": "Employee Retirement Income Security Act of 1974",
   "Number": "2520",
   "Section": "103",
   "Subsection": "10",
   "Paragraph": "b",
   "Subparagraph": "(2)(i)(C)",
   "Publisher": "DOL-EBSA"
  },
  "r139": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Name": "Employee Retirement Income Security Act of 1974",
   "Number": "2520",
   "Section": "103",
   "Subsection": "10",
   "Paragraph": "b",
   "Subparagraph": "(2)(i)(D)",
   "Publisher": "DOL-EBSA"
  },
  "r140": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Name": "Employee Retirement Income Security Act of 1974",
   "Number": "2520",
   "Section": "103",
   "Subsection": "10",
   "Paragraph": "b",
   "Subparagraph": "(3)",
   "Publisher": "DOL-EBSA"
  },
  "r141": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Name": "Employee Retirement Income Security Act of 1974",
   "Number": "2520",
   "Section": "103",
   "Subsection": "10",
   "Paragraph": "b",
   "Subparagraph": "(4)",
   "Publisher": "DOL-EBSA"
  },
  "r142": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Name": "Employee Retirement Income Security Act of 1974",
   "Number": "2520",
   "Section": "103",
   "Subsection": "6",
   "Paragraph": "d",
   "Subparagraph": "(1)",
   "Publisher": "DOL-EBSA"
  },
  "r143": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Name": "Employee Retirement Income Security Act of 1974",
   "Number": "2520",
   "Section": "103",
   "Subsection": "6",
   "Paragraph": "d",
   "Subparagraph": "(1)(i)",
   "Publisher": "DOL-EBSA"
  },
  "r144": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Name": "Employee Retirement Income Security Act of 1974",
   "Number": "2520",
   "Section": "103",
   "Subsection": "6",
   "Paragraph": "d",
   "Subparagraph": "(1)(ii)",
   "Publisher": "DOL-EBSA"
  },
  "r145": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Name": "Employee Retirement Income Security Act of 1974",
   "Number": "2520",
   "Section": "103",
   "Subsection": "6",
   "Paragraph": "d",
   "Subparagraph": "(1)(iii)",
   "Publisher": "DOL-EBSA"
  },
  "r146": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Name": "Employee Retirement Income Security Act of 1974",
   "Number": "2520",
   "Section": "103",
   "Subsection": "6",
   "Paragraph": "d",
   "Subparagraph": "(1)(iv)",
   "Publisher": "DOL-EBSA"
  },
  "r147": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Name": "Employee Retirement Income Security Act of 1974",
   "Number": "2520",
   "Section": "103",
   "Subsection": "6",
   "Paragraph": "d",
   "Subparagraph": "(1)(v)",
   "Publisher": "DOL-EBSA"
  },
  "r148": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Name": "Employee Retirement Income Security Act of 1974",
   "Number": "2520",
   "Section": "103",
   "Subsection": "6",
   "Paragraph": "d",
   "Subparagraph": "(1)(vi)",
   "Publisher": "DOL-EBSA"
  },
  "r149": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Name": "Employee Retirement Income Security Act of 1974",
   "Number": "2520",
   "Section": "103",
   "Subsection": "6",
   "Paragraph": "d",
   "Subparagraph": "(1)(vii)",
   "Publisher": "DOL-EBSA"
  },
  "r150": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Name": "Employee Retirement Income Security Act of 1974",
   "Number": "2520",
   "Section": "103",
   "Subsection": "6",
   "Paragraph": "d",
   "Subparagraph": "(2)",
   "Publisher": "DOL-EBSA"
  },
  "r151": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Name": "Employee Retirement Income Security Act of 1974",
   "Number": "2520",
   "Section": "103",
   "Subsection": "6",
   "Paragraph": "d",
   "Subparagraph": "(2)(i)",
   "Publisher": "DOL-EBSA"
  },
  "r152": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Name": "Employee Retirement Income Security Act of 1974",
   "Number": "2520",
   "Section": "103",
   "Subsection": "6",
   "Paragraph": "d",
   "Subparagraph": "(2)(ii)",
   "Publisher": "DOL-EBSA"
  },
  "r153": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Name": "Employee Retirement Income Security Act of 1974",
   "Number": "2520",
   "Section": "103",
   "Subsection": "6",
   "Paragraph": "d",
   "Subparagraph": "(2)(iii)",
   "Publisher": "DOL-EBSA"
  },
  "r154": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Name": "Employee Retirement Income Security Act of 1974",
   "Number": "2520",
   "Section": "103",
   "Subsection": "6",
   "Paragraph": "d",
   "Subparagraph": "(2)(iv)",
   "Publisher": "DOL-EBSA"
  },
  "r155": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Name": "Employee Retirement Income Security Act of 1974",
   "Number": "2520",
   "Section": "103",
   "Subsection": "6",
   "Paragraph": "d",
   "Subparagraph": "(2)(v)",
   "Publisher": "DOL-EBSA"
  },
  "r156": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "275",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "18",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482861/275-10-50-18"
  },
  "r157": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "450",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147483076/450-20-50-1"
  },
  "r158": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "962",
   "SubTopic": "205",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "7",
   "Subparagraph": "(b)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477063/962-205-45-7"
  },
  "r159": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "962",
   "SubTopic": "205",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "7",
   "Subparagraph": "(c)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477063/962-205-45-7"
  },
  "r160": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "962",
   "SubTopic": "205",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1",
   "Subparagraph": "(g)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147478416/962-205-50-1"
  },
  "r161": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "962",
   "SubTopic": "205",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1",
   "Subparagraph": "(i)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147478416/962-205-50-1"
  },
  "r162": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "962",
   "SubTopic": "205",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.6A-02)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477804/962-205-S99-1"
  },
  "r163": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "962",
   "SubTopic": "205",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.6A-03(6)(a))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477804/962-205-S99-1"
  },
  "r164": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "962",
   "SubTopic": "205",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.6A-03(6)(b))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477804/962-205-S99-1"
  },
  "r165": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "962",
   "SubTopic": "205",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.6A-03(7)(a))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477804/962-205-S99-1"
  },
  "r166": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "962",
   "SubTopic": "205",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.6A-03(7)(b))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477804/962-205-S99-1"
  },
  "r167": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "962",
   "SubTopic": "205",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.6A-04(4)(a)(1))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477804/962-205-S99-1"
  },
  "r168": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "962",
   "SubTopic": "205",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.6A-04(4)(b))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477804/962-205-S99-1"
  },
  "r169": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "962",
   "SubTopic": "205",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.6A-05(a)(Schedule II))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477804/962-205-S99-1"
  },
  "r170": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "962",
   "SubTopic": "235",
   "Name": "Accounting Standards Codification",
   "Section": "S50",
   "Paragraph": "1",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479143/962-235-S50-1"
  },
  "r171": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "962",
   "SubTopic": "325",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "5",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477509/962-325-45-5"
  },
  "r172": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "962",
   "SubTopic": "325",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "6",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477509/962-325-45-6"
  },
  "r173": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "962",
   "SubTopic": "325",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "8",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477509/962-325-45-8"
  },
  "r174": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "962",
   "SubTopic": "325",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2B",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477783/962-325-50-2B"
  },
  "r175": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "962",
   "SubTopic": "325",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "3",
   "Subparagraph": "(f)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477783/962-325-50-3"
  },
  "r176": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "962",
   "SubTopic": "325",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "7",
   "Subparagraph": "(b)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477783/962-325-50-7"
  }
 }
}
