{
 "instance": {
  "uvsp-20220331.htm": {
   "axisCustom": 0,
   "axisStandard": 30,
   "contextCount": 613,
   "dts": {
    "calculationLink": {
     "local": [
      "uvsp-20220331_cal.xml"
     ]
    },
    "definitionLink": {
     "local": [
      "uvsp-20220331_def.xml"
     ]
    },
    "inline": {
     "local": [
      "uvsp-20220331.htm"
     ]
    },
    "labelLink": {
     "local": [
      "uvsp-20220331_lab.xml"
     ]
    },
    "presentationLink": {
     "local": [
      "uvsp-20220331_pre.xml"
     ]
    },
    "schema": {
     "local": [
      "uvsp-20220331.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/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://xbrl.fasb.org/srt/2021/elts/srt-2021-01-31.xsd",
      "https://xbrl.fasb.org/srt/2021/elts/srt-roles-2021-01-31.xsd",
      "https://xbrl.fasb.org/srt/2021/elts/srt-types-2021-01-31.xsd",
      "https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd",
      "https://xbrl.fasb.org/us-gaap/2021/elts/us-roles-2021-01-31.xsd",
      "https://xbrl.fasb.org/us-gaap/2021/elts/us-types-2021-01-31.xsd",
      "https://xbrl.sec.gov/country/2021/country-2021.xsd",
      "https://xbrl.sec.gov/dei/2021q4/dei-2021q4.xsd"
     ]
    }
   },
   "elementCount": 809,
   "entityCount": 1,
   "hidden": {
    "http://fasb.org/us-gaap/2021-01-31": 1,
    "http://xbrl.sec.gov/dei/2021q4": 5,
    "total": 6
   },
   "keyCustom": 104,
   "keyStandard": 417,
   "memberCustom": 28,
   "memberStandard": 71,
   "nsprefix": "uvsp",
   "nsuri": "http://www.univest.net/20220331",
   "report": {
    "R1": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "div",
       "body",
       "html"
      ],
      "baseRef": "uvsp-20220331.htm",
      "contextRef": "iebc0d326723d42279e59165561d02cc7_D20220101-20220331",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "dei:DocumentType",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "document",
     "isDefault": "true",
     "longName": "0001001 - Document - Cover",
     "role": "http://www.univest.net/role/Cover",
     "shortName": "Cover",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "div",
       "body",
       "html"
      ],
      "baseRef": "uvsp-20220331.htm",
      "contextRef": "iebc0d326723d42279e59165561d02cc7_D20220101-20220331",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "dei:DocumentType",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R10": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "div",
       "body",
       "html"
      ],
      "baseRef": "uvsp-20220331.htm",
      "contextRef": "iebc0d326723d42279e59165561d02cc7_D20220101-20220331",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:EarningsPerShareTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "2103102 - Disclosure - Earnings per Share",
     "role": "http://www.univest.net/role/EarningsperShare",
     "shortName": "Earnings per Share",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "div",
       "body",
       "html"
      ],
      "baseRef": "uvsp-20220331.htm",
      "contextRef": "iebc0d326723d42279e59165561d02cc7_D20220101-20220331",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:EarningsPerShareTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R11": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "div",
       "body",
       "html"
      ],
      "baseRef": "uvsp-20220331.htm",
      "contextRef": "iebc0d326723d42279e59165561d02cc7_D20220101-20220331",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:InvestmentsInDebtAndMarketableEquitySecuritiesAndCertainTradingAssetsDisclosureTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "2106103 - Disclosure - Investment Securities",
     "role": "http://www.univest.net/role/InvestmentSecurities",
     "shortName": "Investment Securities",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "div",
       "body",
       "html"
      ],
      "baseRef": "uvsp-20220331.htm",
      "contextRef": "iebc0d326723d42279e59165561d02cc7_D20220101-20220331",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:InvestmentsInDebtAndMarketableEquitySecuritiesAndCertainTradingAssetsDisclosureTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R12": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "div",
       "body",
       "html"
      ],
      "baseRef": "uvsp-20220331.htm",
      "contextRef": "iebc0d326723d42279e59165561d02cc7_D20220101-20220331",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "uvsp:LoansAndLeasesTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "2113104 - Disclosure - Loans and Leases",
     "role": "http://www.univest.net/role/LoansandLeases",
     "shortName": "Loans and Leases",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "div",
       "body",
       "html"
      ],
      "baseRef": "uvsp-20220331.htm",
      "contextRef": "iebc0d326723d42279e59165561d02cc7_D20220101-20220331",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "uvsp:LoansAndLeasesTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R13": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "div",
       "body",
       "html"
      ],
      "baseRef": "uvsp-20220331.htm",
      "contextRef": "iebc0d326723d42279e59165561d02cc7_D20220101-20220331",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:GoodwillAndIntangibleAssetsDisclosureTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "2128105 - Disclosure - Goodwill and Other Intangible Assets",
     "role": "http://www.univest.net/role/GoodwillandOtherIntangibleAssets",
     "shortName": "Goodwill and Other Intangible Assets",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "div",
       "body",
       "html"
      ],
      "baseRef": "uvsp-20220331.htm",
      "contextRef": "iebc0d326723d42279e59165561d02cc7_D20220101-20220331",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:GoodwillAndIntangibleAssetsDisclosureTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R14": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "div",
       "body",
       "html"
      ],
      "baseRef": "uvsp-20220331.htm",
      "contextRef": "iebc0d326723d42279e59165561d02cc7_D20220101-20220331",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:DepositLiabilitiesDisclosuresTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "2137106 - Disclosure - Deposits",
     "role": "http://www.univest.net/role/Deposits",
     "shortName": "Deposits",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "div",
       "body",
       "html"
      ],
      "baseRef": "uvsp-20220331.htm",
      "contextRef": "iebc0d326723d42279e59165561d02cc7_D20220101-20220331",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:DepositLiabilitiesDisclosuresTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R15": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "div",
       "body",
       "html"
      ],
      "baseRef": "uvsp-20220331.htm",
      "contextRef": "iebc0d326723d42279e59165561d02cc7_D20220101-20220331",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:DebtDisclosureTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "2142107 - Disclosure - Borrowings",
     "role": "http://www.univest.net/role/Borrowings",
     "shortName": "Borrowings",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "div",
       "body",
       "html"
      ],
      "baseRef": "uvsp-20220331.htm",
      "contextRef": "iebc0d326723d42279e59165561d02cc7_D20220101-20220331",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:DebtDisclosureTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R16": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "div",
       "body",
       "html"
      ],
      "baseRef": "uvsp-20220331.htm",
      "contextRef": "iebc0d326723d42279e59165561d02cc7_D20220101-20220331",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:PensionAndOtherPostretirementBenefitsDisclosureTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "2147108 - Disclosure - Retirement Plans and Other Postretirement Benefits",
     "role": "http://www.univest.net/role/RetirementPlansandOtherPostretirementBenefits",
     "shortName": "Retirement Plans and Other Postretirement Benefits",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "div",
       "body",
       "html"
      ],
      "baseRef": "uvsp-20220331.htm",
      "contextRef": "iebc0d326723d42279e59165561d02cc7_D20220101-20220331",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:PensionAndOtherPostretirementBenefitsDisclosureTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R17": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "div",
       "body",
       "html"
      ],
      "baseRef": "uvsp-20220331.htm",
      "contextRef": "iebc0d326723d42279e59165561d02cc7_D20220101-20220331",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:DisclosureOfCompensationRelatedCostsShareBasedPaymentsTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "2151109 - Disclosure - Stock-Based Incentive Plan",
     "role": "http://www.univest.net/role/StockBasedIncentivePlan",
     "shortName": "Stock-Based Incentive Plan",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "div",
       "body",
       "html"
      ],
      "baseRef": "uvsp-20220331.htm",
      "contextRef": "iebc0d326723d42279e59165561d02cc7_D20220101-20220331",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:DisclosureOfCompensationRelatedCostsShareBasedPaymentsTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R18": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "div",
       "body",
       "html"
      ],
      "baseRef": "uvsp-20220331.htm",
      "contextRef": "iebc0d326723d42279e59165561d02cc7_D20220101-20220331",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:ComprehensiveIncomeNoteTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "2158110 - Disclosure - Accumulated Other Comprehensive (Loss) Income",
     "role": "http://www.univest.net/role/AccumulatedOtherComprehensiveLossIncome",
     "shortName": "Accumulated Other Comprehensive (Loss) Income",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "div",
       "body",
       "html"
      ],
      "baseRef": "uvsp-20220331.htm",
      "contextRef": "iebc0d326723d42279e59165561d02cc7_D20220101-20220331",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:ComprehensiveIncomeNoteTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R19": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "div",
       "body",
       "html"
      ],
      "baseRef": "uvsp-20220331.htm",
      "contextRef": "iebc0d326723d42279e59165561d02cc7_D20220101-20220331",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:DerivativeInstrumentsAndHedgingActivitiesDisclosureTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "2161111 - Disclosure - Derivative Instruments and Hedging Activities",
     "role": "http://www.univest.net/role/DerivativeInstrumentsandHedgingActivities",
     "shortName": "Derivative Instruments and Hedging Activities",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "div",
       "body",
       "html"
      ],
      "baseRef": "uvsp-20220331.htm",
      "contextRef": "iebc0d326723d42279e59165561d02cc7_D20220101-20220331",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:DerivativeInstrumentsAndHedgingActivitiesDisclosureTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R2": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "td",
       "tr",
       "table",
       "div",
       "body",
       "html"
      ],
      "baseRef": "uvsp-20220331.htm",
      "contextRef": "ib9141e7470f14549971d964f7a20a7bb_I20220331",
      "decimals": "-3",
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:CashAndDueFromBanks",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     },
     "groupType": "statement",
     "isDefault": "false",
     "longName": "1001002 - Statement - Condensed Consolidated Balance Sheets",
     "role": "http://www.univest.net/role/CondensedConsolidatedBalanceSheets",
     "shortName": "Condensed Consolidated Balance Sheets",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "td",
       "tr",
       "table",
       "div",
       "body",
       "html"
      ],
      "baseRef": "uvsp-20220331.htm",
      "contextRef": "ib9141e7470f14549971d964f7a20a7bb_I20220331",
      "decimals": "-3",
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:CashAndDueFromBanks",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     }
    },
    "R20": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "div",
       "body",
       "html"
      ],
      "baseRef": "uvsp-20220331.htm",
      "contextRef": "iebc0d326723d42279e59165561d02cc7_D20220101-20220331",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:FairValueDisclosuresTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "2166112 - Disclosure - Fair Value Disclosures",
     "role": "http://www.univest.net/role/FairValueDisclosures",
     "shortName": "Fair Value Disclosures",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "div",
       "body",
       "html"
      ],
      "baseRef": "uvsp-20220331.htm",
      "contextRef": "iebc0d326723d42279e59165561d02cc7_D20220101-20220331",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:FairValueDisclosuresTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R21": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "div",
       "body",
       "html"
      ],
      "baseRef": "uvsp-20220331.htm",
      "contextRef": "iebc0d326723d42279e59165561d02cc7_D20220101-20220331",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:SegmentReportingDisclosureTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "2174113 - Disclosure - Segment Reporting",
     "role": "http://www.univest.net/role/SegmentReporting",
     "shortName": "Segment Reporting",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "div",
       "body",
       "html"
      ],
      "baseRef": "uvsp-20220331.htm",
      "contextRef": "iebc0d326723d42279e59165561d02cc7_D20220101-20220331",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:SegmentReportingDisclosureTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R22": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "div",
       "body",
       "html"
      ],
      "baseRef": "uvsp-20220331.htm",
      "contextRef": "iebc0d326723d42279e59165561d02cc7_D20220101-20220331",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:LegalMattersAndContingenciesTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "2177114 - Disclosure - Contingencies",
     "role": "http://www.univest.net/role/Contingencies",
     "shortName": "Contingencies",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "div",
       "body",
       "html"
      ],
      "baseRef": "uvsp-20220331.htm",
      "contextRef": "iebc0d326723d42279e59165561d02cc7_D20220101-20220331",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:LegalMattersAndContingenciesTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R23": {
     "firstAnchor": {
      "ancestors": [
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "uvsp-20220331.htm",
      "contextRef": "iebc0d326723d42279e59165561d02cc7_D20220101-20220331",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "uvsp:PrinciplesOfConsolidationAndBasisOfPresentationPolicyTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "2202201 - Disclosure - Summary of Significant Accounting Policies (Policies)",
     "role": "http://www.univest.net/role/SummaryofSignificantAccountingPoliciesPolicies",
     "shortName": "Summary of Significant Accounting Policies (Policies)",
     "subGroupType": "policies",
     "uniqueAnchor": {
      "ancestors": [
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "uvsp-20220331.htm",
      "contextRef": "iebc0d326723d42279e59165561d02cc7_D20220101-20220331",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "uvsp:PrinciplesOfConsolidationAndBasisOfPresentationPolicyTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R24": {
     "firstAnchor": {
      "ancestors": [
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "uvsp-20220331.htm",
      "contextRef": "iebc0d326723d42279e59165561d02cc7_D20220101-20220331",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:ScheduleOfEarningsPerShareBasicAndDilutedTableTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "2304301 - Disclosure - Earnings per Share (Tables)",
     "role": "http://www.univest.net/role/EarningsperShareTables",
     "shortName": "Earnings per Share (Tables)",
     "subGroupType": "tables",
     "uniqueAnchor": {
      "ancestors": [
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "uvsp-20220331.htm",
      "contextRef": "iebc0d326723d42279e59165561d02cc7_D20220101-20220331",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:ScheduleOfEarningsPerShareBasicAndDilutedTableTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R25": {
     "firstAnchor": {
      "ancestors": [
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "uvsp-20220331.htm",
      "contextRef": "iebc0d326723d42279e59165561d02cc7_D20220101-20220331",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:InvestmentsClassifiedByContractualMaturityDateTableTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "2307302 - Disclosure - Investment Securities (Tables)",
     "role": "http://www.univest.net/role/InvestmentSecuritiesTables",
     "shortName": "Investment Securities (Tables)",
     "subGroupType": "tables",
     "uniqueAnchor": {
      "ancestors": [
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "uvsp-20220331.htm",
      "contextRef": "iebc0d326723d42279e59165561d02cc7_D20220101-20220331",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:InvestmentsClassifiedByContractualMaturityDateTableTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R26": {
     "firstAnchor": {
      "ancestors": [
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "uvsp-20220331.htm",
      "contextRef": "iebc0d326723d42279e59165561d02cc7_D20220101-20220331",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "uvsp:SummaryOfMajorLoanAndLeaseCategoriesTableTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "2314303 - Disclosure - Loans and Leases (Tables)",
     "role": "http://www.univest.net/role/LoansandLeasesTables",
     "shortName": "Loans and Leases (Tables)",
     "subGroupType": "tables",
     "uniqueAnchor": {
      "ancestors": [
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "uvsp-20220331.htm",
      "contextRef": "iebc0d326723d42279e59165561d02cc7_D20220101-20220331",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "uvsp:SummaryOfMajorLoanAndLeaseCategoriesTableTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R27": {
     "firstAnchor": {
      "ancestors": [
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "uvsp-20220331.htm",
      "contextRef": "iebc0d326723d42279e59165561d02cc7_D20220101-20220331",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:ScheduleOfGoodwillTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "2329304 - Disclosure - Goodwill and Other Intangible Assets (Tables)",
     "role": "http://www.univest.net/role/GoodwillandOtherIntangibleAssetsTables",
     "shortName": "Goodwill and Other Intangible Assets (Tables)",
     "subGroupType": "tables",
     "uniqueAnchor": {
      "ancestors": [
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "uvsp-20220331.htm",
      "contextRef": "iebc0d326723d42279e59165561d02cc7_D20220101-20220331",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:ScheduleOfGoodwillTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R28": {
     "firstAnchor": {
      "ancestors": [
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "uvsp-20220331.htm",
      "contextRef": "iebc0d326723d42279e59165561d02cc7_D20220101-20220331",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "uvsp:ScheduleofComponentsofWeightedAverageInterestRateandBalanceofDepositsTableTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "2338305 - Disclosure - Deposits (Tables)",
     "role": "http://www.univest.net/role/DepositsTables",
     "shortName": "Deposits (Tables)",
     "subGroupType": "tables",
     "uniqueAnchor": {
      "ancestors": [
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "uvsp-20220331.htm",
      "contextRef": "iebc0d326723d42279e59165561d02cc7_D20220101-20220331",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "uvsp:ScheduleofComponentsofWeightedAverageInterestRateandBalanceofDepositsTableTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R29": {
     "firstAnchor": {
      "ancestors": [
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "uvsp-20220331.htm",
      "contextRef": "iebc0d326723d42279e59165561d02cc7_D20220101-20220331",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:ScheduleOfDebtTableTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "2343306 - Disclosure - Borrowings (Tables)",
     "role": "http://www.univest.net/role/BorrowingsTables",
     "shortName": "Borrowings (Tables)",
     "subGroupType": "tables",
     "uniqueAnchor": {
      "ancestors": [
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "uvsp-20220331.htm",
      "contextRef": "iebc0d326723d42279e59165561d02cc7_D20220101-20220331",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:ScheduleOfDebtTableTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R3": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "td",
       "tr",
       "table",
       "div",
       "us-gaap:InvestmentsClassifiedByContractualMaturityDateTableTextBlock",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "uvsp-20220331.htm",
      "contextRef": "ib9141e7470f14549971d964f7a20a7bb_I20220331",
      "decimals": "-3",
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:HeldToMaturitySecuritiesFairValue",
      "reportCount": 1,
      "unitRef": "usd",
      "xsiNil": "false"
     },
     "groupType": "statement",
     "isDefault": "false",
     "longName": "1002003 - Statement - Condensed Consolidated Balance Sheets (Parenthetical)",
     "role": "http://www.univest.net/role/CondensedConsolidatedBalanceSheetsParenthetical",
     "shortName": "Condensed Consolidated Balance Sheets (Parenthetical)",
     "subGroupType": "parenthetical",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "div",
       "td",
       "tr",
       "table",
       "div",
       "body",
       "html"
      ],
      "baseRef": "uvsp-20220331.htm",
      "contextRef": "ib9141e7470f14549971d964f7a20a7bb_I20220331",
      "decimals": "INF",
      "lang": "en-US",
      "name": "us-gaap:CommonStockParOrStatedValuePerShare",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usdPerShare",
      "xsiNil": "false"
     }
    },
    "R30": {
     "firstAnchor": {
      "ancestors": [
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "uvsp-20220331.htm",
      "contextRef": "iebc0d326723d42279e59165561d02cc7_D20220101-20220331",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:ScheduleOfNetBenefitCostsTableTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "2348307 - Disclosure - Retirement Plans and Other Postretirement Benefits (Tables)",
     "role": "http://www.univest.net/role/RetirementPlansandOtherPostretirementBenefitsTables",
     "shortName": "Retirement Plans and Other Postretirement Benefits (Tables)",
     "subGroupType": "tables",
     "uniqueAnchor": {
      "ancestors": [
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "uvsp-20220331.htm",
      "contextRef": "iebc0d326723d42279e59165561d02cc7_D20220101-20220331",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:ScheduleOfNetBenefitCostsTableTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R31": {
     "firstAnchor": {
      "ancestors": [
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "uvsp-20220331.htm",
      "contextRef": "iebc0d326723d42279e59165561d02cc7_D20220101-20220331",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:ScheduleOfShareBasedCompensationStockOptionsActivityTableTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "2352308 - Disclosure - Stock-Based Incentive Plan (Tables)",
     "role": "http://www.univest.net/role/StockBasedIncentivePlanTables",
     "shortName": "Stock-Based Incentive Plan (Tables)",
     "subGroupType": "tables",
     "uniqueAnchor": {
      "ancestors": [
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "uvsp-20220331.htm",
      "contextRef": "iebc0d326723d42279e59165561d02cc7_D20220101-20220331",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:ScheduleOfShareBasedCompensationStockOptionsActivityTableTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R32": {
     "firstAnchor": {
      "ancestors": [
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "uvsp-20220331.htm",
      "contextRef": "iebc0d326723d42279e59165561d02cc7_D20220101-20220331",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:ScheduleOfAccumulatedOtherComprehensiveIncomeLossTableTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "2359309 - Disclosure - Accumulated Other Comprehensive (Loss) Income (Tables)",
     "role": "http://www.univest.net/role/AccumulatedOtherComprehensiveLossIncomeTables",
     "shortName": "Accumulated Other Comprehensive (Loss) Income (Tables)",
     "subGroupType": "tables",
     "uniqueAnchor": {
      "ancestors": [
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "uvsp-20220331.htm",
      "contextRef": "iebc0d326723d42279e59165561d02cc7_D20220101-20220331",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:ScheduleOfAccumulatedOtherComprehensiveIncomeLossTableTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R33": {
     "firstAnchor": {
      "ancestors": [
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "uvsp-20220331.htm",
      "contextRef": "iebc0d326723d42279e59165561d02cc7_D20220101-20220331",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "uvsp:ScheduleOfDerivativesDesignatedAsHedgingInstrumentsStatementFinancialPositionLocationTableTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "2362310 - Disclosure - Derivative Instruments and Hedging Activities (Tables)",
     "role": "http://www.univest.net/role/DerivativeInstrumentsandHedgingActivitiesTables",
     "shortName": "Derivative Instruments and Hedging Activities (Tables)",
     "subGroupType": "tables",
     "uniqueAnchor": {
      "ancestors": [
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "uvsp-20220331.htm",
      "contextRef": "iebc0d326723d42279e59165561d02cc7_D20220101-20220331",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "uvsp:ScheduleOfDerivativesDesignatedAsHedgingInstrumentsStatementFinancialPositionLocationTableTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R34": {
     "firstAnchor": {
      "ancestors": [
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "uvsp-20220331.htm",
      "contextRef": "iebc0d326723d42279e59165561d02cc7_D20220101-20220331",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:ScheduleOfFairValueAssetsAndLiabilitiesMeasuredOnRecurringBasisTableTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "2367311 - Disclosure - Fair Value Disclosures (Tables)",
     "role": "http://www.univest.net/role/FairValueDisclosuresTables",
     "shortName": "Fair Value Disclosures (Tables)",
     "subGroupType": "tables",
     "uniqueAnchor": {
      "ancestors": [
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "uvsp-20220331.htm",
      "contextRef": "iebc0d326723d42279e59165561d02cc7_D20220101-20220331",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:ScheduleOfFairValueAssetsAndLiabilitiesMeasuredOnRecurringBasisTableTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R35": {
     "firstAnchor": {
      "ancestors": [
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "uvsp-20220331.htm",
      "contextRef": "iebc0d326723d42279e59165561d02cc7_D20220101-20220331",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:ScheduleOfSegmentReportingInformationBySegmentTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "2375312 - Disclosure - Segment Reporting (Tables)",
     "role": "http://www.univest.net/role/SegmentReportingTables",
     "shortName": "Segment Reporting (Tables)",
     "subGroupType": "tables",
     "uniqueAnchor": {
      "ancestors": [
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "uvsp-20220331.htm",
      "contextRef": "iebc0d326723d42279e59165561d02cc7_D20220101-20220331",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:ScheduleOfSegmentReportingInformationBySegmentTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R36": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "td",
       "tr",
       "table",
       "div",
       "body",
       "html"
      ],
      "baseRef": "uvsp-20220331.htm",
      "contextRef": "iebc0d326723d42279e59165561d02cc7_D20220101-20220331",
      "decimals": "-3",
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:NetIncomeLoss",
      "reportCount": 1,
      "unitRef": "usd",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "2405401 - Disclosure - Earnings per Share - Basic and Diluted Earnings Per Share (Details)",
     "role": "http://www.univest.net/role/EarningsperShareBasicandDilutedEarningsPerShareDetails",
     "shortName": "Earnings per Share - Basic and Diluted Earnings Per Share (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "td",
       "tr",
       "table",
       "div",
       "us-gaap:ScheduleOfEarningsPerShareBasicAndDilutedTableTextBlock",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "uvsp-20220331.htm",
      "contextRef": "iebc0d326723d42279e59165561d02cc7_D20220101-20220331",
      "decimals": "-3",
      "lang": "en-US",
      "name": "us-gaap:AmountOfDilutiveSecuritiesStockOptionsAndRestrictiveStockUnits",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     }
    },
    "R37": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "div",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "uvsp-20220331.htm",
      "contextRef": "ib9141e7470f14549971d964f7a20a7bb_I20220331",
      "decimals": "-5",
      "first": true,
      "lang": "en-US",
      "name": "uvsp:InvestmentSecuritiesPledgedAsCollateralCarryingValue",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "2408402 - Disclosure - Investment Securities - Narrative (Detail)",
     "role": "http://www.univest.net/role/InvestmentSecuritiesNarrativeDetail",
     "shortName": "Investment Securities - Narrative (Detail)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "div",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "uvsp-20220331.htm",
      "contextRef": "ib9141e7470f14549971d964f7a20a7bb_I20220331",
      "decimals": "-5",
      "first": true,
      "lang": "en-US",
      "name": "uvsp:InvestmentSecuritiesPledgedAsCollateralCarryingValue",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     }
    },
    "R38": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "td",
       "tr",
       "table",
       "div",
       "us-gaap:InvestmentsClassifiedByContractualMaturityDateTableTextBlock",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "uvsp-20220331.htm",
      "contextRef": "ib9141e7470f14549971d964f7a20a7bb_I20220331",
      "decimals": "-3",
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:HeldToMaturitySecurities",
      "reportCount": 1,
      "unitRef": "usd",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "2409403 - Disclosure - Investment Securities - Held-to-Maturity and Available-for-Sale, Scheduled Maturities (Details)",
     "role": "http://www.univest.net/role/InvestmentSecuritiesHeldtoMaturityandAvailableforSaleScheduledMaturitiesDetails",
     "shortName": "Investment Securities - Held-to-Maturity and Available-for-Sale, Scheduled Maturities (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "td",
       "tr",
       "table",
       "div",
       "us-gaap:InvestmentsClassifiedByContractualMaturityDateTableTextBlock",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "uvsp-20220331.htm",
      "contextRef": "ib9141e7470f14549971d964f7a20a7bb_I20220331",
      "decimals": "-3",
      "lang": "en-US",
      "name": "us-gaap:HeldToMaturitySecuritiesAccumulatedUnrecognizedHoldingGain",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     }
    },
    "R39": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "td",
       "tr",
       "table",
       "div",
       "us-gaap:ScheduleOfRealizedGainLossTableTextBlock",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "uvsp-20220331.htm",
      "contextRef": "iebc0d326723d42279e59165561d02cc7_D20220101-20220331",
      "decimals": "-3",
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:ProceedsFromSaleOfAvailableForSaleSecuritiesDebt",
      "reportCount": 1,
      "unitRef": "usd",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "2410404 - Disclosure - Investment Securities - Information Related to Sales of Securities Available-for-Sale (Detail)",
     "role": "http://www.univest.net/role/InvestmentSecuritiesInformationRelatedtoSalesofSecuritiesAvailableforSaleDetail",
     "shortName": "Investment Securities - Information Related to Sales of Securities Available-for-Sale (Detail)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "td",
       "tr",
       "table",
       "div",
       "us-gaap:ScheduleOfRealizedGainLossTableTextBlock",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "uvsp-20220331.htm",
      "contextRef": "iebc0d326723d42279e59165561d02cc7_D20220101-20220331",
      "decimals": "-3",
      "lang": "en-US",
      "name": "us-gaap:DebtSecuritiesAvailableForSaleRealizedGain",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     }
    },
    "R4": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "td",
       "tr",
       "table",
       "div",
       "body",
       "html"
      ],
      "baseRef": "uvsp-20220331.htm",
      "contextRef": "iebc0d326723d42279e59165561d02cc7_D20220101-20220331",
      "decimals": "-3",
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:InterestAndFeeIncomeLoansAndLeases",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     },
     "groupType": "statement",
     "isDefault": "false",
     "longName": "1003004 - Statement - Condensed Consolidated Statements of Income",
     "role": "http://www.univest.net/role/CondensedConsolidatedStatementsofIncome",
     "shortName": "Condensed Consolidated Statements of Income",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "td",
       "tr",
       "table",
       "div",
       "body",
       "html"
      ],
      "baseRef": "uvsp-20220331.htm",
      "contextRef": "iebc0d326723d42279e59165561d02cc7_D20220101-20220331",
      "decimals": "-3",
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:InterestAndFeeIncomeLoansAndLeases",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     }
    },
    "R40": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "td",
       "tr",
       "table",
       "div",
       "us-gaap:ScheduleOfUnrealizedLossOnInvestmentsTableTextBlock",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "uvsp-20220331.htm",
      "contextRef": "ib9141e7470f14549971d964f7a20a7bb_I20220331",
      "decimals": "-3",
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:HeldToMaturitySecuritiesContinuousUnrealizedLossPositionLessThanTwelveMonthsFairValue",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "2411405 - Disclosure - Investment Securities - Amount of Securities in Unrealized Loss Position (Detail)",
     "role": "http://www.univest.net/role/InvestmentSecuritiesAmountofSecuritiesinUnrealizedLossPositionDetail",
     "shortName": "Investment Securities - Amount of Securities in Unrealized Loss Position (Detail)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "td",
       "tr",
       "table",
       "div",
       "us-gaap:ScheduleOfUnrealizedLossOnInvestmentsTableTextBlock",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "uvsp-20220331.htm",
      "contextRef": "ib9141e7470f14549971d964f7a20a7bb_I20220331",
      "decimals": "-3",
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:HeldToMaturitySecuritiesContinuousUnrealizedLossPositionLessThanTwelveMonthsFairValue",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     }
    },
    "R41": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "td",
       "tr",
       "table",
       "ix:continuation",
       "div",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "uvsp-20220331.htm",
      "contextRef": "i80ca2187d356431a875bb145f509f1a0_I20211231",
      "decimals": "-3",
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:DebtSecuritiesAvailableForSaleAllowanceForCreditLoss",
      "reportCount": 1,
      "unitRef": "usd",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "2412406 - Disclosure - Investment Securities - Allowance for Credit Loss Rollforward (Details)",
     "role": "http://www.univest.net/role/InvestmentSecuritiesAllowanceforCreditLossRollforwardDetails",
     "shortName": "Investment Securities - Allowance for Credit Loss Rollforward (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "td",
       "tr",
       "table",
       "div",
       "us-gaap:DebtSecuritiesAvailableForSaleAllowanceForCreditLossTableTextBlock",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "uvsp-20220331.htm",
      "contextRef": "i37275de524a545e9a4f838041bd1d093_D20220101-20220331",
      "decimals": "-3",
      "lang": "en-US",
      "name": "us-gaap:DebtSecuritiesAvailableForSaleAllowanceForCreditLossNotPreviouslyRecorded",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     }
    },
    "R42": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "div",
       "us-gaap:FinancingReceivableCreditQualityIndicatorsTableTextBlock",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "uvsp-20220331.htm",
      "contextRef": "i1509c9ffb62b4f51aa596025de0ab6bf_I20220331",
      "decimals": "-6",
      "first": true,
      "lang": "en-US",
      "name": "uvsp:AmountofLoanRelationshipBalanceLoansReviewedAnnually",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "2415407 - Disclosure - Loans and Leases - Narrative (Details)",
     "role": "http://www.univest.net/role/LoansandLeasesNarrativeDetails",
     "shortName": "Loans and Leases - Narrative (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "div",
       "us-gaap:FinancingReceivableCreditQualityIndicatorsTableTextBlock",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "uvsp-20220331.htm",
      "contextRef": "i1509c9ffb62b4f51aa596025de0ab6bf_I20220331",
      "decimals": "-6",
      "first": true,
      "lang": "en-US",
      "name": "uvsp:AmountofLoanRelationshipBalanceLoansReviewedAnnually",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     }
    },
    "R43": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "td",
       "tr",
       "table",
       "div",
       "uvsp:FinancingReceivableByFinancialInstrumentPerformanceStatusTableTextBlock",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "uvsp-20220331.htm",
      "contextRef": "ib9141e7470f14549971d964f7a20a7bb_I20220331",
      "decimals": "-3",
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:LoansAndLeasesReceivableNetOfDeferredIncome",
      "reportCount": 1,
      "unitRef": "usd",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "2416408 - Disclosure - Loans and Leases - Summary of Major Loan and Lease Categories (Details)",
     "role": "http://www.univest.net/role/LoansandLeasesSummaryofMajorLoanandLeaseCategoriesDetails",
     "shortName": "Loans and Leases - Summary of Major Loan and Lease Categories (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "td",
       "tr",
       "table",
       "div",
       "uvsp:SummaryOfMajorLoanAndLeaseCategoriesTableTextBlock",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "uvsp-20220331.htm",
      "contextRef": "ib9141e7470f14549971d964f7a20a7bb_I20220331",
      "decimals": "-3",
      "lang": "en-US",
      "name": "us-gaap:LoansAndLeasesReceivableAllowance",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     }
    },
    "R44": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "td",
       "tr",
       "table",
       "div",
       "ix:continuation",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "uvsp-20220331.htm",
      "contextRef": "ib9141e7470f14549971d964f7a20a7bb_I20220331",
      "decimals": "-3",
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:NotesReceivableGross",
      "reportCount": 1,
      "unitRef": "usd",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "2417409 - Disclosure - Loans and Leases - Age Analysis of Past Due Loans and Leases (Details)",
     "role": "http://www.univest.net/role/LoansandLeasesAgeAnalysisofPastDueLoansandLeasesDetails",
     "shortName": "Loans and Leases - Age Analysis of Past Due Loans and Leases (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "td",
       "tr",
       "table",
       "div",
       "us-gaap:PastDueFinancingReceivablesTableTextBlock",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "uvsp-20220331.htm",
      "contextRef": "ib9141e7470f14549971d964f7a20a7bb_I20220331",
      "decimals": "-3",
      "lang": "en-US",
      "name": "uvsp:FinancingReceivableRecordedInvestmentAccruingStatus",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     }
    },
    "R45": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "td",
       "tr",
       "table",
       "div",
       "us-gaap:ScheduleOfFinancingReceivablesNonAccrualStatusTableTextBlock",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "uvsp-20220331.htm",
      "contextRef": "ib9141e7470f14549971d964f7a20a7bb_I20220331",
      "decimals": "-3",
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:FinancingReceivableRecordedInvestmentNonaccrualStatus",
      "reportCount": 1,
      "unitRef": "usd",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "2418410 - Disclosure - Loans and Leases - Nonperforming Loans and Leases (Details)",
     "role": "http://www.univest.net/role/LoansandLeasesNonperformingLoansandLeasesDetails",
     "shortName": "Loans and Leases - Nonperforming Loans and Leases (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "td",
       "tr",
       "table",
       "div",
       "uvsp:NonperformingLoansAndLeasesTableTextBlock",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "uvsp-20220331.htm",
      "contextRef": "ib9141e7470f14549971d964f7a20a7bb_I20220331",
      "decimals": "-3",
      "lang": "en-US",
      "name": "uvsp:AccruingTroubledDebtRestructuredLoansAndLeaseModifications",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     }
    },
    "R46": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "td",
       "tr",
       "table",
       "div",
       "us-gaap:ScheduleOfFinancingReceivablesNonAccrualStatusTableTextBlock",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "uvsp-20220331.htm",
      "contextRef": "ib9141e7470f14549971d964f7a20a7bb_I20220331",
      "decimals": "-3",
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:FinancingReceivableNonaccrualNoAllowance",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "2419411 - Disclosure - Loans and Leases - Nonaccrual (Details)",
     "role": "http://www.univest.net/role/LoansandLeasesNonaccrualDetails",
     "shortName": "Loans and Leases - Nonaccrual (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "td",
       "tr",
       "table",
       "div",
       "us-gaap:ScheduleOfFinancingReceivablesNonAccrualStatusTableTextBlock",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "uvsp-20220331.htm",
      "contextRef": "ib9141e7470f14549971d964f7a20a7bb_I20220331",
      "decimals": "-3",
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:FinancingReceivableNonaccrualNoAllowance",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     }
    },
    "R47": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "td",
       "tr",
       "table",
       "div",
       "us-gaap:ScheduleOfFinancingReceivablesNonAccrualStatusTableTextBlock",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "uvsp-20220331.htm",
      "contextRef": "ib9141e7470f14549971d964f7a20a7bb_I20220331",
      "decimals": "-3",
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:FinancingReceivableRecordedInvestmentNonaccrualStatus",
      "reportCount": 1,
      "unitRef": "usd",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "2420412 - Disclosure - Loans and Leases - Collateral Dependent Loans (Details)",
     "role": "http://www.univest.net/role/LoansandLeasesCollateralDependentLoansDetails",
     "shortName": "Loans and Leases - Collateral Dependent Loans (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "td",
       "tr",
       "table",
       "div",
       "us-gaap:ScheduleOfFinancingReceivablesNonAccrualStatusTableTextBlock",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "uvsp-20220331.htm",
      "contextRef": "i6955e8ca81a744cbb57437304cf4b597_I20220331",
      "decimals": "-3",
      "lang": "en-US",
      "name": "us-gaap:FinancingReceivableRecordedInvestmentNonaccrualStatus",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     }
    },
    "R48": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "td",
       "tr",
       "table",
       "div",
       "ix:continuation",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "uvsp-20220331.htm",
      "contextRef": "ib9141e7470f14549971d964f7a20a7bb_I20220331",
      "decimals": "-3",
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:FinancingReceivableOriginatedInCurrentFiscalYear",
      "reportCount": 1,
      "unitRef": "usd",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "2421413 - Disclosure - Loans and Leases - Credit Quality (Details)",
     "role": "http://www.univest.net/role/LoansandLeasesCreditQualityDetails",
     "shortName": "Loans and Leases - Credit Quality (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "td",
       "tr",
       "table",
       "div",
       "ix:continuation",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "uvsp-20220331.htm",
      "contextRef": "ib6c471c7dba64f46893de20707728eaf_I20220331",
      "decimals": "-3",
      "lang": "en-US",
      "name": "us-gaap:FinancingReceivableOriginatedInCurrentFiscalYear",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     }
    },
    "R49": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "td",
       "tr",
       "table",
       "div",
       "uvsp:FinancingReceivableByFinancialInstrumentPerformanceStatusTableTextBlock",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "uvsp-20220331.htm",
      "contextRef": "ib9141e7470f14549971d964f7a20a7bb_I20220331",
      "decimals": "-3",
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:LoansAndLeasesReceivableNetOfDeferredIncome",
      "reportCount": 1,
      "unitRef": "usd",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "2422414 - Disclosure - Loans and Leases - Credit Quality Indicators (Details)",
     "role": "http://www.univest.net/role/LoansandLeasesCreditQualityIndicatorsDetails",
     "shortName": "Loans and Leases - Credit Quality Indicators (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "div",
       "ix:continuation",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "uvsp-20220331.htm",
      "contextRef": "i087b939a42a44d4ca588e83dcb35b655_I20220331",
      "decimals": "INF",
      "lang": "en-US",
      "name": "us-gaap:LoansAndLeasesReceivableNetOfDeferredIncome",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     }
    },
    "R5": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "td",
       "tr",
       "table",
       "div",
       "body",
       "html"
      ],
      "baseRef": "uvsp-20220331.htm",
      "contextRef": "iebc0d326723d42279e59165561d02cc7_D20220101-20220331",
      "decimals": "-3",
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest",
      "reportCount": 1,
      "unitRef": "usd",
      "xsiNil": "false"
     },
     "groupType": "statement",
     "isDefault": "false",
     "longName": "1004005 - Statement - Condensed Consolidated Statements of Comprehensive Income",
     "role": "http://www.univest.net/role/CondensedConsolidatedStatementsofComprehensiveIncome",
     "shortName": "Condensed Consolidated Statements of Comprehensive Income",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "td",
       "tr",
       "table",
       "div",
       "body",
       "html"
      ],
      "baseRef": "uvsp-20220331.htm",
      "contextRef": "iebc0d326723d42279e59165561d02cc7_D20220101-20220331",
      "decimals": "-3",
      "lang": "en-US",
      "name": "us-gaap:OtherComprehensiveIncomeUnrealizedHoldingGainLossOnSecuritiesArisingDuringPeriodBeforeTax",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     }
    },
    "R50": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "td",
       "tr",
       "table",
       "div",
       "body",
       "html"
      ],
      "baseRef": "uvsp-20220331.htm",
      "contextRef": "i80ca2187d356431a875bb145f509f1a0_I20211231",
      "decimals": "-3",
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:FinancingReceivableAllowanceForCreditLosses",
      "reportCount": 1,
      "unitRef": "usd",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "2423415 - Disclosure - Loans and Leases - Allowance for Credit Losses, Loans and Leases, Roll Forward (Details)",
     "role": "http://www.univest.net/role/LoansandLeasesAllowanceforCreditLossesLoansandLeasesRollForwardDetails",
     "shortName": "Loans and Leases - Allowance for Credit Losses, Loans and Leases, Roll Forward (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "td",
       "tr",
       "table",
       "div",
       "us-gaap:AllowanceForCreditLossesOnFinancingReceivablesTableTextBlock",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "uvsp-20220331.htm",
      "contextRef": "iebc0d326723d42279e59165561d02cc7_D20220101-20220331",
      "decimals": "-3",
      "lang": "en-US",
      "name": "us-gaap:ProvisionForLoanAndLeaseLosses",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     }
    },
    "R51": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "td",
       "tr",
       "table",
       "div",
       "uvsp:FinancingReceivableByFinancialInstrumentPerformanceStatusTableTextBlock",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "uvsp-20220331.htm",
      "contextRef": "ib9141e7470f14549971d964f7a20a7bb_I20220331",
      "decimals": "-3",
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:FinancingReceivableAllowanceForCreditLossesIndividuallyEvaluatedForImpairment1",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "2424416 - Disclosure - Loans and Leases - Allowance for Loan and Lease Losses and Recorded Investment in Loans and Leases (Details)",
     "role": "http://www.univest.net/role/LoansandLeasesAllowanceforLoanandLeaseLossesandRecordedInvestmentinLoansandLeasesDetails",
     "shortName": "Loans and Leases - Allowance for Loan and Lease Losses and Recorded Investment in Loans and Leases (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "td",
       "tr",
       "table",
       "div",
       "uvsp:FinancingReceivableByFinancialInstrumentPerformanceStatusTableTextBlock",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "uvsp-20220331.htm",
      "contextRef": "ib9141e7470f14549971d964f7a20a7bb_I20220331",
      "decimals": "-3",
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:FinancingReceivableAllowanceForCreditLossesIndividuallyEvaluatedForImpairment1",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     }
    },
    "R52": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "td",
       "tr",
       "table",
       "div",
       "us-gaap:TroubledDebtRestructuringsOnFinancingReceivablesTableTextBlock",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "uvsp-20220331.htm",
      "contextRef": "ia8332deb7d834b24bddec07287af5ef3_D20220101-20220331",
      "decimals": "INF",
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:FinancingReceivableModificationsNumberOfContracts2",
      "reportCount": 1,
      "unitRef": "loan",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "2425417 - Disclosure - Loans and Leases - Accruing and Nonaccruing Troubled Debt Restructured Loans with Payment Defaults (Details)",
     "role": "http://www.univest.net/role/LoansandLeasesAccruingandNonaccruingTroubledDebtRestructuredLoanswithPaymentDefaultsDetails",
     "shortName": "Loans and Leases - Accruing and Nonaccruing Troubled Debt Restructured Loans with Payment Defaults (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "td",
       "tr",
       "table",
       "div",
       "us-gaap:TroubledDebtRestructuringsOnFinancingReceivablesTableTextBlock",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "uvsp-20220331.htm",
      "contextRef": "ia8332deb7d834b24bddec07287af5ef3_D20220101-20220331",
      "decimals": "-3",
      "lang": "en-US",
      "name": "us-gaap:FinancingReceivableModificationsPreModificationRecordedInvestment2",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     }
    },
    "R53": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "td",
       "tr",
       "table",
       "div",
       "us-gaap:TroubledDebtRestructuringsOnFinancingReceivablesTableTextBlock",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "uvsp-20220331.htm",
      "contextRef": "ia8332deb7d834b24bddec07287af5ef3_D20220101-20220331",
      "decimals": "INF",
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:FinancingReceivableModificationsNumberOfContracts2",
      "reportCount": 1,
      "unitRef": "loan",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "2426418 - Disclosure - Loans and Leases - Schedule of Concessions Granted on Accruing and Nonaccrual Troubled Loans (Details)",
     "role": "http://www.univest.net/role/LoansandLeasesScheduleofConcessionsGrantedonAccruingandNonaccrualTroubledLoansDetails",
     "shortName": "Loans and Leases - Schedule of Concessions Granted on Accruing and Nonaccrual Troubled Loans (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "td",
       "tr",
       "table",
       "div",
       "uvsp:TroubledDebtRestructuringsOnFinancingReceivables1TableTextBlock",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "uvsp-20220331.htm",
      "contextRef": "i2da80613c9ab4c54b3244f973283686d_D20220101-20220331",
      "decimals": "INF",
      "lang": "en-US",
      "name": "us-gaap:FinancingReceivableModificationsNumberOfContracts2",
      "reportCount": 1,
      "unique": true,
      "unitRef": "loan",
      "xsiNil": "false"
     }
    },
    "R54": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "td",
       "tr",
       "table",
       "div",
       "us-gaap:LessorOperatingLeasePaymentsToBeReceivedMaturityTableTextBlock",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "uvsp-20220331.htm",
      "contextRef": "ib9141e7470f14549971d964f7a20a7bb_I20220331",
      "decimals": "-3",
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:LessorOperatingLeasePaymentsToBeReceivedRemainderOfFiscalYear",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "2427419 - Disclosure - Loans and Leases - Lease Payments Receivables (Details)",
     "role": "http://www.univest.net/role/LoansandLeasesLeasePaymentsReceivablesDetails",
     "shortName": "Loans and Leases - Lease Payments Receivables (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "td",
       "tr",
       "table",
       "div",
       "us-gaap:LessorOperatingLeasePaymentsToBeReceivedMaturityTableTextBlock",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "uvsp-20220331.htm",
      "contextRef": "ib9141e7470f14549971d964f7a20a7bb_I20220331",
      "decimals": "-3",
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:LessorOperatingLeasePaymentsToBeReceivedRemainderOfFiscalYear",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     }
    },
    "R55": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "div",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "uvsp-20220331.htm",
      "contextRef": "i7660c38cc189482fa632a3358df92dbd_I20220331",
      "decimals": "-3",
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:ServicingAssetAtAmortizedValueFairValue",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "2430420 - Disclosure - Goodwill and Other Intangible Assets - Narrative (Details)",
     "role": "http://www.univest.net/role/GoodwillandOtherIntangibleAssetsNarrativeDetails",
     "shortName": "Goodwill and Other Intangible Assets - Narrative (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "div",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "uvsp-20220331.htm",
      "contextRef": "i7660c38cc189482fa632a3358df92dbd_I20220331",
      "decimals": "-3",
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:ServicingAssetAtAmortizedValueFairValue",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     }
    },
    "R56": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "td",
       "tr",
       "table",
       "div",
       "body",
       "html"
      ],
      "baseRef": "uvsp-20220331.htm",
      "contextRef": "i80ca2187d356431a875bb145f509f1a0_I20211231",
      "decimals": "-3",
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:Goodwill",
      "reportCount": 1,
      "unitRef": "usd",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "2431421 - Disclosure - Goodwill and Other Intangible Assets - Summary of Changes in Carrying Amount of Goodwill (Details)",
     "role": "http://www.univest.net/role/GoodwillandOtherIntangibleAssetsSummaryofChangesinCarryingAmountofGoodwillDetails",
     "shortName": "Goodwill and Other Intangible Assets - Summary of Changes in Carrying Amount of Goodwill (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "td",
       "tr",
       "table",
       "div",
       "us-gaap:ScheduleOfGoodwillTextBlock",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "uvsp-20220331.htm",
      "contextRef": "iebc0d326723d42279e59165561d02cc7_D20220101-20220331",
      "decimals": "-3",
      "lang": "en-US",
      "name": "us-gaap:GoodwillAcquiredDuringPeriod",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     }
    },
    "R57": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "td",
       "tr",
       "table",
       "div",
       "us-gaap:ScheduleOfFiniteLivedIntangibleAssetsTableTextBlock",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "uvsp-20220331.htm",
      "contextRef": "ib9141e7470f14549971d964f7a20a7bb_I20220331",
      "decimals": "-3",
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:FiniteLivedIntangibleAssetsGross",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "2432422 - Disclosure - Goodwill and Other Intangible Assets - Components of Intangible Assets (Details)",
     "role": "http://www.univest.net/role/GoodwillandOtherIntangibleAssetsComponentsofIntangibleAssetsDetails",
     "shortName": "Goodwill and Other Intangible Assets - Components of Intangible Assets (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "td",
       "tr",
       "table",
       "div",
       "us-gaap:ScheduleOfFiniteLivedIntangibleAssetsTableTextBlock",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "uvsp-20220331.htm",
      "contextRef": "ib9141e7470f14549971d964f7a20a7bb_I20220331",
      "decimals": "-3",
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:FiniteLivedIntangibleAssetsGross",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     }
    },
    "R58": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "td",
       "tr",
       "table",
       "div",
       "us-gaap:ScheduleofFiniteLivedIntangibleAssetsFutureAmortizationExpenseTableTextBlock",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "uvsp-20220331.htm",
      "contextRef": "ia256b404d6a049caa6b2aa5849196266_I20220331",
      "decimals": "-3",
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:FiniteLivedIntangibleAssetsAmortizationExpenseRemainderOfFiscalYear",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "2433423 - Disclosure - Goodwill and Other Intangible Assets - Estimated Amortization Expense for Core Deposit and Customer Related Intangibles (Details)",
     "role": "http://www.univest.net/role/GoodwillandOtherIntangibleAssetsEstimatedAmortizationExpenseforCoreDepositandCustomerRelatedIntangiblesDetails",
     "shortName": "Goodwill and Other Intangible Assets - Estimated Amortization Expense for Core Deposit and Customer Related Intangibles (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "td",
       "tr",
       "table",
       "div",
       "us-gaap:ScheduleofFiniteLivedIntangibleAssetsFutureAmortizationExpenseTableTextBlock",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "uvsp-20220331.htm",
      "contextRef": "ia256b404d6a049caa6b2aa5849196266_I20220331",
      "decimals": "-3",
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:FiniteLivedIntangibleAssetsAmortizationExpenseRemainderOfFiscalYear",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     }
    },
    "R59": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "td",
       "tr",
       "table",
       "div",
       "uvsp:ChangeInMortgageServicingRightsTableTableTextBlock",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "uvsp-20220331.htm",
      "contextRef": "i38b0be3738af42cd9f52dce312c0f6ba_I20211231",
      "decimals": "-3",
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:ServicingAssetAtAmortizedValue",
      "reportCount": 1,
      "unitRef": "usd",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "2434424 - Disclosure - Goodwill and Other Intangible Assets - Changes in Servicing Rights (Details)",
     "role": "http://www.univest.net/role/GoodwillandOtherIntangibleAssetsChangesinServicingRightsDetails",
     "shortName": "Goodwill and Other Intangible Assets - Changes in Servicing Rights (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "td",
       "tr",
       "table",
       "div",
       "uvsp:ChangeInMortgageServicingRightsTableTableTextBlock",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "uvsp-20220331.htm",
      "contextRef": "i572ca4f7ecb0461c8ced91fc7351f8c4_D20220101-20220331",
      "decimals": "-3",
      "lang": "en-US",
      "name": "us-gaap:ServicingAssetAtAmortizedValueAdditions",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     }
    },
    "R6": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "td",
       "tr",
       "table",
       "div",
       "body",
       "html"
      ],
      "baseRef": "uvsp-20220331.htm",
      "contextRef": "i7e5ec6b4050b4fd98f0e38f5df12821a_I20201231",
      "decimals": "-3",
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:StockholdersEquity",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     },
     "groupType": "statement",
     "isDefault": "false",
     "longName": "1005006 - Statement - Condensed Consolidated Statements of Changes in Shareholders' Equity",
     "role": "http://www.univest.net/role/CondensedConsolidatedStatementsofChangesinShareholdersEquity",
     "shortName": "Condensed Consolidated Statements of Changes in Shareholders' Equity",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "td",
       "tr",
       "table",
       "div",
       "body",
       "html"
      ],
      "baseRef": "uvsp-20220331.htm",
      "contextRef": "i7e5ec6b4050b4fd98f0e38f5df12821a_I20201231",
      "decimals": "-3",
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:StockholdersEquity",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     }
    },
    "R60": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "td",
       "tr",
       "table",
       "div",
       "uvsp:ActivityInValuationAllowanceForMortgageServicingRightsTableTableTextBlock",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "uvsp-20220331.htm",
      "contextRef": "i38b0be3738af42cd9f52dce312c0f6ba_I20211231",
      "decimals": "-3",
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:ValuationAllowanceForImpairmentOfRecognizedServicingAssetsBalance",
      "reportCount": 1,
      "unitRef": "usd",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "2435425 - Disclosure - Goodwill and Other Intangible Assets - Activity In Valuation Allowance For Servicing Rights (Details)",
     "role": "http://www.univest.net/role/GoodwillandOtherIntangibleAssetsActivityInValuationAllowanceForServicingRightsDetails",
     "shortName": "Goodwill and Other Intangible Assets - Activity In Valuation Allowance For Servicing Rights (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "td",
       "tr",
       "table",
       "div",
       "uvsp:ActivityInValuationAllowanceForMortgageServicingRightsTableTableTextBlock",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "uvsp-20220331.htm",
      "contextRef": "i572ca4f7ecb0461c8ced91fc7351f8c4_D20220101-20220331",
      "decimals": "-3",
      "lang": "en-US",
      "name": "us-gaap:ValuationAllowanceForImpairmentOfRecognizedServicingAssetsRecoveries",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     }
    },
    "R61": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "td",
       "tr",
       "table",
       "div",
       "uvsp:ScheduleOfFiniteLivedIntangibleAssetsFutureAmortizationExpense2TableTextBlock",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "uvsp-20220331.htm",
      "contextRef": "i7660c38cc189482fa632a3358df92dbd_I20220331",
      "decimals": "-3",
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:FiniteLivedIntangibleAssetsAmortizationExpenseRemainderOfFiscalYear",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "2436426 - Disclosure - Goodwill and Other Intangible Assets - Estimated Amortization Expense of Servicing Rights (Details)",
     "role": "http://www.univest.net/role/GoodwillandOtherIntangibleAssetsEstimatedAmortizationExpenseofServicingRightsDetails",
     "shortName": "Goodwill and Other Intangible Assets - Estimated Amortization Expense of Servicing Rights (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "td",
       "tr",
       "table",
       "div",
       "uvsp:ScheduleOfFiniteLivedIntangibleAssetsFutureAmortizationExpense2TableTextBlock",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "uvsp-20220331.htm",
      "contextRef": "i7660c38cc189482fa632a3358df92dbd_I20220331",
      "decimals": "-3",
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:FiniteLivedIntangibleAssetsAmortizationExpenseRemainderOfFiscalYear",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     }
    },
    "R62": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "div",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "uvsp-20220331.htm",
      "contextRef": "ib9141e7470f14549971d964f7a20a7bb_I20220331",
      "decimals": "-5",
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:TimeDepositsAtOrAboveFDICInsuranceLimit",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "2439427 - Disclosure - Deposits - Additional Information (Detail)",
     "role": "http://www.univest.net/role/DepositsAdditionalInformationDetail",
     "shortName": "Deposits - Additional Information (Detail)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "div",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "uvsp-20220331.htm",
      "contextRef": "ib9141e7470f14549971d964f7a20a7bb_I20220331",
      "decimals": "-5",
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:TimeDepositsAtOrAboveFDICInsuranceLimit",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     }
    },
    "R63": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "td",
       "tr",
       "table",
       "div",
       "uvsp:ScheduleofComponentsofWeightedAverageInterestRateandBalanceofDepositsTableTextBlock",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "uvsp-20220331.htm",
      "contextRef": "ib9141e7470f14549971d964f7a20a7bb_I20220331",
      "decimals": "4",
      "first": true,
      "lang": "en-US",
      "name": "uvsp:WeightedAverageRateDomesticDepositNoninterestBearingDeposits",
      "reportCount": 1,
      "unique": true,
      "unitRef": "number",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "2440428 - Disclosure - Deposits - Schedule of Components of Weighted Average Interest Rate and Balance of Deposits (Details)",
     "role": "http://www.univest.net/role/DepositsScheduleofComponentsofWeightedAverageInterestRateandBalanceofDepositsDetails",
     "shortName": "Deposits - Schedule of Components of Weighted Average Interest Rate and Balance of Deposits (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "td",
       "tr",
       "table",
       "div",
       "uvsp:ScheduleofComponentsofWeightedAverageInterestRateandBalanceofDepositsTableTextBlock",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "uvsp-20220331.htm",
      "contextRef": "ib9141e7470f14549971d964f7a20a7bb_I20220331",
      "decimals": "4",
      "first": true,
      "lang": "en-US",
      "name": "uvsp:WeightedAverageRateDomesticDepositNoninterestBearingDeposits",
      "reportCount": 1,
      "unique": true,
      "unitRef": "number",
      "xsiNil": "false"
     }
    },
    "R64": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "td",
       "tr",
       "table",
       "div",
       "uvsp:ScheduleOfMaturitiesOfTimeDepositsTableTextBlock",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "uvsp-20220331.htm",
      "contextRef": "ib9141e7470f14549971d964f7a20a7bb_I20220331",
      "decimals": "-3",
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:TimeDepositMaturitiesYearOne",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "2441429 - Disclosure - Deposits - Schedule of Maturities of Time Deposits (Detail)",
     "role": "http://www.univest.net/role/DepositsScheduleofMaturitiesofTimeDepositsDetail",
     "shortName": "Deposits - Schedule of Maturities of Time Deposits (Detail)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "td",
       "tr",
       "table",
       "div",
       "uvsp:ScheduleOfMaturitiesOfTimeDepositsTableTextBlock",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "uvsp-20220331.htm",
      "contextRef": "ib9141e7470f14549971d964f7a20a7bb_I20220331",
      "decimals": "-3",
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:TimeDepositMaturitiesYearOne",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     }
    },
    "R65": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "div",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "uvsp-20220331.htm",
      "contextRef": "ib9141e7470f14549971d964f7a20a7bb_I20220331",
      "decimals": "-8",
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:FederalHomeLoanBankAdvancesGeneralDebtObligationsDisclosuresMaximumAmountAvailable",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "2444430 - Disclosure - Borrowings - Additional Information (Detail)",
     "role": "http://www.univest.net/role/BorrowingsAdditionalInformationDetail",
     "shortName": "Borrowings - Additional Information (Detail)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "div",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "uvsp-20220331.htm",
      "contextRef": "ib9141e7470f14549971d964f7a20a7bb_I20220331",
      "decimals": "-8",
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:FederalHomeLoanBankAdvancesGeneralDebtObligationsDisclosuresMaximumAmountAvailable",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     }
    },
    "R66": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "td",
       "tr",
       "table",
       "div",
       "body",
       "html"
      ],
      "baseRef": "uvsp-20220331.htm",
      "contextRef": "ib9141e7470f14549971d964f7a20a7bb_I20220331",
      "decimals": "-3",
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:ShortTermBorrowings",
      "reportCount": 1,
      "unitRef": "usd",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "2445431 - Disclosure - Borrowings - Summary of Borrowings By Type (Details)",
     "role": "http://www.univest.net/role/BorrowingsSummaryofBorrowingsByTypeDetails",
     "shortName": "Borrowings - Summary of Borrowings By Type (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "td",
       "tr",
       "table",
       "div",
       "us-gaap:ScheduleOfDebtTableTextBlock",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "uvsp-20220331.htm",
      "contextRef": "idba1463f51b74d74acb770192bf29f98_I20220331",
      "decimals": "-3",
      "lang": "en-US",
      "name": "us-gaap:LongTermDebt",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     }
    },
    "R67": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "td",
       "tr",
       "table",
       "div",
       "us-gaap:ScheduleOfMaturitiesOfLongTermDebtTableTextBlock",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "uvsp-20220331.htm",
      "contextRef": "ib9141e7470f14549971d964f7a20a7bb_I20220331",
      "decimals": "-3",
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:FederalHomeLoanBankAdvancesMaturitiesSummaryDueInRemainderOfFiscalYear",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "2446432 - Disclosure - Borrowings - Schedule of Maturities of Long-term FHLB Advances (Details)",
     "role": "http://www.univest.net/role/BorrowingsScheduleofMaturitiesofLongtermFHLBAdvancesDetails",
     "shortName": "Borrowings - Schedule of Maturities of Long-term FHLB Advances (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "td",
       "tr",
       "table",
       "div",
       "us-gaap:ScheduleOfMaturitiesOfLongTermDebtTableTextBlock",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "uvsp-20220331.htm",
      "contextRef": "ib9141e7470f14549971d964f7a20a7bb_I20220331",
      "decimals": "-3",
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:FederalHomeLoanBankAdvancesMaturitiesSummaryDueInRemainderOfFiscalYear",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     }
    },
    "R68": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "div",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "uvsp-20220331.htm",
      "contextRef": "i539c0795f06843c2b4d28d7505a9c4eb_I20211231",
      "decimals": "-3",
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:DefinedBenefitPlanExpectedFutureEmployerContributionsNextFiscalYear",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "2449433 - Disclosure - Retirement Plans and Other Post Retirement Benefits - Narrative (Details)",
     "role": "http://www.univest.net/role/RetirementPlansandOtherPostRetirementBenefitsNarrativeDetails",
     "shortName": "Retirement Plans and Other Post Retirement Benefits - Narrative (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "div",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "uvsp-20220331.htm",
      "contextRef": "i539c0795f06843c2b4d28d7505a9c4eb_I20211231",
      "decimals": "-3",
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:DefinedBenefitPlanExpectedFutureEmployerContributionsNextFiscalYear",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     }
    },
    "R69": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "td",
       "tr",
       "table",
       "div",
       "us-gaap:ScheduleOfNetBenefitCostsTableTextBlock",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "uvsp-20220331.htm",
      "contextRef": "i671774a426ba46b391d832c7c1d128e4_D20220101-20220331",
      "decimals": "-3",
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:DefinedBenefitPlanServiceCost",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "2450434 - Disclosure - Retirement Plans and Other Postretirement Benefits - Components of Net Periodic Benefit Cost (Income) (Details)",
     "role": "http://www.univest.net/role/RetirementPlansandOtherPostretirementBenefitsComponentsofNetPeriodicBenefitCostIncomeDetails",
     "shortName": "Retirement Plans and Other Postretirement Benefits - Components of Net Periodic Benefit Cost (Income) (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "td",
       "tr",
       "table",
       "div",
       "us-gaap:ScheduleOfNetBenefitCostsTableTextBlock",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "uvsp-20220331.htm",
      "contextRef": "i671774a426ba46b391d832c7c1d128e4_D20220101-20220331",
      "decimals": "-3",
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:DefinedBenefitPlanServiceCost",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     }
    },
    "R7": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "div",
       "td",
       "tr",
       "table",
       "div",
       "body",
       "html"
      ],
      "baseRef": "uvsp-20220331.htm",
      "contextRef": "iebc0d326723d42279e59165561d02cc7_D20220101-20220331",
      "decimals": "INF",
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:CommonStockDividendsPerShareDeclared",
      "reportCount": 1,
      "unitRef": "usdPerShare",
      "xsiNil": "false"
     },
     "groupType": "statement",
     "isDefault": "false",
     "longName": "1006007 - Statement - Condensed Consolidated Statements of Changes in Shareholders' Equity (Parenthetical)",
     "role": "http://www.univest.net/role/CondensedConsolidatedStatementsofChangesinShareholdersEquityParenthetical",
     "shortName": "Condensed Consolidated Statements of Changes in Shareholders' Equity (Parenthetical)",
     "subGroupType": "parenthetical",
     "uniqueAnchor": null
    },
    "R70": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "td",
       "tr",
       "table",
       "div",
       "us-gaap:ScheduleOfShareBasedCompensationStockOptionsActivityTableTextBlock",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "uvsp-20220331.htm",
      "contextRef": "i80ca2187d356431a875bb145f509f1a0_I20211231",
      "decimals": "INF",
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingNumber",
      "reportCount": 1,
      "unique": true,
      "unitRef": "shares",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "2453435 - Disclosure - Stock-Based Incentive Plan - Status of Options Granted Under Long-Term Incentive Plan (Detail)",
     "role": "http://www.univest.net/role/StockBasedIncentivePlanStatusofOptionsGrantedUnderLongTermIncentivePlanDetail",
     "shortName": "Stock-Based Incentive Plan - Status of Options Granted Under Long-Term Incentive Plan (Detail)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "td",
       "tr",
       "table",
       "div",
       "us-gaap:ScheduleOfShareBasedCompensationStockOptionsActivityTableTextBlock",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "uvsp-20220331.htm",
      "contextRef": "i80ca2187d356431a875bb145f509f1a0_I20211231",
      "decimals": "INF",
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingNumber",
      "reportCount": 1,
      "unique": true,
      "unitRef": "shares",
      "xsiNil": "false"
     }
    },
    "R71": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "td",
       "tr",
       "table",
       "div",
       "us-gaap:ScheduleOfNonvestedRestrictedStockUnitsActivityTableTextBlock",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "uvsp-20220331.htm",
      "contextRef": "i80ca2187d356431a875bb145f509f1a0_I20211231",
      "decimals": "INF",
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedNumber",
      "reportCount": 1,
      "unique": true,
      "unitRef": "shares",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "2454436 - Disclosure - Stock-Based Incentive Plan - Summary of Nonvested Restricted Stock Units (Detail)",
     "role": "http://www.univest.net/role/StockBasedIncentivePlanSummaryofNonvestedRestrictedStockUnitsDetail",
     "shortName": "Stock-Based Incentive Plan - Summary of Nonvested Restricted Stock Units (Detail)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "td",
       "tr",
       "table",
       "div",
       "us-gaap:ScheduleOfNonvestedRestrictedStockUnitsActivityTableTextBlock",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "uvsp-20220331.htm",
      "contextRef": "i80ca2187d356431a875bb145f509f1a0_I20211231",
      "decimals": "INF",
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedNumber",
      "reportCount": 1,
      "unique": true,
      "unitRef": "shares",
      "xsiNil": "false"
     }
    },
    "R72": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "td",
       "tr",
       "table",
       "div",
       "us-gaap:ScheduleOfNonvestedRestrictedStockUnitsActivityTableTextBlock",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "uvsp-20220331.htm",
      "contextRef": "iebc0d326723d42279e59165561d02cc7_D20220101-20220331",
      "decimals": "INF",
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriod",
      "reportCount": 1,
      "unitRef": "shares",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "2455437 - Disclosure - Stock-Based Incentive Plan - Certain Information Regarding Restricted Stock Units (Detail)",
     "role": "http://www.univest.net/role/StockBasedIncentivePlanCertainInformationRegardingRestrictedStockUnitsDetail",
     "shortName": "Stock-Based Incentive Plan - Certain Information Regarding Restricted Stock Units (Detail)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "td",
       "tr",
       "table",
       "div",
       "uvsp:CertainInformationRegardingRestrictedStockTableTextBlock",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "uvsp-20220331.htm",
      "contextRef": "if99a733c5b4447aebc6cb3c2a450544a_D20220101-20220331",
      "decimals": "INF",
      "lang": "en-US",
      "name": "us-gaap:ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriod",
      "reportCount": 1,
      "unique": true,
      "unitRef": "shares",
      "xsiNil": "false"
     }
    },
    "R73": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "td",
       "tr",
       "table",
       "div",
       "us-gaap:ScheduleOfUnrecognizedCompensationCostNonvestedAwardsTableTextBlock",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "uvsp-20220331.htm",
      "contextRef": "ifcedb66beb404cfb9e9f475e503ef100_I20220331",
      "decimals": "-3",
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognized",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "2456438 - Disclosure - Stock-Based Incentive Plan - Schedule of Unrecognized Compensation Cost, Nonvested Units (Detail)",
     "role": "http://www.univest.net/role/StockBasedIncentivePlanScheduleofUnrecognizedCompensationCostNonvestedUnitsDetail",
     "shortName": "Stock-Based Incentive Plan - Schedule of Unrecognized Compensation Cost, Nonvested Units (Detail)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "td",
       "tr",
       "table",
       "div",
       "us-gaap:ScheduleOfUnrecognizedCompensationCostNonvestedAwardsTableTextBlock",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "uvsp-20220331.htm",
      "contextRef": "ifcedb66beb404cfb9e9f475e503ef100_I20220331",
      "decimals": "-3",
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognized",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     }
    },
    "R74": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "td",
       "tr",
       "table",
       "div",
       "us-gaap:ScheduleOfCompensationCostForShareBasedPaymentArrangementsAllocationOfShareBasedCompensationCostsByPlanTableTextBlock",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "uvsp-20220331.htm",
      "contextRef": "iebc0d326723d42279e59165561d02cc7_D20220101-20220331",
      "decimals": "-3",
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:AllocatedShareBasedCompensationExpense",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "2457439 - Disclosure - Stock-Based Incentive Plan - Compensation Expense Related to Stock Incentive Plans Recognized (Detail)",
     "role": "http://www.univest.net/role/StockBasedIncentivePlanCompensationExpenseRelatedtoStockIncentivePlansRecognizedDetail",
     "shortName": "Stock-Based Incentive Plan - Compensation Expense Related to Stock Incentive Plans Recognized (Detail)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "td",
       "tr",
       "table",
       "div",
       "us-gaap:ScheduleOfCompensationCostForShareBasedPaymentArrangementsAllocationOfShareBasedCompensationCostsByPlanTableTextBlock",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "uvsp-20220331.htm",
      "contextRef": "iebc0d326723d42279e59165561d02cc7_D20220101-20220331",
      "decimals": "-3",
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:AllocatedShareBasedCompensationExpense",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     }
    },
    "R75": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "td",
       "tr",
       "table",
       "div",
       "body",
       "html"
      ],
      "baseRef": "uvsp-20220331.htm",
      "contextRef": "i80ca2187d356431a875bb145f509f1a0_I20211231",
      "decimals": "-3",
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:AccumulatedOtherComprehensiveIncomeLossNetOfTax",
      "reportCount": 1,
      "unitRef": "usd",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "2460440 - Disclosure - Accumulated Other Comprehensive (Loss) Income - Components of Accumulated Other Comprehensive (Loss) Income, Net of Taxes (Details)",
     "role": "http://www.univest.net/role/AccumulatedOtherComprehensiveLossIncomeComponentsofAccumulatedOtherComprehensiveLossIncomeNetofTaxesDetails",
     "shortName": "Accumulated Other Comprehensive (Loss) Income - Components of Accumulated Other Comprehensive (Loss) Income, Net of Taxes (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "td",
       "tr",
       "table",
       "div",
       "us-gaap:ScheduleOfAccumulatedOtherComprehensiveIncomeLossTableTextBlock",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "uvsp-20220331.htm",
      "contextRef": "i254440d3ce304b45a10f403fffa83fd2_I20211231",
      "decimals": "-3",
      "lang": "en-US",
      "name": "us-gaap:AccumulatedOtherComprehensiveIncomeLossNetOfTax",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     }
    },
    "R76": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "div",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "uvsp-20220331.htm",
      "contextRef": "ic346f154e6334dfd91c1ee9db1e08efa_D20150101-20150630",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "uvsp:LoansReceivablewithFixedRatesofInterestPoolMaturityPeriod",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "2463441 - Disclosure - Derivative Instruments and Hedging Activities- Narrative (Details)",
     "role": "http://www.univest.net/role/DerivativeInstrumentsandHedgingActivitiesNarrativeDetails",
     "shortName": "Derivative Instruments and Hedging Activities- Narrative (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "div",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "uvsp-20220331.htm",
      "contextRef": "ic346f154e6334dfd91c1ee9db1e08efa_D20150101-20150630",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "uvsp:LoansReceivablewithFixedRatesofInterestPoolMaturityPeriod",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R77": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "td",
       "tr",
       "table",
       "div",
       "body",
       "html"
      ],
      "baseRef": "uvsp-20220331.htm",
      "contextRef": "iebc0d326723d42279e59165561d02cc7_D20220101-20220331",
      "decimals": "-3",
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:OtherComprehensiveIncomeLossCashFlowHedgeGainLossAfterReclassificationAndTax",
      "reportCount": 1,
      "unitRef": "usd",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "2464442 - Disclosure - Derivative Instruments and Hedging Activities - Derivatives Designated as Hedging Instruments (Details)",
     "role": "http://www.univest.net/role/DerivativeInstrumentsandHedgingActivitiesDerivativesDesignatedasHedgingInstrumentsDetails",
     "shortName": "Derivative Instruments and Hedging Activities - Derivatives Designated as Hedging Instruments (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "td",
       "tr",
       "table",
       "div",
       "uvsp:ScheduleOfDerivativesDesignatedAsHedgingInstrumentsStatementFinancialPositionLocationTableTextBlock",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "uvsp-20220331.htm",
      "contextRef": "ie352c65a751443a09776d94e99ecdd8e_I20220331",
      "decimals": "-3",
      "lang": "en-US",
      "name": "us-gaap:DerivativeFairValueOfDerivativeAssetAmountNotOffsetAgainstCollateral",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     }
    },
    "R78": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "td",
       "tr",
       "table",
       "div",
       "uvsp:ScheduleOfDerivativesNotDesignatedAsHedgingInstrumentsStatementFinancialPositionLocationTableTextBlock",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "uvsp-20220331.htm",
      "contextRef": "idac98e71932b46b4b748781ee376373a_I20220331",
      "decimals": "-3",
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:DerivativeNotionalAmount",
      "reportCount": 1,
      "unitRef": "usd",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "2465443 - Disclosure - Derivative Instruments and Hedging Activities - Derivatives Not Designated as Hedging Instruments (Details)",
     "role": "http://www.univest.net/role/DerivativeInstrumentsandHedgingActivitiesDerivativesNotDesignatedasHedgingInstrumentsDetails",
     "shortName": "Derivative Instruments and Hedging Activities - Derivatives Not Designated as Hedging Instruments (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "td",
       "tr",
       "table",
       "div",
       "uvsp:ScheduleOfDerivativesNotDesignatedAsHedgingInstrumentsStatementFinancialPositionLocationTableTextBlock",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "uvsp-20220331.htm",
      "contextRef": "idac98e71932b46b4b748781ee376373a_I20220331",
      "decimals": "-3",
      "lang": "en-US",
      "name": "us-gaap:DerivativeFairValueOfDerivativeAssetAmountNotOffsetAgainstCollateral",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     }
    },
    "R79": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "div",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "uvsp-20220331.htm",
      "contextRef": "ib9141e7470f14549971d964f7a20a7bb_I20220331",
      "decimals": "-5",
      "first": true,
      "lang": "en-US",
      "name": "uvsp:ServicingRightsCarryingAmountBeforeValuationAllowance",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "2468444 - Disclosure - Fair Value Disclosures - Narrative (Details)",
     "role": "http://www.univest.net/role/FairValueDisclosuresNarrativeDetails",
     "shortName": "Fair Value Disclosures - Narrative (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "div",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "uvsp-20220331.htm",
      "contextRef": "ib9141e7470f14549971d964f7a20a7bb_I20220331",
      "decimals": "-5",
      "first": true,
      "lang": "en-US",
      "name": "uvsp:ServicingRightsCarryingAmountBeforeValuationAllowance",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     }
    },
    "R8": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "td",
       "tr",
       "table",
       "div",
       "body",
       "html"
      ],
      "baseRef": "uvsp-20220331.htm",
      "contextRef": "iebc0d326723d42279e59165561d02cc7_D20220101-20220331",
      "decimals": "-3",
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:NetIncomeLoss",
      "reportCount": 1,
      "unitRef": "usd",
      "xsiNil": "false"
     },
     "groupType": "statement",
     "isDefault": "false",
     "longName": "1007008 - Statement - Condensed Consolidated Statements of Cash Flows",
     "role": "http://www.univest.net/role/CondensedConsolidatedStatementsofCashFlows",
     "shortName": "Condensed Consolidated Statements of Cash Flows",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "td",
       "tr",
       "table",
       "div",
       "body",
       "html"
      ],
      "baseRef": "uvsp-20220331.htm",
      "contextRef": "iebc0d326723d42279e59165561d02cc7_D20220101-20220331",
      "decimals": "-3",
      "lang": "en-US",
      "name": "us-gaap:DepreciationNonproduction",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     }
    },
    "R80": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "td",
       "tr",
       "table",
       "div",
       "us-gaap:InvestmentsClassifiedByContractualMaturityDateTableTextBlock",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "uvsp-20220331.htm",
      "contextRef": "ib9141e7470f14549971d964f7a20a7bb_I20220331",
      "decimals": "-3",
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:AvailableForSaleSecuritiesDebtSecurities",
      "reportCount": 1,
      "unitRef": "usd",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "2469445 - Disclosure - Fair Value Disclosures- Assets and Liabilities Measured at Fair Value on Recurring Basis (Details)",
     "role": "http://www.univest.net/role/FairValueDisclosuresAssetsandLiabilitiesMeasuredatFairValueonRecurringBasisDetails",
     "shortName": "Fair Value Disclosures- Assets and Liabilities Measured at Fair Value on Recurring Basis (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "td",
       "tr",
       "table",
       "div",
       "us-gaap:ScheduleOfFairValueAssetsAndLiabilitiesMeasuredOnRecurringBasisTableTextBlock",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "uvsp-20220331.htm",
      "contextRef": "if68edcdeb0fa4c96810605f4d491138b_I20220331",
      "decimals": "-3",
      "lang": "en-US",
      "name": "us-gaap:AvailableForSaleSecuritiesDebtSecurities",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     }
    },
    "R81": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "td",
       "tr",
       "table",
       "div",
       "us-gaap:FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationTextBlock",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "uvsp-20220331.htm",
      "contextRef": "i80ca2187d356431a875bb145f509f1a0_I20211231",
      "decimals": "-3",
      "first": true,
      "lang": "en-US",
      "name": "uvsp:FairValueMeasurementwithUnobservableInputsReconciliationRecurringBasisNetAssetLiabilityValue",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "2470446 - Disclosure - Fair Value Disclosures - Level 3 Roll Forward (Details)",
     "role": "http://www.univest.net/role/FairValueDisclosuresLevel3RollForwardDetails",
     "shortName": "Fair Value Disclosures - Level 3 Roll Forward (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "td",
       "tr",
       "table",
       "div",
       "us-gaap:FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationTextBlock",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "uvsp-20220331.htm",
      "contextRef": "i80ca2187d356431a875bb145f509f1a0_I20211231",
      "decimals": "-3",
      "first": true,
      "lang": "en-US",
      "name": "uvsp:FairValueMeasurementwithUnobservableInputsReconciliationRecurringBasisNetAssetLiabilityValue",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     }
    },
    "R82": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "td",
       "tr",
       "table",
       "div",
       "uvsp:ContingentConsiderationLiabilityChangeInAmountTableTextBlock",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "uvsp-20220331.htm",
      "contextRef": "i80ca2187d356431a875bb145f509f1a0_I20211231",
      "decimals": "-3",
      "first": true,
      "lang": "en-US",
      "name": "uvsp:BusinessAcquisitionContingentConsiderationCurrentFairValue",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "2471447 - Disclosure - Fair Value Disclosures - Change in Contingent Consideration Liability (Details)",
     "role": "http://www.univest.net/role/FairValueDisclosuresChangeinContingentConsiderationLiabilityDetails",
     "shortName": "Fair Value Disclosures - Change in Contingent Consideration Liability (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "td",
       "tr",
       "table",
       "div",
       "uvsp:ContingentConsiderationLiabilityChangeInAmountTableTextBlock",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "uvsp-20220331.htm",
      "contextRef": "i80ca2187d356431a875bb145f509f1a0_I20211231",
      "decimals": "-3",
      "first": true,
      "lang": "en-US",
      "name": "uvsp:BusinessAcquisitionContingentConsiderationCurrentFairValue",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     }
    },
    "R83": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "div",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "uvsp-20220331.htm",
      "contextRef": "ib9141e7470f14549971d964f7a20a7bb_I20220331",
      "decimals": "-3",
      "first": true,
      "lang": "en-US",
      "name": "uvsp:OtherRealEstateOwnedFairValueDisclosure",
      "reportCount": 1,
      "unitRef": "usd",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "2472448 - Disclosure - Fair Value Disclosures - Assets Measured at Fair Value on Non-recurring Basis (Details)",
     "role": "http://www.univest.net/role/FairValueDisclosuresAssetsMeasuredatFairValueonNonrecurringBasisDetails",
     "shortName": "Fair Value Disclosures - Assets Measured at Fair Value on Non-recurring Basis (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "td",
       "tr",
       "table",
       "div",
       "us-gaap:FairValueAssetsMeasuredOnNonrecurringBasisTextBlock",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "uvsp-20220331.htm",
      "contextRef": "i46cff07730e74afdb35bb7bbae1ceef1_I20220331",
      "decimals": "-3",
      "lang": "en-US",
      "name": "uvsp:ImpairedLoansFairValueDisclosure",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     }
    },
    "R84": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "td",
       "tr",
       "table",
       "div",
       "us-gaap:InvestmentsClassifiedByContractualMaturityDateTableTextBlock",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "uvsp-20220331.htm",
      "contextRef": "ib9141e7470f14549971d964f7a20a7bb_I20220331",
      "decimals": "-3",
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:HeldToMaturitySecuritiesFairValue",
      "reportCount": 1,
      "unitRef": "usd",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "2473449 - Disclosure - Fair Value Disclosures - Assets, Liabilities and Off-balance Sheet Items Not Measured at Fair Value (Details)",
     "role": "http://www.univest.net/role/FairValueDisclosuresAssetsLiabilitiesandOffbalanceSheetItemsNotMeasuredatFairValueDetails",
     "shortName": "Fair Value Disclosures - Assets, Liabilities and Off-balance Sheet Items Not Measured at Fair Value (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "td",
       "tr",
       "table",
       "div",
       "us-gaap:FairValueByBalanceSheetGroupingTextBlock",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "uvsp-20220331.htm",
      "contextRef": "i51fa5792ad0b4c45841fc06edc50f5a9_I20220331",
      "decimals": "-3",
      "lang": "en-US",
      "name": "us-gaap:CashAndCashEquivalentsFairValueDisclosure",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     }
    },
    "R85": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "div",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "uvsp-20220331.htm",
      "contextRef": "iebc0d326723d42279e59165561d02cc7_D20220101-20220331",
      "decimals": "INF",
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:NumberOfReportableSegments",
      "reportCount": 1,
      "unique": true,
      "unitRef": "segment",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "2476450 - Disclosure - Segment Reporting - Schedule of Segment Reporting (Details)",
     "role": "http://www.univest.net/role/SegmentReportingScheduleofSegmentReportingDetails",
     "shortName": "Segment Reporting - Schedule of Segment Reporting (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "div",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "uvsp-20220331.htm",
      "contextRef": "iebc0d326723d42279e59165561d02cc7_D20220101-20220331",
      "decimals": "INF",
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:NumberOfReportableSegments",
      "reportCount": 1,
      "unique": true,
      "unitRef": "segment",
      "xsiNil": "false"
     }
    },
    "R9": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "div",
       "body",
       "html"
      ],
      "baseRef": "uvsp-20220331.htm",
      "contextRef": "iebc0d326723d42279e59165561d02cc7_D20220101-20220331",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:SignificantAccountingPoliciesTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "2101101 - Disclosure - Summary of Significant Accounting Policies",
     "role": "http://www.univest.net/role/SummaryofSignificantAccountingPolicies",
     "shortName": "Summary of Significant Accounting Policies",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "div",
       "body",
       "html"
      ],
      "baseRef": "uvsp-20220331.htm",
      "contextRef": "iebc0d326723d42279e59165561d02cc7_D20220101-20220331",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:SignificantAccountingPoliciesTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    }
   },
   "segmentCount": 108,
   "tag": {
    "dei_AmendmentFlag": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Boolean flag that is true when the XBRL content amends previously-filed or accepted submission.",
        "label": "Amendment Flag",
        "terseLabel": "Amendment Flag"
       }
      }
     },
     "localname": "AmendmentFlag",
     "nsuri": "http://xbrl.sec.gov/dei/2021q4",
     "presentation": [
      "http://www.univest.net/role/Cover"
     ],
     "xbrltype": "booleanItemType"
    },
    "dei_CityAreaCode": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Area code of city",
        "label": "City Area Code",
        "terseLabel": "City Area Code"
       }
      }
     },
     "localname": "CityAreaCode",
     "nsuri": "http://xbrl.sec.gov/dei/2021q4",
     "presentation": [
      "http://www.univest.net/role/Cover"
     ],
     "xbrltype": "normalizedStringItemType"
    },
    "dei_CoverAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Cover page.",
        "label": "Cover [Abstract]"
       }
      }
     },
     "localname": "CoverAbstract",
     "nsuri": "http://xbrl.sec.gov/dei/2021q4",
     "xbrltype": "stringItemType"
    },
    "dei_CurrentFiscalYearEndDate": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "End date of current fiscal year in the format --MM-DD.",
        "label": "Current Fiscal Year End Date",
        "terseLabel": "Current Fiscal Year End Date"
       }
      }
     },
     "localname": "CurrentFiscalYearEndDate",
     "nsuri": "http://xbrl.sec.gov/dei/2021q4",
     "presentation": [
      "http://www.univest.net/role/Cover"
     ],
     "xbrltype": "gMonthDayItemType"
    },
    "dei_DocumentFiscalPeriodFocus": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "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.",
        "label": "Document Fiscal Period Focus",
        "terseLabel": "Document Fiscal Period Focus"
       }
      }
     },
     "localname": "DocumentFiscalPeriodFocus",
     "nsuri": "http://xbrl.sec.gov/dei/2021q4",
     "presentation": [
      "http://www.univest.net/role/Cover"
     ],
     "xbrltype": "fiscalPeriodItemType"
    },
    "dei_DocumentFiscalYearFocus": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "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.",
        "label": "Document Fiscal Year Focus",
        "terseLabel": "Document Fiscal Year Focus"
       }
      }
     },
     "localname": "DocumentFiscalYearFocus",
     "nsuri": "http://xbrl.sec.gov/dei/2021q4",
     "presentation": [
      "http://www.univest.net/role/Cover"
     ],
     "xbrltype": "gYearItemType"
    },
    "dei_DocumentPeriodEndDate": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "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.",
        "label": "Document Period End Date",
        "terseLabel": "Document Period End Date"
       }
      }
     },
     "localname": "DocumentPeriodEndDate",
     "nsuri": "http://xbrl.sec.gov/dei/2021q4",
     "presentation": [
      "http://www.univest.net/role/Cover"
     ],
     "xbrltype": "dateItemType"
    },
    "dei_DocumentQuarterlyReport": {
     "auth_ref": [
      "r714"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Boolean flag that is true only for a form used as an quarterly report.",
        "label": "Document Quarterly Report",
        "terseLabel": "Document Quarterly Report"
       }
      }
     },
     "localname": "DocumentQuarterlyReport",
     "nsuri": "http://xbrl.sec.gov/dei/2021q4",
     "presentation": [
      "http://www.univest.net/role/Cover"
     ],
     "xbrltype": "booleanItemType"
    },
    "dei_DocumentTransitionReport": {
     "auth_ref": [
      "r715"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Boolean flag that is true only for a form used as a transition report.",
        "label": "Document Transition Report",
        "terseLabel": "Document Transition Report"
       }
      }
     },
     "localname": "DocumentTransitionReport",
     "nsuri": "http://xbrl.sec.gov/dei/2021q4",
     "presentation": [
      "http://www.univest.net/role/Cover"
     ],
     "xbrltype": "booleanItemType"
    },
    "dei_DocumentType": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "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'.",
        "label": "Document Type",
        "terseLabel": "Document Type"
       }
      }
     },
     "localname": "DocumentType",
     "nsuri": "http://xbrl.sec.gov/dei/2021q4",
     "presentation": [
      "http://www.univest.net/role/Cover"
     ],
     "xbrltype": "submissionTypeItemType"
    },
    "dei_EntityAddressAddressLine1": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Address Line 1 such as Attn, Building Name, Street Name",
        "label": "Entity Address, Address Line One",
        "terseLabel": "Entity Address, Address Line One"
       }
      }
     },
     "localname": "EntityAddressAddressLine1",
     "nsuri": "http://xbrl.sec.gov/dei/2021q4",
     "presentation": [
      "http://www.univest.net/role/Cover"
     ],
     "xbrltype": "normalizedStringItemType"
    },
    "dei_EntityAddressCityOrTown": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Name of the City or Town",
        "label": "Entity Address, City or Town",
        "terseLabel": "Entity Address, City or Town"
       }
      }
     },
     "localname": "EntityAddressCityOrTown",
     "nsuri": "http://xbrl.sec.gov/dei/2021q4",
     "presentation": [
      "http://www.univest.net/role/Cover"
     ],
     "xbrltype": "normalizedStringItemType"
    },
    "dei_EntityAddressPostalZipCode": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Code for the postal or zip code",
        "label": "Entity Address, Postal Zip Code",
        "terseLabel": "Entity Address, Postal Zip Code"
       }
      }
     },
     "localname": "EntityAddressPostalZipCode",
     "nsuri": "http://xbrl.sec.gov/dei/2021q4",
     "presentation": [
      "http://www.univest.net/role/Cover"
     ],
     "xbrltype": "normalizedStringItemType"
    },
    "dei_EntityAddressStateOrProvince": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Name of the state or province.",
        "label": "Entity Address, State or Province",
        "terseLabel": "Entity Address, State or Province"
       }
      }
     },
     "localname": "EntityAddressStateOrProvince",
     "nsuri": "http://xbrl.sec.gov/dei/2021q4",
     "presentation": [
      "http://www.univest.net/role/Cover"
     ],
     "xbrltype": "stateOrProvinceItemType"
    },
    "dei_EntityCentralIndexKey": {
     "auth_ref": [
      "r712"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "A unique 10-digit SEC-issued value to identify entities that have filed disclosures with the SEC. It is commonly abbreviated as CIK.",
        "label": "Entity Central Index Key",
        "terseLabel": "Entity Central Index Key"
       }
      }
     },
     "localname": "EntityCentralIndexKey",
     "nsuri": "http://xbrl.sec.gov/dei/2021q4",
     "presentation": [
      "http://www.univest.net/role/Cover"
     ],
     "xbrltype": "centralIndexKeyItemType"
    },
    "dei_EntityCommonStockSharesOutstanding": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Indicate number of shares or other units outstanding of each of registrant's classes of capital or common stock or other ownership interests, if and as stated on cover of related periodic report. Where multiple classes or units exist define each class/interest by adding class of stock items such as Common Class A [Member], Common Class B [Member] or Partnership Interest [Member] onto the Instrument [Domain] of the Entity Listings, Instrument.",
        "label": "Entity Common Stock, Shares Outstanding",
        "terseLabel": "Entity Common Stock, Shares Outstanding"
       }
      }
     },
     "localname": "EntityCommonStockSharesOutstanding",
     "nsuri": "http://xbrl.sec.gov/dei/2021q4",
     "presentation": [
      "http://www.univest.net/role/Cover"
     ],
     "xbrltype": "sharesItemType"
    },
    "dei_EntityCurrentReportingStatus": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Indicate 'Yes' or 'No' whether registrants (1) have filed all reports required to be filed by Section 13 or 15(d) of the Securities Exchange Act of 1934 during the preceding 12 months (or for such shorter period that registrants were required to file such reports), and (2) have been subject to such filing requirements for the past 90 days. This information should be based on the registrant's current or most recent filing containing the related disclosure.",
        "label": "Entity Current Reporting Status",
        "terseLabel": "Entity Current Reporting Status"
       }
      }
     },
     "localname": "EntityCurrentReportingStatus",
     "nsuri": "http://xbrl.sec.gov/dei/2021q4",
     "presentation": [
      "http://www.univest.net/role/Cover"
     ],
     "xbrltype": "yesNoItemType"
    },
    "dei_EntityEmergingGrowthCompany": {
     "auth_ref": [
      "r712"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Indicate if registrant meets the emerging growth company criteria.",
        "label": "Entity Emerging Growth Company",
        "terseLabel": "Entity Emerging Growth Company"
       }
      }
     },
     "localname": "EntityEmergingGrowthCompany",
     "nsuri": "http://xbrl.sec.gov/dei/2021q4",
     "presentation": [
      "http://www.univest.net/role/Cover"
     ],
     "xbrltype": "booleanItemType"
    },
    "dei_EntityFileNumber": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Commission file number. The field allows up to 17 characters. The prefix may contain 1-3 digits, the sequence number may contain 1-8 digits, the optional suffix may contain 1-4 characters, and the fields are separated with a hyphen.",
        "label": "Entity File Number",
        "terseLabel": "Entity File Number"
       }
      }
     },
     "localname": "EntityFileNumber",
     "nsuri": "http://xbrl.sec.gov/dei/2021q4",
     "presentation": [
      "http://www.univest.net/role/Cover"
     ],
     "xbrltype": "fileNumberItemType"
    },
    "dei_EntityFilerCategory": {
     "auth_ref": [
      "r712"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Indicate whether the registrant is one of the following: Large Accelerated Filer, Accelerated Filer, Non-accelerated Filer. Definitions of these categories are stated in Rule 12b-2 of the Exchange Act. This information should be based on the registrant's current or most recent filing containing the related disclosure.",
        "label": "Entity Filer Category",
        "terseLabel": "Entity Filer Category"
       }
      }
     },
     "localname": "EntityFilerCategory",
     "nsuri": "http://xbrl.sec.gov/dei/2021q4",
     "presentation": [
      "http://www.univest.net/role/Cover"
     ],
     "xbrltype": "filerCategoryItemType"
    },
    "dei_EntityIncorporationStateCountryCode": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Two-character EDGAR code representing the state or country of incorporation.",
        "label": "Entity Incorporation, State or Country Code",
        "terseLabel": "Entity Incorporation, State or Country Code"
       }
      }
     },
     "localname": "EntityIncorporationStateCountryCode",
     "nsuri": "http://xbrl.sec.gov/dei/2021q4",
     "presentation": [
      "http://www.univest.net/role/Cover"
     ],
     "xbrltype": "edgarStateCountryItemType"
    },
    "dei_EntityInteractiveDataCurrent": {
     "auth_ref": [
      "r733"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Boolean flag that is true when the registrant has submitted electronically every Interactive Data File required to be submitted pursuant to Rule 405 of Regulation S-T during the preceding 12 months (or for such shorter period that the registrant was required to submit such files).",
        "label": "Entity Interactive Data Current",
        "terseLabel": "Entity Interactive Data Current"
       }
      }
     },
     "localname": "EntityInteractiveDataCurrent",
     "nsuri": "http://xbrl.sec.gov/dei/2021q4",
     "presentation": [
      "http://www.univest.net/role/Cover"
     ],
     "xbrltype": "yesNoItemType"
    },
    "dei_EntityRegistrantName": {
     "auth_ref": [
      "r712"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The exact name of the entity filing the report as specified in its charter, which is required by forms filed with the SEC.",
        "label": "Entity Registrant Name",
        "terseLabel": "Entity Registrant Name"
       }
      }
     },
     "localname": "EntityRegistrantName",
     "nsuri": "http://xbrl.sec.gov/dei/2021q4",
     "presentation": [
      "http://www.univest.net/role/Cover"
     ],
     "xbrltype": "normalizedStringItemType"
    },
    "dei_EntityShellCompany": {
     "auth_ref": [
      "r712"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Boolean flag that is true when the registrant is a shell company as defined in Rule 12b-2 of the Exchange Act.",
        "label": "Entity Shell Company",
        "terseLabel": "Entity Shell Company"
       }
      }
     },
     "localname": "EntityShellCompany",
     "nsuri": "http://xbrl.sec.gov/dei/2021q4",
     "presentation": [
      "http://www.univest.net/role/Cover"
     ],
     "xbrltype": "booleanItemType"
    },
    "dei_EntitySmallBusiness": {
     "auth_ref": [
      "r712"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Indicates that the company is a Smaller Reporting Company (SRC).",
        "label": "Entity Small Business",
        "terseLabel": "Entity Small Business"
       }
      }
     },
     "localname": "EntitySmallBusiness",
     "nsuri": "http://xbrl.sec.gov/dei/2021q4",
     "presentation": [
      "http://www.univest.net/role/Cover"
     ],
     "xbrltype": "booleanItemType"
    },
    "dei_EntityTaxIdentificationNumber": {
     "auth_ref": [
      "r712"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The Tax Identification Number (TIN), also known as an Employer Identification Number (EIN), is a unique 9-digit value assigned by the IRS.",
        "label": "Entity Tax Identification Number",
        "terseLabel": "Entity Tax Identification Number"
       }
      }
     },
     "localname": "EntityTaxIdentificationNumber",
     "nsuri": "http://xbrl.sec.gov/dei/2021q4",
     "presentation": [
      "http://www.univest.net/role/Cover"
     ],
     "xbrltype": "employerIdItemType"
    },
    "dei_LocalPhoneNumber": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Local phone number for entity.",
        "label": "Local Phone Number",
        "terseLabel": "Local Phone Number"
       }
      }
     },
     "localname": "LocalPhoneNumber",
     "nsuri": "http://xbrl.sec.gov/dei/2021q4",
     "presentation": [
      "http://www.univest.net/role/Cover"
     ],
     "xbrltype": "normalizedStringItemType"
    },
    "dei_Security12bTitle": {
     "auth_ref": [
      "r711"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Title of a 12(b) registered security.",
        "label": "Title of 12(b) Security",
        "terseLabel": "Title of 12(b) Security"
       }
      }
     },
     "localname": "Security12bTitle",
     "nsuri": "http://xbrl.sec.gov/dei/2021q4",
     "presentation": [
      "http://www.univest.net/role/Cover"
     ],
     "xbrltype": "securityTitleItemType"
    },
    "dei_SecurityExchangeName": {
     "auth_ref": [
      "r713"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Name of the Exchange on which a security is registered.",
        "label": "Security Exchange Name",
        "terseLabel": "Security Exchange Name"
       }
      }
     },
     "localname": "SecurityExchangeName",
     "nsuri": "http://xbrl.sec.gov/dei/2021q4",
     "presentation": [
      "http://www.univest.net/role/Cover"
     ],
     "xbrltype": "edgarExchangeCodeItemType"
    },
    "dei_TradingSymbol": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Trading symbol of an instrument as listed on an exchange.",
        "label": "Trading Symbol",
        "terseLabel": "Trading Symbol"
       }
      }
     },
     "localname": "TradingSymbol",
     "nsuri": "http://xbrl.sec.gov/dei/2021q4",
     "presentation": [
      "http://www.univest.net/role/Cover"
     ],
     "xbrltype": "tradingSymbolItemType"
    },
    "srt_MajorCustomersAxis": {
     "auth_ref": [
      "r174",
      "r344",
      "r347",
      "r690"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Customer [Axis]",
        "terseLabel": "Customer [Axis]"
       }
      }
     },
     "localname": "MajorCustomersAxis",
     "nsuri": "http://fasb.org/srt/2021-01-31",
     "presentation": [
      "http://www.univest.net/role/DerivativeInstrumentsandHedgingActivitiesNarrativeDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "srt_MaximumMember": {
     "auth_ref": [
      "r317",
      "r336",
      "r437",
      "r442",
      "r578",
      "r579",
      "r580",
      "r581",
      "r582",
      "r583",
      "r605",
      "r688",
      "r691",
      "r709",
      "r710"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Maximum [Member]",
        "terseLabel": "Maximum [Member]"
       }
      }
     },
     "localname": "MaximumMember",
     "nsuri": "http://fasb.org/srt/2021-01-31",
     "presentation": [
      "http://www.univest.net/role/DerivativeInstrumentsandHedgingActivitiesNarrativeDetails",
      "http://www.univest.net/role/LoansandLeasesNarrativeDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "srt_MinimumMember": {
     "auth_ref": [
      "r317",
      "r336",
      "r437",
      "r442",
      "r578",
      "r579",
      "r580",
      "r581",
      "r582",
      "r583",
      "r605",
      "r688",
      "r691",
      "r709",
      "r710"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Minimum [Member]",
        "terseLabel": "Minimum [Member]"
       }
      }
     },
     "localname": "MinimumMember",
     "nsuri": "http://fasb.org/srt/2021-01-31",
     "presentation": [
      "http://www.univest.net/role/DerivativeInstrumentsandHedgingActivitiesNarrativeDetails",
      "http://www.univest.net/role/LoansandLeasesNarrativeDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "srt_NameOfMajorCustomerDomain": {
     "auth_ref": [
      "r174",
      "r344",
      "r347",
      "r690"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Customer [Domain]",
        "terseLabel": "Customer [Domain]"
       }
      }
     },
     "localname": "NameOfMajorCustomerDomain",
     "nsuri": "http://fasb.org/srt/2021-01-31",
     "presentation": [
      "http://www.univest.net/role/DerivativeInstrumentsandHedgingActivitiesNarrativeDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "srt_ProductOrServiceAxis": {
     "auth_ref": [
      "r171",
      "r344",
      "r345",
      "r606",
      "r687",
      "r689"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Product and Service [Axis]",
        "terseLabel": "Product and Service [Axis]"
       }
      }
     },
     "localname": "ProductOrServiceAxis",
     "nsuri": "http://fasb.org/srt/2021-01-31",
     "presentation": [
      "http://www.univest.net/role/CondensedConsolidatedStatementsofIncome"
     ],
     "xbrltype": "stringItemType"
    },
    "srt_ProductsAndServicesDomain": {
     "auth_ref": [
      "r171",
      "r344",
      "r345",
      "r606",
      "r687",
      "r689"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Product and Service [Domain]",
        "terseLabel": "Product and Service [Domain]"
       }
      }
     },
     "localname": "ProductsAndServicesDomain",
     "nsuri": "http://fasb.org/srt/2021-01-31",
     "presentation": [
      "http://www.univest.net/role/CondensedConsolidatedStatementsofIncome"
     ],
     "xbrltype": "domainItemType"
    },
    "srt_RangeAxis": {
     "auth_ref": [
      "r317",
      "r336",
      "r377",
      "r437",
      "r442",
      "r578",
      "r579",
      "r580",
      "r581",
      "r582",
      "r583",
      "r605",
      "r688",
      "r691",
      "r709",
      "r710"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Statistical Measurement [Axis]",
        "terseLabel": "Statistical Measurement [Axis]"
       }
      }
     },
     "localname": "RangeAxis",
     "nsuri": "http://fasb.org/srt/2021-01-31",
     "presentation": [
      "http://www.univest.net/role/DerivativeInstrumentsandHedgingActivitiesNarrativeDetails",
      "http://www.univest.net/role/LoansandLeasesNarrativeDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "srt_RangeMember": {
     "auth_ref": [
      "r317",
      "r336",
      "r377",
      "r437",
      "r442",
      "r578",
      "r579",
      "r580",
      "r581",
      "r582",
      "r583",
      "r605",
      "r688",
      "r691",
      "r709",
      "r710"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Statistical Measurement [Domain]",
        "terseLabel": "Statistical Measurement [Domain]"
       }
      }
     },
     "localname": "RangeMember",
     "nsuri": "http://fasb.org/srt/2021-01-31",
     "presentation": [
      "http://www.univest.net/role/DerivativeInstrumentsandHedgingActivitiesNarrativeDetails",
      "http://www.univest.net/role/LoansandLeasesNarrativeDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_AccountingPoliciesAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Accounting Policies [Abstract]"
       }
      }
     },
     "localname": "AccountingPoliciesAbstract",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "xbrltype": "stringItemType"
    },
    "us-gaap_AccountsNotesAndLoansReceivableLineItems": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "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.",
        "label": "Accounts, Notes, Loans and Financing Receivable [Line Items]",
        "terseLabel": "Accounts, Notes, Loans and Financing Receivable [Line Items]"
       }
      }
     },
     "localname": "AccountsNotesAndLoansReceivableLineItems",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.univest.net/role/LoansandLeasesAgeAnalysisofPastDueLoansandLeasesDetails",
      "http://www.univest.net/role/LoansandLeasesSummaryofMajorLoanandLeaseCategoriesDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_AccretionAmortizationOfDiscountsAndPremiumsInvestments": {
     "auth_ref": [
      "r88"
     ],
     "calculation": {
      "http://www.univest.net/role/CondensedConsolidatedStatementsofCashFlows": {
       "order": 3.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": -1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The sum of the periodic adjustments of the differences between securities' face values and purchase prices that are charged against earnings. This is called accretion if the security was purchased at a discount and amortization if it was purchased at premium. As a noncash item, this element is an adjustment to net income when calculating cash provided by or used in operations using the indirect method.",
        "label": "Accretion (Amortization) of Discounts and Premiums, Investments",
        "negatedTerseLabel": "Net amortization of investment securities premiums and discounts"
       }
      }
     },
     "localname": "AccretionAmortizationOfDiscountsAndPremiumsInvestments",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.univest.net/role/CondensedConsolidatedStatementsofCashFlows"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_AccruedLiabilitiesCurrentAndNoncurrent": {
     "auth_ref": [
      "r625",
      "r678"
     ],
     "calculation": {
      "http://www.univest.net/role/CondensedConsolidatedBalanceSheets": {
       "order": 5.0,
       "parentTag": "us-gaap_Liabilities",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Carrying value as of the balance sheet date of obligations incurred and payable, pertaining to costs that are statutory in nature, are incurred on contractual obligations, or accumulate over time and for which invoices have not yet been received or will not be rendered. Examples include taxes, interest, rent and utilities.",
        "label": "Accrued Liabilities",
        "terseLabel": "Accrued interest payable and other liabilities"
       }
      }
     },
     "localname": "AccruedLiabilitiesCurrentAndNoncurrent",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.univest.net/role/CondensedConsolidatedBalanceSheets"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_AccumulatedDefinedBenefitPlansAdjustmentMember": {
     "auth_ref": [
      "r36",
      "r42",
      "r51",
      "r52",
      "r53",
      "r497"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Accumulated other comprehensive (income) loss related to defined benefit plans attributable to the parent.",
        "label": "Accumulated Defined Benefit Plans Adjustment Attributable to Parent [Member]",
        "terseLabel": "Net Change Related to Defined Benefit Pension Plan [Member]"
       }
      }
     },
     "localname": "AccumulatedDefinedBenefitPlansAdjustmentMember",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.univest.net/role/AccumulatedOtherComprehensiveLossIncomeComponentsofAccumulatedOtherComprehensiveLossIncomeNetofTaxesDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_AccumulatedNetGainLossFromDesignatedOrQualifyingCashFlowHedgesMember": {
     "auth_ref": [
      "r32",
      "r42",
      "r496"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Accumulated other comprehensive income (loss) resulting from gain (loss) from derivative instruments designated and qualifying as the effective portion of cash flow hedges, attributable to the parent.",
        "label": "Accumulated Net Gain (Loss) from Cash Flow Hedges Attributable to Parent [Member]",
        "terseLabel": "Net Change Related to Derivatives Used for Cash Flow Hedge [Member]"
       }
      }
     },
     "localname": "AccumulatedNetGainLossFromDesignatedOrQualifyingCashFlowHedgesMember",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.univest.net/role/AccumulatedOtherComprehensiveLossIncomeComponentsofAccumulatedOtherComprehensiveLossIncomeNetofTaxesDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_AccumulatedNetUnrealizedInvestmentGainLossMember": {
     "auth_ref": [
      "r33",
      "r34",
      "r35",
      "r42",
      "r51",
      "r52",
      "r53"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Accumulated unrealized gain (loss) on investment in debt security measured at fair value with change in fair value recognized in other comprehensive income (available-for-sale), attributable to parent.",
        "label": "AOCI, Accumulated Gain (Loss), Debt Securities, Available-for-sale, Parent [Member]",
        "terseLabel": "Net Unrealized Holding (Losses) Gains on Available-for-Sale Investment Securities [Member]"
       }
      }
     },
     "localname": "AccumulatedNetUnrealizedInvestmentGainLossMember",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.univest.net/role/AccumulatedOtherComprehensiveLossIncomeComponentsofAccumulatedOtherComprehensiveLossIncomeNetofTaxesDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_AccumulatedOtherComprehensiveIncomeLossLineItems": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "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.",
        "label": "Accumulated Other Comprehensive Income (Loss) [Line Items]",
        "terseLabel": "Accumulated Other Comprehensive (Loss) Income [Line Items]"
       }
      }
     },
     "localname": "AccumulatedOtherComprehensiveIncomeLossLineItems",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.univest.net/role/AccumulatedOtherComprehensiveLossIncomeComponentsofAccumulatedOtherComprehensiveLossIncomeNetofTaxesDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_AccumulatedOtherComprehensiveIncomeLossNetOfTax": {
     "auth_ref": [
      "r15",
      "r39",
      "r41",
      "r42",
      "r674",
      "r696",
      "r697"
     ],
     "calculation": {
      "http://www.univest.net/role/CondensedConsolidatedBalanceSheets": {
       "order": 4.0,
       "parentTag": "us-gaap_StockholdersEquity",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Accumulated change in equity from transactions and other events and circumstances from non-owner sources, net of tax effect, at period end. Excludes Net Income (Loss), and accumulated changes in equity from transactions resulting from investments by owners and distributions to owners. Includes foreign currency translation items, certain pension adjustments, unrealized gains and losses on certain investments in debt and equity securities, other than temporary impairment (OTTI) losses related to factors other than credit losses on available-for-sale and held-to-maturity debt securities that an entity does not intend to sell and it is not more likely than not that the entity will be required to sell before recovery of the amortized cost basis, as well as changes in the fair value of derivatives related to the effective portion of a designated cash flow hedge.",
        "label": "Accumulated Other Comprehensive Income (Loss), Net of Tax",
        "periodEndLabel": "Ending balance",
        "periodStartLabel": "Beginning balance",
        "terseLabel": "Accumulated other comprehensive loss, net of tax benefit"
       }
      }
     },
     "localname": "AccumulatedOtherComprehensiveIncomeLossNetOfTax",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.univest.net/role/AccumulatedOtherComprehensiveLossIncomeComponentsofAccumulatedOtherComprehensiveLossIncomeNetofTaxesDetails",
      "http://www.univest.net/role/CondensedConsolidatedBalanceSheets"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_AccumulatedOtherComprehensiveIncomeLossTable": {
     "auth_ref": [
      "r51",
      "r52",
      "r555",
      "r556",
      "r557",
      "r558",
      "r559",
      "r561"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Disclosure of information about components of accumulated other comprehensive income (loss).",
        "label": "Accumulated Other Comprehensive Income (Loss) [Table]",
        "terseLabel": "Accumulated Other Comprehensive Income (Loss)"
       }
      }
     },
     "localname": "AccumulatedOtherComprehensiveIncomeLossTable",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.univest.net/role/AccumulatedOtherComprehensiveLossIncomeComponentsofAccumulatedOtherComprehensiveLossIncomeNetofTaxesDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_AccumulatedOtherComprehensiveIncomeMember": {
     "auth_ref": [
      "r38",
      "r42",
      "r51",
      "r52",
      "r53",
      "r102",
      "r103",
      "r104",
      "r497",
      "r692",
      "r693",
      "r734"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Accumulated increase (decrease) in equity from transactions and other events and circumstances from non-owner sources, attributable to the parent. Excludes net income (loss), and accumulated changes in equity from transactions resulting from investments by owners and distributions to owners.",
        "label": "AOCI Attributable to Parent [Member]",
        "terseLabel": "Accumulated Other Comprehensive (Loss) Income [Member]"
       }
      }
     },
     "localname": "AccumulatedOtherComprehensiveIncomeMember",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.univest.net/role/AccumulatedOtherComprehensiveLossIncomeComponentsofAccumulatedOtherComprehensiveLossIncomeNetofTaxesDetails",
      "http://www.univest.net/role/CondensedConsolidatedStatementsofChangesinShareholdersEquity"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_AdditionalPaidInCapitalCommonStock": {
     "auth_ref": [
      "r13"
     ],
     "calculation": {
      "http://www.univest.net/role/CondensedConsolidatedBalanceSheets": {
       "order": 2.0,
       "parentTag": "us-gaap_StockholdersEquity",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Value received from shareholders in common stock-related transactions that are in excess of par value or stated value and amounts received from other stock-related transactions. Includes only common stock transactions (excludes preferred stock transactions). May be called contributed capital, capital in excess of par, capital surplus, or paid-in capital.",
        "label": "Additional Paid in Capital, Common Stock",
        "terseLabel": "Additional paid-in capital"
       }
      }
     },
     "localname": "AdditionalPaidInCapitalCommonStock",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.univest.net/role/CondensedConsolidatedBalanceSheets"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_AdditionalPaidInCapitalMember": {
     "auth_ref": [
      "r102",
      "r103",
      "r104",
      "r470",
      "r471",
      "r472",
      "r530"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Excess of issue price over par or stated value of the entity's capital stock and amounts received from other transactions involving the entity's stock or stockholders.",
        "label": "Additional Paid-in Capital [Member]",
        "terseLabel": "Additional Paid-in Capital [Member]"
       }
      }
     },
     "localname": "AdditionalPaidInCapitalMember",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.univest.net/role/CondensedConsolidatedStatementsofChangesinShareholdersEquity"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_AdjustmentsToAdditionalPaidInCapitalSharebasedCompensationRequisiteServicePeriodRecognitionValue": {
     "auth_ref": [
      "r444",
      "r446",
      "r475",
      "r476"
     ],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of increase to additional paid-in capital (APIC) for recognition of cost for award under share-based payment arrangement.",
        "label": "APIC, Share-based Payment Arrangement, Increase for Cost Recognition",
        "terseLabel": "Stock-based compensation"
       }
      }
     },
     "localname": "AdjustmentsToAdditionalPaidInCapitalSharebasedCompensationRequisiteServicePeriodRecognitionValue",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.univest.net/role/CondensedConsolidatedStatementsofChangesinShareholdersEquity"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_AdjustmentsToReconcileNetIncomeLossToCashProvidedByUsedInOperatingActivitiesAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Adjustments to Reconcile Net Income (Loss) to Cash Provided by (Used in) Operating Activities [Abstract]",
        "terseLabel": "Adjustments to reconcile net income to net cash provided by operating activities:"
       }
      }
     },
     "localname": "AdjustmentsToReconcileNetIncomeLossToCashProvidedByUsedInOperatingActivitiesAbstract",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.univest.net/role/CondensedConsolidatedStatementsofCashFlows"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_AdvancesFromFederalHomeLoanBanks": {
     "auth_ref": [
      "r667"
     ],
     "calculation": {
      "http://www.univest.net/role/BorrowingsScheduleofMaturitiesofLongtermFHLBAdvancesDetails": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of borrowings as of the balance sheet date from the Federal Home Loan Bank, which are primarily used to cover shortages in the required reserve balance and liquidity shortages.",
        "label": "Advances from Federal Home Loan Banks",
        "totalLabel": "Total advances"
       }
      }
     },
     "localname": "AdvancesFromFederalHomeLoanBanks",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.univest.net/role/BorrowingsScheduleofMaturitiesofLongtermFHLBAdvancesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_AllOtherSegmentsMember": {
     "auth_ref": [
      "r140",
      "r158",
      "r159",
      "r160",
      "r161",
      "r163"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Operating segments classified as other. Excludes intersegment elimination and reconciling items.",
        "label": "Other Segments [Member]",
        "terseLabel": "Other Segments [Member]"
       }
      }
     },
     "localname": "AllOtherSegmentsMember",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.univest.net/role/SegmentReportingScheduleofSegmentReportingDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_AllocatedShareBasedCompensationExpense": {
     "auth_ref": [
      "r446",
      "r466",
      "r474"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of expense for award under share-based payment arrangement. Excludes amount capitalized.",
        "label": "Share-based Payment Arrangement, Expense",
        "terseLabel": "Total expense"
       }
      }
     },
     "localname": "AllocatedShareBasedCompensationExpense",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.univest.net/role/StockBasedIncentivePlanCompensationExpenseRelatedtoStockIncentivePlansRecognizedDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_AllowanceForCreditLossesOnFinancingReceivablesTableTextBlock": {
     "auth_ref": [
      "r183",
      "r255"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Tabular disclosure of allowance for credit loss on financing receivable.",
        "label": "Financing Receivable, Allowance for Credit Loss [Table Text Block]",
        "terseLabel": "Summary of Activity in the Allowance for Credit Losses, Loans and Leases"
       }
      }
     },
     "localname": "AllowanceForCreditLossesOnFinancingReceivablesTableTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.univest.net/role/LoansandLeasesTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_AllowanceForLoanAndLeaseLossesRollForward": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "A roll forward is a reconciliation of a concept from the beginning of a period to the end of a period.",
        "label": "Allowance for Loan and Lease Losses [Roll Forward]",
        "terseLabel": "Allowance for Loan and Lease Losses [Roll Forward]"
       }
      }
     },
     "localname": "AllowanceForLoanAndLeaseLossesRollForward",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.univest.net/role/LoansandLeasesAllowanceforCreditLossesLoansandLeasesRollForwardDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_AmountOfDilutiveSecuritiesStockOptionsAndRestrictiveStockUnits": {
     "auth_ref": [
      "r125"
     ],
     "calculation": {
      "http://www.univest.net/role/EarningsperShareBasicandDilutedEarningsPerShareDetails": {
       "order": 2.0,
       "parentTag": "us-gaap_NetIncomeLossAttributableToParentDiluted",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of increase (decrease) to net income used for calculating diluted earnings per share (EPS), resulting from the assumed exercise of stock options or restrictive stock units (RSUs).",
        "label": "Dilutive Securities, Effect on Basic Earnings Per Share, Options and Restrictive Stock Units",
        "terseLabel": "Net income allocated to unvested restricted stock awards"
       }
      }
     },
     "localname": "AmountOfDilutiveSecuritiesStockOptionsAndRestrictiveStockUnits",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.univest.net/role/EarningsperShareBasicandDilutedEarningsPerShareDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareAmount": {
     "auth_ref": [
      "r126"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Securities (including those issuable pursuant to contingent stock agreements) that could potentially dilute basic earnings per share (EPS) or earnings per unit (EPU) in the future that were not included in the computation of diluted EPS or EPU because to do so would increase EPS or EPU amounts or decrease loss per share or unit amounts for the period presented.",
        "label": "Antidilutive Securities Excluded from Computation of Earnings Per Share, Amount",
        "terseLabel": "Average antidilutive options and restricted stock units excluded from computation of diluted earnings per share"
       }
      }
     },
     "localname": "AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareAmount",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.univest.net/role/EarningsperShareBasicandDilutedEarningsPerShareDetails"
     ],
     "xbrltype": "sharesItemType"
    },
    "us-gaap_Assets": {
     "auth_ref": [
      "r98",
      "r153",
      "r160",
      "r167",
      "r247",
      "r306",
      "r307",
      "r308",
      "r309",
      "r310",
      "r311",
      "r312",
      "r313",
      "r314",
      "r315",
      "r316",
      "r494",
      "r498",
      "r553",
      "r569",
      "r571",
      "r615",
      "r671"
     ],
     "calculation": {
      "http://www.univest.net/role/CondensedConsolidatedBalanceSheets": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Sum of the carrying amounts as of the balance sheet date of all assets that are recognized. Assets are probable future economic benefits obtained or controlled by an entity as a result of past transactions or events.",
        "label": "Assets",
        "terseLabel": "Total assets",
        "totalLabel": "Total assets"
       }
      }
     },
     "localname": "Assets",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.univest.net/role/CondensedConsolidatedBalanceSheets",
      "http://www.univest.net/role/SegmentReportingScheduleofSegmentReportingDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_AssetsAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Assets [Abstract]",
        "terseLabel": "ASSETS",
        "verboseLabel": "Assets"
       }
      }
     },
     "localname": "AssetsAbstract",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.univest.net/role/CondensedConsolidatedBalanceSheets",
      "http://www.univest.net/role/FairValueDisclosuresAssetsandLiabilitiesMeasuredatFairValueonRecurringBasisDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_AssetsFairValueDisclosure": {
     "auth_ref": [
      "r534"
     ],
     "calculation": {
      "http://www.univest.net/role/FairValueDisclosuresAssetsLiabilitiesandOffbalanceSheetItemsNotMeasuredatFairValueDetails": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      },
      "http://www.univest.net/role/FairValueDisclosuresAssetsandLiabilitiesMeasuredatFairValueonRecurringBasisDetails": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      },
      "http://www.univest.net/role/LoansandLeasesAllowanceforLoanandLeaseLossesandRecordedInvestmentinLoansandLeasesDetails": {
       "order": 1.0,
       "parentTag": "us-gaap_LoansAndLeasesReceivableNetOfDeferredIncome",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Fair value portion of probable future economic benefits obtained or controlled by an entity as a result of past transactions or events.",
        "label": "Assets, Fair Value Disclosure",
        "terseLabel": "Loans measured at fair value",
        "totalLabel": "Total assets"
       }
      }
     },
     "localname": "AssetsFairValueDisclosure",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.univest.net/role/FairValueDisclosuresAssetsLiabilitiesandOffbalanceSheetItemsNotMeasuredatFairValueDetails",
      "http://www.univest.net/role/FairValueDisclosuresAssetsMeasuredatFairValueonNonrecurringBasisDetails",
      "http://www.univest.net/role/FairValueDisclosuresAssetsandLiabilitiesMeasuredatFairValueonRecurringBasisDetails",
      "http://www.univest.net/role/LoansandLeasesAllowanceforLoanandLeaseLossesandRecordedInvestmentinLoansandLeasesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_AvailableForSaleDebtSecuritiesAccumulatedGrossUnrealizedGainBeforeTax": {
     "auth_ref": [
      "r206"
     ],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount, before tax, of unrealized gain in accumulated other comprehensive income (AOCI) on investment in debt security measured at fair value with change in fair value recognized in other comprehensive income (available-for-sale).",
        "label": "Debt Securities, Available-for-sale, Accumulated Gross Unrealized Gain, before Tax",
        "terseLabel": "Securities Available-for-Sale, Gross Unrealized Gain"
       }
      }
     },
     "localname": "AvailableForSaleDebtSecuritiesAccumulatedGrossUnrealizedGainBeforeTax",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.univest.net/role/InvestmentSecuritiesHeldtoMaturityandAvailableforSaleScheduledMaturitiesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_AvailableForSaleDebtSecuritiesAccumulatedGrossUnrealizedLossBeforeTax": {
     "auth_ref": [
      "r207"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount, before tax, of unrealized loss in accumulated other comprehensive income (AOCI) on investment in debt security measured at fair value with change in fair value recognized in other comprehensive income (available-for-sale).",
        "label": "Debt Securities, Available-for-sale, Accumulated Gross Unrealized Loss, before Tax",
        "negatedLabel": "Securities Available-for-Sale, Gross Unrealized Losses"
       }
      }
     },
     "localname": "AvailableForSaleDebtSecuritiesAccumulatedGrossUnrealizedLossBeforeTax",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.univest.net/role/InvestmentSecuritiesHeldtoMaturityandAvailableforSaleScheduledMaturitiesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_AvailableForSaleDebtSecuritiesAmortizedCostBasis": {
     "auth_ref": [
      "r203",
      "r270"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amortized cost of investment in debt security measured at fair value with change in fair value recognized in other comprehensive income (available-for-sale).",
        "label": "Debt Securities, Available-for-sale, Amortized Cost",
        "terseLabel": "Investment securities available-for-sale (amortized cost $372,860 and $319,474, net of allowance for credit losses of $1,275 and $929 at March 31, 2022 and December 31, 2021, respectively)"
       }
      }
     },
     "localname": "AvailableForSaleDebtSecuritiesAmortizedCostBasis",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.univest.net/role/CondensedConsolidatedBalanceSheetsParenthetical",
      "http://www.univest.net/role/InvestmentSecuritiesHeldtoMaturityandAvailableforSaleScheduledMaturitiesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_AvailableForSaleSecuritiesAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Debt Securities, Available-for-sale [Abstract]",
        "terseLabel": "Debt Securities, Available-for-sale [Abstract]"
       }
      }
     },
     "localname": "AvailableForSaleSecuritiesAbstract",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.univest.net/role/InvestmentSecuritiesHeldtoMaturityandAvailableforSaleScheduledMaturitiesDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_AvailableForSaleSecuritiesDebtMaturitiesAfterFiveThroughTenYearsAmortizedCost": {
     "auth_ref": [
      "r212"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amortized cost of investment in debt security measured at fair value with change in fair value recognized in other comprehensive income (available-for-sale), with single maturity date and allocated without single maturity date, maturing in sixth through tenth fiscal year following current fiscal year. Excludes interim and annual periods when interim periods are reported from current statement of financial position date (rolling approach).",
        "label": "Debt Securities, Available-for-Sale, Amortized Cost, Maturity, Allocated and Single Maturity Date, after Year 5 Through 10",
        "terseLabel": "Securities Available-for-Sale, Amortized Cost, After 5 Years to 10 Years"
       }
      }
     },
     "localname": "AvailableForSaleSecuritiesDebtMaturitiesAfterFiveThroughTenYearsAmortizedCost",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.univest.net/role/InvestmentSecuritiesHeldtoMaturityandAvailableforSaleScheduledMaturitiesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_AvailableForSaleSecuritiesDebtMaturitiesAfterFiveThroughTenYearsFairValue": {
     "auth_ref": [
      "r208",
      "r212",
      "r661"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Fair value of investment in debt security measured at fair value with change in fair value recognized in other comprehensive income (available-for-sale), with single maturity date and allocated without single maturity date, maturing in sixth through tenth fiscal year following current fiscal year. Excludes interim and annual periods when interim periods are reported from current statement of financial position date (rolling approach).",
        "label": "Debt Securities, Available-for-Sale, Fair Value, Maturity, Allocated and Single Maturity Date, after Year 5 Through 10",
        "terseLabel": "Securities Available-for-Sale, Fair Value, After 5 Years to 10 Years"
       }
      }
     },
     "localname": "AvailableForSaleSecuritiesDebtMaturitiesAfterFiveThroughTenYearsFairValue",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.univest.net/role/InvestmentSecuritiesHeldtoMaturityandAvailableforSaleScheduledMaturitiesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_AvailableForSaleSecuritiesDebtMaturitiesAfterOneThroughFiveYearsAmortizedCost": {
     "auth_ref": [
      "r211"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amortized cost of investment in debt security measured at fair value with change in fair value recognized in other comprehensive income (available-for-sale), with single maturity date and allocated without single maturity date, maturing in second through fifth fiscal year following current fiscal year. Excludes interim and annual periods when interim periods are reported from current statement of financial position date (rolling approach).",
        "label": "Debt Securities, Available-for-Sale, Amortized Cost, Maturity, Allocated and Single Maturity Date, after Year One Through Five",
        "terseLabel": "Securities Available-for-Sale, Amortized Cost, After 1 Year to 5 Years"
       }
      }
     },
     "localname": "AvailableForSaleSecuritiesDebtMaturitiesAfterOneThroughFiveYearsAmortizedCost",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.univest.net/role/InvestmentSecuritiesHeldtoMaturityandAvailableforSaleScheduledMaturitiesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_AvailableForSaleSecuritiesDebtMaturitiesAfterOneThroughFiveYearsFairValue": {
     "auth_ref": [
      "r208",
      "r211",
      "r660"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Fair value of investment in debt security measured at fair value with change in fair value recognized in other comprehensive income (available-for-sale), with single maturity date and allocated without single maturity date, maturing in second through fifth fiscal year following current fiscal year. Excludes interim and annual periods when interim periods are reported from current statement of financial position date (rolling approach).",
        "label": "Debt Securities, Available-for-Sale, Fair Value, Maturity, Allocated and Single Maturity Date, after Year One Through Five",
        "terseLabel": "Securities Available-for-Sale, Fair Value, After 1 Year to 5 Years"
       }
      }
     },
     "localname": "AvailableForSaleSecuritiesDebtMaturitiesAfterOneThroughFiveYearsFairValue",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.univest.net/role/InvestmentSecuritiesHeldtoMaturityandAvailableforSaleScheduledMaturitiesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_AvailableForSaleSecuritiesDebtMaturitiesAfterTenYearsAmortizedCost": {
     "auth_ref": [
      "r213"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amortized cost of investment in debt security measured at fair value with change in fair value recognized in other comprehensive income (available-for-sale), with single maturity date and allocated without single maturity date, maturing after tenth fiscal year following current fiscal year. Excludes interim and annual periods when interim periods are reported from current statement of financial position date (rolling approach).",
        "label": "Debt Securities, Available-for-Sale, Amortized Cost, Maturity, Allocated and Single Maturity Date, after Year 10",
        "terseLabel": "Securities Available-for-Sale, Amortized Cost, Over 10 Years"
       }
      }
     },
     "localname": "AvailableForSaleSecuritiesDebtMaturitiesAfterTenYearsAmortizedCost",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.univest.net/role/InvestmentSecuritiesHeldtoMaturityandAvailableforSaleScheduledMaturitiesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_AvailableForSaleSecuritiesDebtMaturitiesAfterTenYearsFairValue": {
     "auth_ref": [
      "r208",
      "r213",
      "r662"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Fair value of investment in debt security measured at fair value with change in fair value recognized in other comprehensive income (available-for-sale), with single maturity date and allocated without single maturity date, maturing after tenth fiscal year following current fiscal year. Excludes interim and annual periods when interim periods are reported from current statement of financial position date (rolling approach).",
        "label": "Debt Securities, Available-for-Sale, Fair Value, Maturity, Allocated and Single Maturity Date, after Year 10",
        "terseLabel": "Securities Available-for-Sale, Fair Value, Over 10 Years"
       }
      }
     },
     "localname": "AvailableForSaleSecuritiesDebtMaturitiesAfterTenYearsFairValue",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.univest.net/role/InvestmentSecuritiesHeldtoMaturityandAvailableforSaleScheduledMaturitiesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_AvailableForSaleSecuritiesDebtMaturitiesWithinOneYearAmortizedCost": {
     "auth_ref": [
      "r210"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amortized cost of investment in debt security measured at fair value with change in fair value recognized in other comprehensive income (available-for-sale), with single maturity date and allocated without single maturity date, maturing in next fiscal year following current fiscal year. Excludes interim and annual periods when interim periods are reported from current statement of financial position date (rolling approach).",
        "label": "Debt Securities, Available-for-Sale, Amortized Cost, Maturity, Allocated and Single Maturity Date, Year One",
        "terseLabel": "Securities Available-for-Sale, Amortized Cost, Within 1 Year"
       }
      }
     },
     "localname": "AvailableForSaleSecuritiesDebtMaturitiesWithinOneYearAmortizedCost",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.univest.net/role/InvestmentSecuritiesHeldtoMaturityandAvailableforSaleScheduledMaturitiesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_AvailableForSaleSecuritiesDebtMaturitiesWithinOneYearFairValue": {
     "auth_ref": [
      "r208",
      "r210",
      "r659"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Fair value of investment in debt security measured at fair value with change in fair value recognized in other comprehensive income (available-for-sale), with single maturity date and allocated without single maturity date, maturing in next fiscal year following current fiscal year. Excludes interim and annual periods when interim periods are reported from current statement of financial position date (rolling approach).",
        "label": "Debt Securities, Available-for-Sale, Fair Value, Maturity, Allocated and Single Maturity Date, Year One",
        "terseLabel": "Securities Available-for-Sale, Fair Value, Within 1 Year"
       }
      }
     },
     "localname": "AvailableForSaleSecuritiesDebtMaturitiesWithinOneYearFairValue",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.univest.net/role/InvestmentSecuritiesHeldtoMaturityandAvailableforSaleScheduledMaturitiesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_AvailableForSaleSecuritiesDebtSecurities": {
     "auth_ref": [
      "r200",
      "r204",
      "r270",
      "r621"
     ],
     "calculation": {
      "http://www.univest.net/role/CondensedConsolidatedBalanceSheets": {
       "order": 2.0,
       "parentTag": "us-gaap_Assets",
       "weight": 1.0
      },
      "http://www.univest.net/role/FairValueDisclosuresAssetsandLiabilitiesMeasuredatFairValueonRecurringBasisDetails": {
       "order": 5.0,
       "parentTag": "us-gaap_AssetsFairValueDisclosure",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of investment in debt security measured at fair value with change in fair value recognized in other comprehensive income (available-for-sale).",
        "label": "Debt Securities, Available-for-sale",
        "terseLabel": "Investment securities available-for-sale (amortized cost $372,860 and $319,474, net of allowance for credit losses of $1,275 and $929 at March 31, 2022 and December 31, 2021, respectively)",
        "verboseLabel": "Investment securities available-for-sale (amortized cost $372,860 and $319,474, net of allowance for credit losses of $1,275 and $929 at March 31, 2022 and December 31, 2021, respectively)"
       }
      }
     },
     "localname": "AvailableForSaleSecuritiesDebtSecurities",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.univest.net/role/CondensedConsolidatedBalanceSheets",
      "http://www.univest.net/role/FairValueDisclosuresAssetsandLiabilitiesMeasuredatFairValueonRecurringBasisDetails",
      "http://www.univest.net/role/InvestmentSecuritiesHeldtoMaturityandAvailableforSaleScheduledMaturitiesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_AvailableForSaleSecuritiesGrossUnrealizedGainLossAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Debt Securities, Available-for-sale, Unrealized Gain (Loss) [Abstract]",
        "terseLabel": "Debt Securities, Available-for-sale, Unrealized Gain (Loss) [Abstract]"
       }
      }
     },
     "localname": "AvailableForSaleSecuritiesGrossUnrealizedGainLossAbstract",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.univest.net/role/InvestmentSecuritiesAmountofSecuritiesinUnrealizedLossPositionDetail"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_AvailableforsaleSecuritiesMember": {
     "auth_ref": [
      "r238"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Investment in debt security measured at fair value with change in fair value recognized in other comprehensive income (available-for-sale).",
        "label": "Available-for-sale Securities [Member]",
        "terseLabel": "Available-for-sale Securities [Member]"
       }
      }
     },
     "localname": "AvailableforsaleSecuritiesMember",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.univest.net/role/InvestmentSecuritiesAmountofSecuritiesinUnrealizedLossPositionDetail",
      "http://www.univest.net/role/InvestmentSecuritiesNarrativeDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_AwardTypeAxis": {
     "auth_ref": [
      "r447",
      "r468"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Information by type of award under share-based payment arrangement.",
        "label": "Award Type [Axis]",
        "terseLabel": "Award Type [Axis]"
       }
      }
     },
     "localname": "AwardTypeAxis",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.univest.net/role/StockBasedIncentivePlanCertainInformationRegardingRestrictedStockUnitsDetail",
      "http://www.univest.net/role/StockBasedIncentivePlanCompensationExpenseRelatedtoStockIncentivePlansRecognizedDetail",
      "http://www.univest.net/role/StockBasedIncentivePlanScheduleofUnrecognizedCompensationCostNonvestedUnitsDetail"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_BalanceSheetLocationAxis": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Information by location on balance sheet (statement of financial position).",
        "label": "Balance Sheet Location [Axis]",
        "terseLabel": "Balance Sheet Location [Axis]"
       }
      }
     },
     "localname": "BalanceSheetLocationAxis",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.univest.net/role/DerivativeInstrumentsandHedgingActivitiesDerivativesDesignatedasHedgingInstrumentsDetails",
      "http://www.univest.net/role/DerivativeInstrumentsandHedgingActivitiesDerivativesNotDesignatedasHedgingInstrumentsDetails",
      "http://www.univest.net/role/DerivativeInstrumentsandHedgingActivitiesNarrativeDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_BalanceSheetLocationDomain": {
     "auth_ref": [
      "r507",
      "r510"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Location in the balance sheet (statement of financial position).",
        "label": "Balance Sheet Location [Domain]",
        "terseLabel": "Balance Sheet Location [Domain]"
       }
      }
     },
     "localname": "BalanceSheetLocationDomain",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.univest.net/role/DerivativeInstrumentsandHedgingActivitiesDerivativesDesignatedasHedgingInstrumentsDetails",
      "http://www.univest.net/role/DerivativeInstrumentsandHedgingActivitiesDerivativesNotDesignatedasHedgingInstrumentsDetails",
      "http://www.univest.net/role/DerivativeInstrumentsandHedgingActivitiesNarrativeDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_BankOwnedLifeInsurance": {
     "auth_ref": [
      "r614"
     ],
     "calculation": {
      "http://www.univest.net/role/CondensedConsolidatedBalanceSheets": {
       "order": 10.0,
       "parentTag": "us-gaap_Assets",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The carrying amount of a life insurance policy on an officer, executive or employee for which the reporting entity (a bank) is entitled to proceeds from the policy upon death of the insured or surrender of the insurance policy.",
        "label": "Bank Owned Life Insurance",
        "terseLabel": "Bank owned life insurance"
       }
      }
     },
     "localname": "BankOwnedLifeInsurance",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.univest.net/role/CondensedConsolidatedBalanceSheets"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_BankOwnedLifeInsuranceIncome": {
     "auth_ref": [
      "r641"
     ],
     "calculation": {
      "http://www.univest.net/role/CondensedConsolidatedStatementsofCashFlows": {
       "order": 4.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": -1.0
      },
      "http://www.univest.net/role/CondensedConsolidatedStatementsofIncome": {
       "order": 6.0,
       "parentTag": "us-gaap_NoninterestIncome",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Earnings on or other increases in the value of the cash surrender value of bank owned life insurance policies.",
        "label": "Bank Owned Life Insurance Income",
        "negatedLabel": "Bank owned life insurance income",
        "terseLabel": "Bank owned life insurance income"
       }
      }
     },
     "localname": "BankOwnedLifeInsuranceIncome",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.univest.net/role/CondensedConsolidatedStatementsofCashFlows",
      "http://www.univest.net/role/CondensedConsolidatedStatementsofIncome"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_BusinessAcquisitionAcquireeDomain": {
     "auth_ref": [
      "r433",
      "r438"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Identification of the acquiree in a material business combination (or series of individually immaterial business combinations), which may include the name or other type of identification of the acquiree.",
        "label": "Business Acquisition, Acquiree [Domain]",
        "terseLabel": "Business Acquisition, Acquiree [Domain]"
       }
      }
     },
     "localname": "BusinessAcquisitionAcquireeDomain",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.univest.net/role/FairValueDisclosuresChangeinContingentConsiderationLiabilityDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_BusinessAcquisitionAxis": {
     "auth_ref": [
      "r433",
      "r438",
      "r485",
      "r486"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Information by business combination or series of individually immaterial business combinations.",
        "label": "Business Acquisition [Axis]",
        "terseLabel": "Business Acquisition [Axis]"
       }
      }
     },
     "localname": "BusinessAcquisitionAxis",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.univest.net/role/FairValueDisclosuresChangeinContingentConsiderationLiabilityDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_BusinessAcquisitionContingentConsiderationLineItems": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "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.",
        "label": "Business Acquisition, Contingent Consideration [Line Items]",
        "terseLabel": "Business Acquisition, Contingent Consideration [Line Items]"
       }
      }
     },
     "localname": "BusinessAcquisitionContingentConsiderationLineItems",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.univest.net/role/FairValueDisclosuresChangeinContingentConsiderationLiabilityDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_BusinessCombinationContingentConsiderationArrangementsChangeInAmountOfContingentConsiderationLiability1": {
     "auth_ref": [
      "r86",
      "r489"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of increase (decrease) in the value of a contingent consideration liability, including, but not limited to, differences arising upon settlement.",
        "label": "Business Combination, Contingent Consideration Arrangements, Change in Amount of Contingent Consideration, Liability",
        "terseLabel": "Adjustment of contingent consideration"
       }
      }
     },
     "localname": "BusinessCombinationContingentConsiderationArrangementsChangeInAmountOfContingentConsiderationLiability1",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.univest.net/role/FairValueDisclosuresChangeinContingentConsiderationLiabilityDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_CarryingReportedAmountFairValueDisclosureMember": {
     "auth_ref": [
      "r551",
      "r552"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Measured as reported on the statement of financial position (balance sheet).",
        "label": "Reported Value Measurement [Member]",
        "terseLabel": "Carrying Amount [Member]"
       }
      }
     },
     "localname": "CarryingReportedAmountFairValueDisclosureMember",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.univest.net/role/FairValueDisclosuresAssetsLiabilitiesandOffbalanceSheetItemsNotMeasuredatFairValueDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_CashAndCashEquivalentsFairValueDisclosure": {
     "auth_ref": [],
     "calculation": {
      "http://www.univest.net/role/FairValueDisclosuresAssetsLiabilitiesandOffbalanceSheetItemsNotMeasuredatFairValueDetails": {
       "order": 4.0,
       "parentTag": "us-gaap_AssetsFairValueDisclosure",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Fair value portion of currency on hand as well as demand deposits with banks or financial institutions. Includes other kinds of accounts that have the general characteristics of demand deposits. Also includes short-term, highly liquid investments that are both readily convertible to known amounts of cash and so near their maturity that they present insignificant risk of changes in value because of changes in interest rates.",
        "label": "Cash and Cash Equivalents, Fair Value Disclosure",
        "terseLabel": "Cash and short-term interest-earning assets"
       }
      }
     },
     "localname": "CashAndCashEquivalentsFairValueDisclosure",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.univest.net/role/FairValueDisclosuresAssetsLiabilitiesandOffbalanceSheetItemsNotMeasuredatFairValueDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_CashAndDueFromBanks": {
     "auth_ref": [
      "r612"
     ],
     "calculation": {
      "http://www.univest.net/role/CondensedConsolidatedBalanceSheets": {
       "order": 2.0,
       "parentTag": "us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalents",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "For banks and other depository institutions: Includes cash on hand (currency and coin), cash items in process of collection, noninterest bearing deposits due from other financial institutions (including corporate credit unions), and noninterest bearing balances with the Federal Reserve Banks, Federal Home Loan Banks and central banks.",
        "label": "Cash and Due from Banks",
        "terseLabel": "Cash and due from banks"
       }
      }
     },
     "localname": "CashAndDueFromBanks",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.univest.net/role/CondensedConsolidatedBalanceSheets"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalents": {
     "auth_ref": [
      "r82",
      "r89",
      "r95"
     ],
     "calculation": {
      "http://www.univest.net/role/CondensedConsolidatedBalanceSheets": {
       "order": 13.0,
       "parentTag": "us-gaap_Assets",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of cash and cash equivalents, and cash and cash equivalents restricted to withdrawal or usage. Excludes amount for disposal group and discontinued operations. Cash includes, but is not limited to, currency on hand, demand deposits with banks or financial institutions, and other accounts with general characteristics of demand deposits. Cash equivalents include, but are not limited to, short-term, highly liquid investments that are both readily convertible to known amounts of cash and so near their maturity that they present insignificant risk of changes in value because of changes in interest rates.",
        "label": "Cash, Cash Equivalents, Restricted Cash and Restricted Cash Equivalents",
        "periodEndLabel": "Cash and cash equivalents at end of period",
        "periodStartLabel": "Cash and cash equivalents at beginning of year",
        "totalLabel": "Cash and cash equivalents"
       }
      }
     },
     "localname": "CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalents",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.univest.net/role/CondensedConsolidatedBalanceSheets",
      "http://www.univest.net/role/CondensedConsolidatedStatementsofCashFlows"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseExcludingExchangeRateEffect": {
     "auth_ref": [
      "r82",
      "r554"
     ],
     "calculation": {
      "http://www.univest.net/role/CondensedConsolidatedStatementsofCashFlows": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of increase (decrease) in cash and cash equivalents, and cash and cash equivalents restricted to withdrawal or usage; excluding effect from exchange rate change. Cash includes, but is not limited to, currency on hand, demand deposits with banks or financial institutions, and other accounts with general characteristics of demand deposits. Cash equivalents include, but are not limited to, short-term, highly liquid investments that are both readily convertible to known amounts of cash and so near their maturity that they present insignificant risk of changes in value because of changes in interest rates.",
        "label": "Cash, Cash Equivalents, Restricted Cash and Restricted Cash Equivalents, Period Increase (Decrease), Excluding Exchange Rate Effect",
        "totalLabel": "Net decrease in cash and cash equivalents"
       }
      }
     },
     "localname": "CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseExcludingExchangeRateEffect",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.univest.net/role/CondensedConsolidatedStatementsofCashFlows"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_CashFlowHedgingMember": {
     "auth_ref": [
      "r504"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Hedge of the exposure to variability in the cash flows of a recognized asset or liability, or of a forecasted transaction, that is attributable to a particular risk.",
        "label": "Cash Flow Hedging [Member]",
        "terseLabel": "Cash Flow Hedging [Member]"
       }
      }
     },
     "localname": "CashFlowHedgingMember",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.univest.net/role/DerivativeInstrumentsandHedgingActivitiesDerivativesDesignatedasHedgingInstrumentsDetails",
      "http://www.univest.net/role/DerivativeInstrumentsandHedgingActivitiesNarrativeDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_CollateralAxis": {
     "auth_ref": [
      "r266"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Information by category of collateral or no collateral, from lender's perspective.",
        "label": "Collateral Held [Axis]",
        "terseLabel": "Collateral [Axis]"
       }
      }
     },
     "localname": "CollateralAxis",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.univest.net/role/LoansandLeasesCollateralDependentLoansDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_CollateralDomain": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Category of collateral or no collateral, from lender's perspective.",
        "label": "Collateral Held [Domain]",
        "terseLabel": "Collateral [Domain]"
       }
      }
     },
     "localname": "CollateralDomain",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.univest.net/role/LoansandLeasesCollateralDependentLoansDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_CollateralizedMortgageObligationsMember": {
     "auth_ref": [
      "r303"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The category includes multiclass, pay-through securitizations collateralized by mortgages secured by assets, such as automobiles and boats, which are generally structured so that the collections of principal and interest due from the underlying debtors are paid to the holders of the CMO.",
        "label": "Collateralized Mortgage Obligations [Member]",
        "terseLabel": "Collateralized Mortgage Obligations [Member]"
       }
      }
     },
     "localname": "CollateralizedMortgageObligationsMember",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.univest.net/role/FairValueDisclosuresAssetsandLiabilitiesMeasuredatFairValueonRecurringBasisDetails",
      "http://www.univest.net/role/InvestmentSecuritiesAmountofSecuritiesinUnrealizedLossPositionDetail",
      "http://www.univest.net/role/InvestmentSecuritiesHeldtoMaturityandAvailableforSaleScheduledMaturitiesDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_CommitmentsAndContingenciesDisclosureAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Commitments and Contingencies Disclosure [Abstract]"
       }
      }
     },
     "localname": "CommitmentsAndContingenciesDisclosureAbstract",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "xbrltype": "stringItemType"
    },
    "us-gaap_CommonStockDividendsPerShareDeclared": {
     "auth_ref": [
      "r340"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Aggregate dividends declared during the period for each share of common stock outstanding.",
        "label": "Common Stock, Dividends, Per Share, Declared",
        "terseLabel": "Cash dividends declared, per share"
       }
      }
     },
     "localname": "CommonStockDividendsPerShareDeclared",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.univest.net/role/CondensedConsolidatedStatementsofChangesinShareholdersEquity",
      "http://www.univest.net/role/CondensedConsolidatedStatementsofChangesinShareholdersEquityParenthetical"
     ],
     "xbrltype": "perShareItemType"
    },
    "us-gaap_CommonStockMember": {
     "auth_ref": [
      "r102",
      "r103",
      "r530"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Stock that is subordinate to all other stock of the issuer.",
        "label": "Common Stock [Member]",
        "terseLabel": "Common Stock [Member]"
       }
      }
     },
     "localname": "CommonStockMember",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.univest.net/role/CondensedConsolidatedStatementsofChangesinShareholdersEquity"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_CommonStockParOrStatedValuePerShare": {
     "auth_ref": [
      "r12"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Face amount or stated value per share of common stock.",
        "label": "Common Stock, Par or Stated Value Per Share",
        "terseLabel": "Common stock, par value"
       }
      }
     },
     "localname": "CommonStockParOrStatedValuePerShare",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.univest.net/role/CondensedConsolidatedBalanceSheetsParenthetical"
     ],
     "xbrltype": "perShareItemType"
    },
    "us-gaap_CommonStockSharesAuthorized": {
     "auth_ref": [
      "r12"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The maximum number of common shares permitted to be issued by an entity's charter and bylaws.",
        "label": "Common Stock, Shares Authorized",
        "terseLabel": "Common stock, shares authorized"
       }
      }
     },
     "localname": "CommonStockSharesAuthorized",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.univest.net/role/CondensedConsolidatedBalanceSheetsParenthetical"
     ],
     "xbrltype": "sharesItemType"
    },
    "us-gaap_CommonStockSharesIssued": {
     "auth_ref": [
      "r12"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Total number of common shares of an entity that have been sold or granted to shareholders (includes common shares that were issued, repurchased and remain in the treasury). These shares represent capital invested by the firm's shareholders and owners, and may be all or only a portion of the number of shares authorized. Shares issued include shares outstanding and shares held in the treasury.",
        "label": "Common Stock, Shares, Issued",
        "terseLabel": "Common stock, shares issued"
       }
      }
     },
     "localname": "CommonStockSharesIssued",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.univest.net/role/CondensedConsolidatedBalanceSheetsParenthetical"
     ],
     "xbrltype": "sharesItemType"
    },
    "us-gaap_CommonStockSharesOutstanding": {
     "auth_ref": [
      "r12",
      "r338"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Number of shares of common stock outstanding. Common stock represent the ownership interest in a corporation.",
        "label": "Common Stock, Shares, Outstanding",
        "terseLabel": "Common stock, shares outstanding"
       }
      }
     },
     "localname": "CommonStockSharesOutstanding",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.univest.net/role/CondensedConsolidatedBalanceSheetsParenthetical"
     ],
     "xbrltype": "sharesItemType"
    },
    "us-gaap_CommonStockValue": {
     "auth_ref": [
      "r12",
      "r571"
     ],
     "calculation": {
      "http://www.univest.net/role/CondensedConsolidatedBalanceSheets": {
       "order": 1.0,
       "parentTag": "us-gaap_StockholdersEquity",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Aggregate par or stated value of issued nonredeemable common stock (or common stock redeemable solely at the option of the issuer). This item includes treasury stock repurchased by the entity. Note: elements for number of nonredeemable common shares, par value and other disclosure concepts are in another section within stockholders' equity.",
        "label": "Common Stock, Value, Issued",
        "terseLabel": "Common stock, $5 par value: 48,000,000 shares authorized at March 31, 2022 and December 31, 2021; 31,556,799 shares issued at March 31, 2022 and December 31, 2021; 29,636,425 and 29,500,542 shares outstanding at March 31, 2022\u00a0and December 31, 2021, respectively"
       }
      }
     },
     "localname": "CommonStockValue",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.univest.net/role/CondensedConsolidatedBalanceSheets"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_CompensationAndRetirementDisclosureAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Retirement Benefits [Abstract]"
       }
      }
     },
     "localname": "CompensationAndRetirementDisclosureAbstract",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "xbrltype": "stringItemType"
    },
    "us-gaap_ComprehensiveIncomeNetOfTax": {
     "auth_ref": [
      "r47",
      "r49",
      "r50",
      "r61",
      "r633",
      "r681"
     ],
     "calculation": {
      "http://www.univest.net/role/CondensedConsolidatedStatementsofComprehensiveIncome": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      },
      "http://www.univest.net/role/CondensedConsolidatedStatementsofComprehensiveIncome_1": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount after tax of increase (decrease) in equity from transactions and other events and circumstances from net income and other comprehensive income, attributable to parent entity. Excludes changes in equity resulting from investments by owners and distributions to owners.",
        "label": "Comprehensive Income (Loss), Net of Tax, Attributable to Parent",
        "totalLabel": "Total comprehensive income (loss), net of tax amount"
       }
      }
     },
     "localname": "ComprehensiveIncomeNetOfTax",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.univest.net/role/CondensedConsolidatedStatementsofComprehensiveIncome"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_ComprehensiveIncomeNoteTextBlock": {
     "auth_ref": [
      "r60",
      "r68",
      "r632",
      "r680"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The entire disclosure for comprehensive income, which includes, but is not limited to, 1) the amount of income tax expense or benefit allocated to each component of other comprehensive income, including reclassification adjustments, 2) the reclassification adjustments for each classification of other comprehensive income and 3) the ending accumulated balances for each component of comprehensive income.",
        "label": "Comprehensive Income (Loss) Note [Text Block]",
        "terseLabel": "Accumulated Other Comprehensive (Loss) Income"
       }
      }
     },
     "localname": "ComprehensiveIncomeNoteTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.univest.net/role/AccumulatedOtherComprehensiveLossIncome"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_ConstructionLoansMember": {
     "auth_ref": [
      "r706"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "A borrowing arrangement which provides the entity constructing a facility (such as a building and a landfill) with funds to effect construction, generally on a draw down, or as needed, basis.",
        "label": "Construction Loans [Member]",
        "terseLabel": "Real-Estate Construction [Member]"
       }
      }
     },
     "localname": "ConstructionLoansMember",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.univest.net/role/LoansandLeasesAgeAnalysisofPastDueLoansandLeasesDetails",
      "http://www.univest.net/role/LoansandLeasesAllowanceforCreditLossesLoansandLeasesRollForwardDetails",
      "http://www.univest.net/role/LoansandLeasesAllowanceforLoanandLeaseLossesandRecordedInvestmentinLoansandLeasesDetails",
      "http://www.univest.net/role/LoansandLeasesCreditQualityDetails",
      "http://www.univest.net/role/LoansandLeasesCreditQualityIndicatorsDetails",
      "http://www.univest.net/role/LoansandLeasesSummaryofMajorLoanandLeaseCategoriesDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_ConsumerLoanMember": {
     "auth_ref": [
      "r268"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Loan or extension of credit for personal, family, or household use excluding real estate.",
        "label": "Consumer Loan [Member]",
        "terseLabel": "Loans to Individuals [Member]"
       }
      }
     },
     "localname": "ConsumerLoanMember",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.univest.net/role/LoansandLeasesAgeAnalysisofPastDueLoansandLeasesDetails",
      "http://www.univest.net/role/LoansandLeasesAllowanceforCreditLossesLoansandLeasesRollForwardDetails",
      "http://www.univest.net/role/LoansandLeasesAllowanceforLoanandLeaseLossesandRecordedInvestmentinLoansandLeasesDetails",
      "http://www.univest.net/role/LoansandLeasesCreditQualityDetails",
      "http://www.univest.net/role/LoansandLeasesCreditQualityIndicatorsDetails",
      "http://www.univest.net/role/LoansandLeasesNonaccrualDetails",
      "http://www.univest.net/role/LoansandLeasesNonperformingLoansandLeasesDetails",
      "http://www.univest.net/role/LoansandLeasesSummaryofMajorLoanandLeaseCategoriesDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_CoreDepositsMember": {
     "auth_ref": [
      "r668"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Entity's long-term relationships with depositors, commonly known as core deposit intangibles, which are separate from the financial instruments themselves.",
        "label": "Core Deposits [Member]",
        "terseLabel": "Core Deposits [Member]"
       }
      }
     },
     "localname": "CoreDepositsMember",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.univest.net/role/GoodwillandOtherIntangibleAssetsComponentsofIntangibleAssetsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_CorporateBondSecuritiesMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "This category includes information about long-term debt securities that are issued by either a domestic or foreign corporate business entity with a date certain promise of repayment and a return to the holder for the time value of money (for example, variable or fixed interest, original issue discount).",
        "label": "Corporate Bond Securities [Member]",
        "terseLabel": "Corporate Bonds [Member]"
       }
      }
     },
     "localname": "CorporateBondSecuritiesMember",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.univest.net/role/FairValueDisclosuresAssetsandLiabilitiesMeasuredatFairValueonRecurringBasisDetails",
      "http://www.univest.net/role/InvestmentSecuritiesAllowanceforCreditLossRollforwardDetails",
      "http://www.univest.net/role/InvestmentSecuritiesAmountofSecuritiesinUnrealizedLossPositionDetail",
      "http://www.univest.net/role/InvestmentSecuritiesHeldtoMaturityandAvailableforSaleScheduledMaturitiesDetails",
      "http://www.univest.net/role/InvestmentSecuritiesNarrativeDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_CorporateDebtSecuritiesMember": {
     "auth_ref": [
      "r378",
      "r426",
      "r698"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Debt securities issued by domestic or foreign corporate business, banks and other entities with a promise of repayment.",
        "label": "Corporate Debt Securities [Member]",
        "terseLabel": "Corporate Debt Securities [Member]"
       }
      }
     },
     "localname": "CorporateDebtSecuritiesMember",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.univest.net/role/FairValueDisclosuresLevel3RollForwardDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_CreditRiskContractMember": {
     "auth_ref": [
      "r30",
      "r378",
      "r517"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Derivative instrument whose primary underlying risk is tied to the creditworthiness or the credit spread of an entity.",
        "label": "Credit Risk Contract [Member]",
        "terseLabel": "Credit Risk Contract [Member]"
       }
      }
     },
     "localname": "CreditRiskContractMember",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.univest.net/role/DerivativeInstrumentsandHedgingActivitiesDerivativesNotDesignatedasHedgingInstrumentsDetails",
      "http://www.univest.net/role/DerivativeInstrumentsandHedgingActivitiesNarrativeDetails",
      "http://www.univest.net/role/FairValueDisclosuresAssetsandLiabilitiesMeasuredatFairValueonRecurringBasisDetails",
      "http://www.univest.net/role/FairValueDisclosuresLevel3RollForwardDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_CustomerContractsMember": {
     "auth_ref": [
      "r487"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Entity's established relationships with its customers through contracts.",
        "label": "Customer Contracts [Member]",
        "terseLabel": "Customer Related Intangibles [Member]"
       }
      }
     },
     "localname": "CustomerContractsMember",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.univest.net/role/GoodwillandOtherIntangibleAssetsComponentsofIntangibleAssetsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_DebtAndEquitySecuritiesGainLoss": {
     "auth_ref": [
      "r63",
      "r64"
     ],
     "calculation": {
      "http://www.univest.net/role/CondensedConsolidatedStatementsofCashFlows": {
       "order": 2.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": -1.0
      },
      "http://www.univest.net/role/CondensedConsolidatedStatementsofIncome": {
       "order": 5.0,
       "parentTag": "us-gaap_NoninterestIncome",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of unrealized and realized gain (loss) on investment in debt and equity securities.",
        "label": "Debt and Equity Securities, Gain (Loss)",
        "negatedLabel": "Net gain on sales of investment securities",
        "terseLabel": "Net gain on sales of investment securities"
       }
      }
     },
     "localname": "DebtAndEquitySecuritiesGainLoss",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.univest.net/role/CondensedConsolidatedStatementsofCashFlows",
      "http://www.univest.net/role/CondensedConsolidatedStatementsofIncome"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DebtDisclosureAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Debt Disclosure [Abstract]"
       }
      }
     },
     "localname": "DebtDisclosureAbstract",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "xbrltype": "stringItemType"
    },
    "us-gaap_DebtDisclosureTextBlock": {
     "auth_ref": [
      "r97",
      "r318",
      "r319",
      "r320",
      "r321",
      "r322",
      "r323",
      "r324",
      "r327",
      "r328",
      "r329",
      "r331",
      "r335"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The entire disclosure for information about short-term and long-term debt arrangements, which includes amounts of borrowings under each line of credit, note payable, commercial paper issue, bonds indenture, debenture issue, own-share lending arrangements and any other contractual agreement to repay funds, and about the underlying arrangements, rationale for a classification as long-term, including repayment terms, interest rates, collateral provided, restrictions on use of assets and activities, whether or not in compliance with debt covenants, and other matters important to users of the financial statements, such as the effects of refinancing and noncompliance with debt covenants.",
        "label": "Debt Disclosure [Text Block]",
        "terseLabel": "Borrowings"
       }
      }
     },
     "localname": "DebtDisclosureTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.univest.net/role/Borrowings"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_DebtSecuritiesAvailableForSaleAllowanceForCreditLoss": {
     "auth_ref": [
      "r205",
      "r270",
      "r276",
      "r279"
     ],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of allowance for credit loss on investment in debt security measured at fair value with change in fair value recognized in other comprehensive income (available-for-sale).",
        "label": "Debt Securities, Available-for-sale, Allowance for Credit Loss",
        "negatedLabel": "Debt securities, available-for-sale, allowance for credit loss",
        "negatedTerseLabel": "Investment securities available-for-sale (amortized cost $372,860 and $319,474, net of allowance for credit losses of $1,275 and $929 at March 31, 2022 and December 31, 2021, respectively)",
        "periodEndLabel": "Securities, available-for-sale, allowance for credit loss, ending balance",
        "periodStartLabel": "Securities, available-for-sale, allowance for credit loss, beginning balance"
       }
      }
     },
     "localname": "DebtSecuritiesAvailableForSaleAllowanceForCreditLoss",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.univest.net/role/CondensedConsolidatedBalanceSheetsParenthetical",
      "http://www.univest.net/role/InvestmentSecuritiesAllowanceforCreditLossRollforwardDetails",
      "http://www.univest.net/role/InvestmentSecuritiesHeldtoMaturityandAvailableforSaleScheduledMaturitiesDetails",
      "http://www.univest.net/role/InvestmentSecuritiesNarrativeDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DebtSecuritiesAvailableForSaleAllowanceForCreditLossNotPreviouslyRecorded": {
     "auth_ref": [
      "r277"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of expense for credit loss on investment in debt security measured at fair value with change in fair value recognized in other comprehensive income (available-for-sale), for which no credit loss was previously recorded.",
        "label": "Debt Securities, Available-for-sale, Allowance for Credit Loss, Not Previously Recorded",
        "terseLabel": "Additions for securities for which no previous expected credit losses were recognized"
       }
      }
     },
     "localname": "DebtSecuritiesAvailableForSaleAllowanceForCreditLossNotPreviouslyRecorded",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.univest.net/role/InvestmentSecuritiesAllowanceforCreditLossRollforwardDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DebtSecuritiesAvailableForSaleAllowanceForCreditLossNotToSellBeforeRecoveryCreditLossPreviouslyRecordedExpenseReversal": {
     "auth_ref": [
      "r278"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of expense (reversal of expense) for allowance for credit loss on investment in debt security measured at fair value with change in fair value recognized in other comprehensive income (available-for-sale), not intended to be sold and not more likely than not will be required to sell before recovery of amortized cost basis, with previously recorded allowance.",
        "label": "Debt Securities, Available-for-sale, Allowance for Credit Loss, Not to Sell before Recovery, Credit Loss, Previously Recorded, Expense (Reversal)",
        "terseLabel": "Change in securities for which a previous expected credit loss was recognized"
       }
      }
     },
     "localname": "DebtSecuritiesAvailableForSaleAllowanceForCreditLossNotToSellBeforeRecoveryCreditLossPreviouslyRecordedExpenseReversal",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.univest.net/role/InvestmentSecuritiesAllowanceforCreditLossRollforwardDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DebtSecuritiesAvailableForSaleAllowanceForCreditLossTableTextBlock": {
     "auth_ref": [
      "r280"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Tabular disclosure of allowance for credit loss on investment in debt security measured at fair value with change in fair value recognized in other comprehensive income (available-for-sale).",
        "label": "Debt Securities, Available-for-sale, Allowance for Credit Loss [Table Text Block]",
        "terseLabel": "Available-for-sale Securities, Allowance for Credit Loss Rollforward"
       }
      }
     },
     "localname": "DebtSecuritiesAvailableForSaleAllowanceForCreditLossTableTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.univest.net/role/InvestmentSecuritiesTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_DebtSecuritiesAvailableForSaleContinuousUnrealizedLossPosition12MonthsOrLonger": {
     "auth_ref": [
      "r236",
      "r274",
      "r281"
     ],
     "calculation": {
      "http://www.univest.net/role/InvestmentSecuritiesAmountofSecuritiesinUnrealizedLossPositionDetail": {
       "order": 2.0,
       "parentTag": "us-gaap_DebtSecuritiesAvailableForSaleUnrealizedLossPosition",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of investment in debt security measured at fair value with change in fair value recognized in other comprehensive income (available-for-sale), in continuous unrealized loss position for more than 12 months, without allowance for credit loss. Includes beneficial interest in securitized financial asset.",
        "label": "Debt Securities, Available-for-sale, Continuous Unrealized Loss Position, 12 Months or Longer",
        "terseLabel": "Twelve months or longer, fair value"
       }
      }
     },
     "localname": "DebtSecuritiesAvailableForSaleContinuousUnrealizedLossPosition12MonthsOrLonger",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.univest.net/role/InvestmentSecuritiesAmountofSecuritiesinUnrealizedLossPositionDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DebtSecuritiesAvailableForSaleContinuousUnrealizedLossPosition12MonthsOrLongerAccumulatedLoss": {
     "auth_ref": [
      "r236",
      "r274"
     ],
     "calculation": {
      "http://www.univest.net/role/InvestmentSecuritiesAmountofSecuritiesinUnrealizedLossPositionDetail": {
       "order": 2.0,
       "parentTag": "us-gaap_DebtSecuritiesAvailableForSaleUnrealizedLossPositionAccumulatedLoss",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of accumulated unrealized loss on investment in debt security measured at fair value with change in fair value recognized in other comprehensive income (available-for-sale), in continuous unrealized loss position for 12 months or longer, without allowance for credit loss. Includes beneficial interest in securitized financial asset.",
        "label": "Debt Securities, Available-for-sale, Continuous Unrealized Loss Position, 12 Months or Longer, Accumulated Loss",
        "negatedTerseLabel": "Available-for-sale securities, continuous unrealized loss position, 12 months or longer, accumulated loss"
       }
      }
     },
     "localname": "DebtSecuritiesAvailableForSaleContinuousUnrealizedLossPosition12MonthsOrLongerAccumulatedLoss",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.univest.net/role/InvestmentSecuritiesAmountofSecuritiesinUnrealizedLossPositionDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DebtSecuritiesAvailableForSaleContinuousUnrealizedLossPositionLessThan12Months": {
     "auth_ref": [
      "r236",
      "r274",
      "r281"
     ],
     "calculation": {
      "http://www.univest.net/role/InvestmentSecuritiesAmountofSecuritiesinUnrealizedLossPositionDetail": {
       "order": 1.0,
       "parentTag": "us-gaap_DebtSecuritiesAvailableForSaleUnrealizedLossPosition",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of investment in debt security measured at fair value with change in fair value recognized in other comprehensive income (available-for-sale), in continuous unrealized loss position for less than 12 months, without allowance for credit loss. Includes beneficial interest in securitized financial asset.",
        "label": "Debt Securities, Available-for-sale, Continuous Unrealized Loss Position, Less than 12 Months",
        "terseLabel": "Less than twelve months, fair value"
       }
      }
     },
     "localname": "DebtSecuritiesAvailableForSaleContinuousUnrealizedLossPositionLessThan12Months",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.univest.net/role/InvestmentSecuritiesAmountofSecuritiesinUnrealizedLossPositionDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DebtSecuritiesAvailableForSaleContinuousUnrealizedLossPositionLessThan12MonthsAccumulatedLoss": {
     "auth_ref": [
      "r236",
      "r274"
     ],
     "calculation": {
      "http://www.univest.net/role/InvestmentSecuritiesAmountofSecuritiesinUnrealizedLossPositionDetail": {
       "order": 1.0,
       "parentTag": "us-gaap_DebtSecuritiesAvailableForSaleUnrealizedLossPositionAccumulatedLoss",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of accumulated unrealized loss on investment in debt security measured at fair value with change in fair value recognized in other comprehensive income (available-for-sale), in continuous unrealized loss position for less than 12 months, without allowance for credit loss. Includes beneficial interest in securitized financial asset.",
        "label": "Debt Securities, Available-for-sale, Continuous Unrealized Loss Position, Less than 12 Months, Accumulated Loss",
        "negatedTerseLabel": "Available-for-sale securities, continuous unrealized loss position, less than 12 months, accumulated loss"
       }
      }
     },
     "localname": "DebtSecuritiesAvailableForSaleContinuousUnrealizedLossPositionLessThan12MonthsAccumulatedLoss",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.univest.net/role/InvestmentSecuritiesAmountofSecuritiesinUnrealizedLossPositionDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DebtSecuritiesAvailableForSaleRealizedGain": {
     "auth_ref": [
      "r239"
     ],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of realized gain on investment in debt security measured at fair value with change in fair value recognized in other comprehensive income (available-for-sale).",
        "label": "Debt Securities, Available-for-sale, Realized Gain",
        "terseLabel": "Gross realized gains on sales"
       }
      }
     },
     "localname": "DebtSecuritiesAvailableForSaleRealizedGain",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.univest.net/role/InvestmentSecuritiesInformationRelatedtoSalesofSecuritiesAvailableforSaleDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DebtSecuritiesAvailableForSaleTable": {
     "auth_ref": [
      "r242"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Disclosure of information about investment in debt security measured at fair value with change in fair value recognized in other comprehensive income (available-for-sale).",
        "label": "Debt Securities, Available-for-sale [Table]",
        "terseLabel": "Debt Securities, Available-for-sale [Table]"
       }
      }
     },
     "localname": "DebtSecuritiesAvailableForSaleTable",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.univest.net/role/InvestmentSecuritiesAllowanceforCreditLossRollforwardDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_DebtSecuritiesAvailableForSaleUnrealizedLossPosition": {
     "auth_ref": [
      "r233",
      "r271",
      "r281"
     ],
     "calculation": {
      "http://www.univest.net/role/InvestmentSecuritiesAmountofSecuritiesinUnrealizedLossPositionDetail": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of investment in debt security measured at fair value with change in fair value recognized in other comprehensive income (available-for-sale), in unrealized loss position without allowance for credit loss.",
        "label": "Debt Securities, Available-for-sale, Unrealized Loss Position",
        "terseLabel": "Fair value AFS in unrealized loss with no ACL",
        "totalLabel": "Total, fair value"
       }
      }
     },
     "localname": "DebtSecuritiesAvailableForSaleUnrealizedLossPosition",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.univest.net/role/InvestmentSecuritiesAmountofSecuritiesinUnrealizedLossPositionDetail",
      "http://www.univest.net/role/InvestmentSecuritiesNarrativeDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DebtSecuritiesAvailableForSaleUnrealizedLossPositionAccumulatedLoss": {
     "auth_ref": [
      "r234",
      "r272"
     ],
     "calculation": {
      "http://www.univest.net/role/InvestmentSecuritiesAmountofSecuritiesinUnrealizedLossPositionDetail": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of accumulated unrealized loss on investment in debt security measured at fair value with change in fair value recognized in other comprehensive income (available-for-sale), in unrealized loss position, without allowance for credit loss. Includes beneficial interest in securitized financial asset.",
        "label": "Debt Securities, Available-for-sale, Unrealized Loss Position, Accumulated Loss",
        "negatedTotalLabel": "Available-for-sale securities, continuous unrealized loss position, accumulated loss",
        "terseLabel": "Unrealized loss included in fair value of securities AFS in unrealized loss position for which an ACL has not been recorded"
       }
      }
     },
     "localname": "DebtSecuritiesAvailableForSaleUnrealizedLossPositionAccumulatedLoss",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.univest.net/role/InvestmentSecuritiesAmountofSecuritiesinUnrealizedLossPositionDetail",
      "http://www.univest.net/role/InvestmentSecuritiesNarrativeDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DebtSecuritiesHeldToMaturityAllowanceForCreditLoss": {
     "auth_ref": [
      "r217",
      "r249",
      "r251",
      "r254"
     ],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of allowance for credit loss for debt security measured at amortized cost (held-to-maturity).",
        "label": "Debt Securities, Held-to-maturity, Allowance for Credit Loss",
        "negatedTerseLabel": "Securities Held-to-maturity, Allowance for Credit Loss"
       }
      }
     },
     "localname": "DebtSecuritiesHeldToMaturityAllowanceForCreditLoss",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.univest.net/role/InvestmentSecuritiesHeldtoMaturityandAvailableforSaleScheduledMaturitiesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DebtWeightedAverageInterestRate": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Weighted average interest rate of debt outstanding.",
        "label": "Debt, Weighted Average Interest Rate",
        "terseLabel": "Weighted average interest rate"
       }
      }
     },
     "localname": "DebtWeightedAverageInterestRate",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.univest.net/role/BorrowingsSummaryofBorrowingsByTypeDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "us-gaap_DefinedBenefitPlanAmortizationOfGainsLosses": {
     "auth_ref": [
      "r355",
      "r393",
      "r420",
      "r426",
      "r427"
     ],
     "calculation": {
      "http://www.univest.net/role/RetirementPlansandOtherPostretirementBenefitsComponentsofNetPeriodicBenefitCostIncomeDetails": {
       "order": 4.0,
       "parentTag": "us-gaap_DefinedBenefitPlanNetPeriodicBenefitCost",
       "weight": -1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of gain (loss) recognized in net periodic benefit (cost) credit of defined benefit plan.",
        "label": "Defined Benefit Plan, Amortization of Gain (Loss)",
        "negatedLabel": "Amortization of net actuarial loss"
       }
      }
     },
     "localname": "DefinedBenefitPlanAmortizationOfGainsLosses",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.univest.net/role/RetirementPlansandOtherPostretirementBenefitsComponentsofNetPeriodicBenefitCostIncomeDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DefinedBenefitPlanBenefitObligationBenefitsPaid": {
     "auth_ref": [
      "r363",
      "r430"
     ],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of payment to participant of defined benefit plan which decreases benefit obligation. For pension plan, payment includes, but is not limited to, pension benefits and death benefits. For other postretirement plan, payment includes, but is not limited to, prescription drug benefits, health care benefits, life insurance benefits, and legal, educational and advisory services.",
        "label": "Defined Benefit Plan, Benefit Obligation, Benefits Paid",
        "terseLabel": "Defined benefit plan, benefits paid"
       }
      }
     },
     "localname": "DefinedBenefitPlanBenefitObligationBenefitsPaid",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.univest.net/role/RetirementPlansandOtherPostRetirementBenefitsNarrativeDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DefinedBenefitPlanContributionsByEmployer": {
     "auth_ref": [
      "r370",
      "r378",
      "r380",
      "r424",
      "r426",
      "r427"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of contribution received by defined benefit plan from employer which increases plan assets.",
        "label": "Defined Benefit Plan, Plan Assets, Contributions by Employer",
        "terseLabel": "Defined benefit plan, contributions by employer"
       }
      }
     },
     "localname": "DefinedBenefitPlanContributionsByEmployer",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.univest.net/role/RetirementPlansandOtherPostRetirementBenefitsNarrativeDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DefinedBenefitPlanDisclosureLineItems": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "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.",
        "label": "Defined Benefit Plan Disclosure [Line Items]",
        "terseLabel": "Defined Benefit Plan Disclosure [Line Items]"
       }
      }
     },
     "localname": "DefinedBenefitPlanDisclosureLineItems",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.univest.net/role/RetirementPlansandOtherPostRetirementBenefitsNarrativeDetails",
      "http://www.univest.net/role/RetirementPlansandOtherPostretirementBenefitsComponentsofNetPeriodicBenefitCostIncomeDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_DefinedBenefitPlanExpectedFutureEmployerContributionsNextFiscalYear": {
     "auth_ref": [
      "r388",
      "r427"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of contribution expected to be received by defined benefit plan from employer in next fiscal year following current fiscal year.",
        "label": "Defined Benefit Plan, Expected Future Employer Contributions, Next Fiscal Year",
        "terseLabel": "Expected employer contributions for next fiscal year"
       }
      }
     },
     "localname": "DefinedBenefitPlanExpectedFutureEmployerContributionsNextFiscalYear",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.univest.net/role/RetirementPlansandOtherPostRetirementBenefitsNarrativeDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DefinedBenefitPlanExpectedReturnOnPlanAssets": {
     "auth_ref": [
      "r355",
      "r392",
      "r419",
      "r426",
      "r427"
     ],
     "calculation": {
      "http://www.univest.net/role/RetirementPlansandOtherPostretirementBenefitsComponentsofNetPeriodicBenefitCostIncomeDetails": {
       "order": 3.0,
       "parentTag": "us-gaap_DefinedBenefitPlanNetPeriodicBenefitCost",
       "weight": -1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of expected return (loss) recognized in net periodic benefit (cost) credit, calculated based on expected long-term rate of return and market-related value of plan assets of defined benefit plan.",
        "label": "Defined Benefit Plan, Expected Return (Loss) on Plan Assets",
        "negatedLabel": "Expected loss on plan assets"
       }
      }
     },
     "localname": "DefinedBenefitPlanExpectedReturnOnPlanAssets",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.univest.net/role/RetirementPlansandOtherPostretirementBenefitsComponentsofNetPeriodicBenefitCostIncomeDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DefinedBenefitPlanInterestCost": {
     "auth_ref": [
      "r355",
      "r359",
      "r391",
      "r418",
      "r426",
      "r427"
     ],
     "calculation": {
      "http://www.univest.net/role/RetirementPlansandOtherPostretirementBenefitsComponentsofNetPeriodicBenefitCostIncomeDetails": {
       "order": 2.0,
       "parentTag": "us-gaap_DefinedBenefitPlanNetPeriodicBenefitCost",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of cost recognized for passage of time related to defined benefit plan.",
        "label": "Defined Benefit Plan, Interest Cost",
        "terseLabel": "Interest cost"
       }
      }
     },
     "localname": "DefinedBenefitPlanInterestCost",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.univest.net/role/RetirementPlansandOtherPostretirementBenefitsComponentsofNetPeriodicBenefitCostIncomeDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DefinedBenefitPlanNetPeriodicBenefitCost": {
     "auth_ref": [
      "r389",
      "r416",
      "r426",
      "r427"
     ],
     "calculation": {
      "http://www.univest.net/role/RetirementPlansandOtherPostretirementBenefitsComponentsofNetPeriodicBenefitCostIncomeDetails": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of net periodic benefit cost (credit) for defined benefit plan.",
        "label": "Defined Benefit Plan, Net Periodic Benefit Cost (Credit)",
        "totalLabel": "Net periodic benefit (income) cost"
       }
      }
     },
     "localname": "DefinedBenefitPlanNetPeriodicBenefitCost",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.univest.net/role/RetirementPlansandOtherPostretirementBenefitsComponentsofNetPeriodicBenefitCostIncomeDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DefinedBenefitPlanServiceCost": {
     "auth_ref": [
      "r357",
      "r390",
      "r417",
      "r426",
      "r427"
     ],
     "calculation": {
      "http://www.univest.net/role/RetirementPlansandOtherPostretirementBenefitsComponentsofNetPeriodicBenefitCostIncomeDetails": {
       "order": 1.0,
       "parentTag": "us-gaap_DefinedBenefitPlanNetPeriodicBenefitCost",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of cost for actuarial present value of benefits attributed to service rendered by employee for defined benefit plan.",
        "label": "Defined Benefit Plan, Service Cost",
        "terseLabel": "Service cost"
       }
      }
     },
     "localname": "DefinedBenefitPlanServiceCost",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.univest.net/role/RetirementPlansandOtherPostretirementBenefitsComponentsofNetPeriodicBenefitCostIncomeDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DemandDepositAccounts": {
     "auth_ref": [
      "r623"
     ],
     "calculation": {
      "http://www.univest.net/role/FairValueDisclosuresAssetsLiabilitiesandOffbalanceSheetItemsNotMeasuredatFairValueDetails": {
       "order": 1.0,
       "parentTag": "us-gaap_DepositsFairValueDisclosure",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The amount of money in accounts that may bear interest and that the depositor is entitled to withdraw at any time without prior notice.",
        "label": "Demand Deposit Accounts",
        "terseLabel": "Demand and savings deposits, non-maturity"
       }
      }
     },
     "localname": "DemandDepositAccounts",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.univest.net/role/FairValueDisclosuresAssetsLiabilitiesandOffbalanceSheetItemsNotMeasuredatFairValueDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DepositAccountMember": {
     "auth_ref": [
      "r345"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Bank account at depository institution allowing money to be withdrawn or deposited by account holder.",
        "label": "Deposit Account [Member]",
        "terseLabel": "Service charges on deposit accounts"
       }
      }
     },
     "localname": "DepositAccountMember",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.univest.net/role/CondensedConsolidatedStatementsofIncome"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_DepositLiabilitiesDisclosuresTextBlock": {
     "auth_ref": [
      "r623",
      "r666",
      "r731",
      "r732"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The entire disclosure for deposit liabilities including data and tables. It may include a description of the entity's deposit liabilities, the aggregate amount of time deposits (including certificates of deposit) in denominations of $100,000 or more at the balance sheet date; the aggregate amount of any demand deposits that have been reclassified as loan balances, such as overdrafts, at the balance sheet date; deposits that are received on terms other than those in the normal course of business, the amount of accrued interest on deposit liabilities; securities, mortgage loans or other financial instruments that serve as collateral for deposits; for time deposits having a remaining term of more than one year, the aggregate amount of maturities for each of the five years following the balance sheet date; and the weighted average interest rate for all deposit liabilities held by the entity.",
        "label": "Deposit Liabilities Disclosures [Text Block]",
        "terseLabel": "Deposits"
       }
      }
     },
     "localname": "DepositLiabilitiesDisclosuresTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.univest.net/role/Deposits"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_DepositLiabilitiesReclassifiedAsLoansReceivable1": {
     "auth_ref": [
      "r665"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of deposits held by the entity that have been reclassified as loan balances receivable, for example, but not limited to, overdrafts receivable.",
        "label": "Deposit Liabilities Reclassified as Loans Receivable",
        "terseLabel": "Overdraft deposits included in the above table"
       }
      }
     },
     "localname": "DepositLiabilitiesReclassifiedAsLoansReceivable1",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.univest.net/role/LoansandLeasesSummaryofMajorLoanandLeaseCategoriesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_Deposits": {
     "auth_ref": [
      "r623"
     ],
     "calculation": {
      "http://www.univest.net/role/CondensedConsolidatedBalanceSheets": {
       "order": 1.0,
       "parentTag": "us-gaap_Liabilities",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The aggregate of all deposit liabilities held by the entity, including foreign and domestic, interest and noninterest bearing; may include demand deposits, saving deposits, Negotiable Order of Withdrawal (NOW) and time deposits among others.",
        "label": "Deposits",
        "totalLabel": "Deposits, Total"
       }
      }
     },
     "localname": "Deposits",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.univest.net/role/CondensedConsolidatedBalanceSheets",
      "http://www.univest.net/role/DepositsScheduleofComponentsofWeightedAverageInterestRateandBalanceofDepositsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DepositsAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Deposits [Abstract]",
        "terseLabel": "Deposits:"
       }
      }
     },
     "localname": "DepositsAbstract",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.univest.net/role/FairValueDisclosuresAssetsLiabilitiesandOffbalanceSheetItemsNotMeasuredatFairValueDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_DepositsByTypeAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Deposits, by Type [Abstract]",
        "terseLabel": "Deposits [Abstract]"
       }
      }
     },
     "localname": "DepositsByTypeAbstract",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.univest.net/role/DepositsScheduleofComponentsofWeightedAverageInterestRateandBalanceofDepositsDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_DepositsFairValueDisclosure": {
     "auth_ref": [],
     "calculation": {
      "http://www.univest.net/role/FairValueDisclosuresAssetsLiabilitiesandOffbalanceSheetItemsNotMeasuredatFairValueDetails": {
       "order": 1.0,
       "parentTag": "us-gaap_LiabilitiesFairValueDisclosure",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Fair value portion of deposit liabilities held by the entity, including, but not limited to, foreign and domestic, interest and noninterest bearing, demand deposits, saving deposits, negotiable orders of withdrawal (NOW) and time deposits.",
        "label": "Deposits, Fair Value Disclosure",
        "totalLabel": "Total deposits"
       }
      }
     },
     "localname": "DepositsFairValueDisclosure",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.univest.net/role/FairValueDisclosuresAssetsLiabilitiesandOffbalanceSheetItemsNotMeasuredatFairValueDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DepositsSavingsDeposits": {
     "auth_ref": [
      "r623"
     ],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of interest bearing deposits with no stated maturity, which may include passbook and statement savings accounts and money-market deposit accounts (MMDAs).",
        "label": "Deposits, Savings Deposits",
        "terseLabel": "Deposits, Savings Deposits"
       }
      }
     },
     "localname": "DepositsSavingsDeposits",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.univest.net/role/DepositsScheduleofComponentsofWeightedAverageInterestRateandBalanceofDepositsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DepreciationNonproduction": {
     "auth_ref": [
      "r87",
      "r294"
     ],
     "calculation": {
      "http://www.univest.net/role/CondensedConsolidatedStatementsofCashFlows": {
       "order": 8.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The expense recognized in the current period that allocates the cost of nonproduction tangible assets over their useful lives.",
        "label": "Depreciation, Nonproduction",
        "terseLabel": "Depreciation of premises and equipment"
       }
      }
     },
     "localname": "DepreciationNonproduction",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.univest.net/role/CondensedConsolidatedStatementsofCashFlows"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DerivativeAssets": {
     "auth_ref": [
      "r28",
      "r29",
      "r30",
      "r550"
     ],
     "calculation": {
      "http://www.univest.net/role/FairValueDisclosuresAssetsandLiabilitiesMeasuredatFairValueonRecurringBasisDetails": {
       "order": 4.0,
       "parentTag": "us-gaap_AssetsFairValueDisclosure",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Fair value, after the effects of master netting arrangements, of a financial asset or other contract with one or more underlyings, notional amount or payment provision or both, and the contract can be net settled by means outside the contract or delivery of an asset. Includes assets not subject to a master netting arrangement and not elected to be offset.",
        "label": "Derivative Asset",
        "terseLabel": "Derivative asset"
       }
      }
     },
     "localname": "DerivativeAssets",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.univest.net/role/FairValueDisclosuresAssetsandLiabilitiesMeasuredatFairValueonRecurringBasisDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DerivativeBasisSpreadOnVariableRate": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The percentage points added to the reference rate to compute the variable rate on the interest rate derivative.",
        "label": "Derivative, Basis Spread on Variable Rate",
        "terseLabel": "Basis points"
       }
      }
     },
     "localname": "DerivativeBasisSpreadOnVariableRate",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.univest.net/role/DerivativeInstrumentsandHedgingActivitiesNarrativeDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "us-gaap_DerivativeContractTypeDomain": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Financial instrument or contract with one or more underlyings, notional amount or payment provision or both, and the contract can be net settled by means outside the contract or delivery of an asset.",
        "label": "Derivative Contract [Domain]",
        "terseLabel": "Derivative Contract [Domain]"
       }
      }
     },
     "localname": "DerivativeContractTypeDomain",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.univest.net/role/DerivativeInstrumentsandHedgingActivitiesDerivativesDesignatedasHedgingInstrumentsDetails",
      "http://www.univest.net/role/DerivativeInstrumentsandHedgingActivitiesDerivativesNotDesignatedasHedgingInstrumentsDetails",
      "http://www.univest.net/role/DerivativeInstrumentsandHedgingActivitiesNarrativeDetails",
      "http://www.univest.net/role/FairValueDisclosuresLevel3RollForwardDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_DerivativeFairValueOfDerivativeAssetAmountNotOffsetAgainstCollateral": {
     "auth_ref": [
      "r28",
      "r29",
      "r31",
      "r523"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Fair value, after offset of derivative liability, of financial asset or other contract with one or more underlyings, notional amount or payment provision or both, and the contract can be net settled by means outside the contract or delivery of an asset, before offset against an obligation to return collateral under a master netting arrangement. Includes assets elected not to be offset. Excludes assets not subject to a master netting arrangement.",
        "label": "Derivative Asset, Fair Value, Amount Not Offset Against Collateral",
        "terseLabel": "Derivative assets"
       }
      }
     },
     "localname": "DerivativeFairValueOfDerivativeAssetAmountNotOffsetAgainstCollateral",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.univest.net/role/DerivativeInstrumentsandHedgingActivitiesDerivativesDesignatedasHedgingInstrumentsDetails",
      "http://www.univest.net/role/DerivativeInstrumentsandHedgingActivitiesDerivativesNotDesignatedasHedgingInstrumentsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DerivativeFairValueOfDerivativeLiabilityAmountNotOffsetAgainstCollateral": {
     "auth_ref": [
      "r28",
      "r29",
      "r31",
      "r523"
     ],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Fair value, after offset of derivative asset, of financial liability or contract with one or more underlyings, notional amount or payment provision or both, and the contract can be net settled by means outside the contract or delivery of an asset, elected not to be and before offset against a right to receive collateral under a master netting arrangement. Includes liabilities elected not to be offset. Excludes liabilities not subject to a master netting arrangement.",
        "label": "Derivative Liability, Fair Value, Amount Not Offset Against Collateral",
        "terseLabel": "Derivative liabilities"
       }
      }
     },
     "localname": "DerivativeFairValueOfDerivativeLiabilityAmountNotOffsetAgainstCollateral",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.univest.net/role/DerivativeInstrumentsandHedgingActivitiesDerivativesDesignatedasHedgingInstrumentsDetails",
      "http://www.univest.net/role/DerivativeInstrumentsandHedgingActivitiesDerivativesNotDesignatedasHedgingInstrumentsDetails",
      "http://www.univest.net/role/DerivativeInstrumentsandHedgingActivitiesNarrativeDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DerivativeFinancialInstrumentsLiabilitiesMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "This item represents derivative instrument obligations meeting the definition of a liability which are reported as of the balance sheet date. Derivative instrument obligations are generally measured at fair value, and adjustments to the carrying amount of hedged items reflect changes in their fair value (that is, losses) that are attributable to the risk being hedged and that arise while the hedge is in effect.",
        "label": "Derivative Financial Instruments, Liabilities [Member]",
        "terseLabel": "Derivative Financial Instruments, Liabilities [Member]"
       }
      }
     },
     "localname": "DerivativeFinancialInstrumentsLiabilitiesMember",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.univest.net/role/FairValueDisclosuresLevel3RollForwardDetails",
      "http://www.univest.net/role/FairValueDisclosuresNarrativeDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_DerivativeFixedInterestRate": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Fixed interest rate related to the interest rate derivative.",
        "label": "Derivative, Fixed Interest Rate",
        "terseLabel": "Derivative fixed interest rate"
       }
      }
     },
     "localname": "DerivativeFixedInterestRate",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.univest.net/role/DerivativeInstrumentsandHedgingActivitiesNarrativeDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "us-gaap_DerivativeInstrumentRiskAxis": {
     "auth_ref": [
      "r30",
      "r508",
      "r509",
      "r514",
      "r519"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Information by type of derivative contract.",
        "label": "Derivative Instrument [Axis]",
        "terseLabel": "Derivative Instrument [Axis]"
       }
      }
     },
     "localname": "DerivativeInstrumentRiskAxis",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.univest.net/role/DerivativeInstrumentsandHedgingActivitiesDerivativesDesignatedasHedgingInstrumentsDetails",
      "http://www.univest.net/role/DerivativeInstrumentsandHedgingActivitiesDerivativesNotDesignatedasHedgingInstrumentsDetails",
      "http://www.univest.net/role/DerivativeInstrumentsandHedgingActivitiesNarrativeDetails",
      "http://www.univest.net/role/FairValueDisclosuresLevel3RollForwardDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_DerivativeInstrumentsAndHedgingActivitiesDisclosureAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Derivative Instruments and Hedging Activities Disclosure [Abstract]"
       }
      }
     },
     "localname": "DerivativeInstrumentsAndHedgingActivitiesDisclosureAbstract",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "xbrltype": "stringItemType"
    },
    "us-gaap_DerivativeInstrumentsAndHedgingActivitiesDisclosureTextBlock": {
     "auth_ref": [
      "r529",
      "r533"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The entire disclosure for derivative instruments and hedging activities including, but not limited to, risk management strategies, non-hedging derivative instruments, assets, liabilities, revenue and expenses, and methodologies and assumptions used in determining the amounts.",
        "label": "Derivative Instruments and Hedging Activities Disclosure [Text Block]",
        "terseLabel": "Derivative Instruments and Hedging Activities"
       }
      }
     },
     "localname": "DerivativeInstrumentsAndHedgingActivitiesDisclosureTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.univest.net/role/DerivativeInstrumentsandHedgingActivities"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_DerivativeInstrumentsGainLossByHedgingRelationshipAxis": {
     "auth_ref": [
      "r505",
      "r508",
      "r514"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Information by type of hedging relationship.",
        "label": "Hedging Relationship [Axis]",
        "terseLabel": "Hedging Relationship [Axis]"
       }
      }
     },
     "localname": "DerivativeInstrumentsGainLossByHedgingRelationshipAxis",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.univest.net/role/DerivativeInstrumentsandHedgingActivitiesDerivativesDesignatedasHedgingInstrumentsDetails",
      "http://www.univest.net/role/DerivativeInstrumentsandHedgingActivitiesNarrativeDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_DerivativeInstrumentsGainLossByHedgingRelationshipByIncomeStatementLocationByDerivativeInstrumentRiskTable": {
     "auth_ref": [
      "r505",
      "r508",
      "r514",
      "r519",
      "r520",
      "r525",
      "r527"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Disclosure of information about the location and amount of derivative instruments and nonderivative instruments designated as hedging instruments reported before netting adjustments, and the amount of gain (loss) on derivative instruments and nonderivative instruments designated and qualified as hedging instruments.",
        "label": "Derivative Instruments, Gain (Loss) [Table]",
        "terseLabel": "Derivative Instruments, Gain (Loss)"
       }
      }
     },
     "localname": "DerivativeInstrumentsGainLossByHedgingRelationshipByIncomeStatementLocationByDerivativeInstrumentRiskTable",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.univest.net/role/DerivativeInstrumentsandHedgingActivitiesDerivativesDesignatedasHedgingInstrumentsDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_DerivativeInstrumentsGainLossLineItems": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "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.",
        "label": "Derivative Instruments, Gain (Loss) [Line Items]",
        "terseLabel": "Derivative Instruments, Gain (Loss) [Line Items]"
       }
      }
     },
     "localname": "DerivativeInstrumentsGainLossLineItems",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.univest.net/role/DerivativeInstrumentsandHedgingActivitiesDerivativesDesignatedasHedgingInstrumentsDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_DerivativeInstrumentsNotDesignatedAsHedgingInstrumentsGainLossNet": {
     "auth_ref": [
      "r513",
      "r515"
     ],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of realized and unrealized gain (loss) of derivative instruments not designated or qualifying as hedging instruments.",
        "label": "Derivative Instruments Not Designated as Hedging Instruments, Gain (Loss), Net",
        "terseLabel": "Derivative instruments not designated as hedging instruments, gain (loss), net"
       }
      }
     },
     "localname": "DerivativeInstrumentsNotDesignatedAsHedgingInstrumentsGainLossNet",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.univest.net/role/DerivativeInstrumentsandHedgingActivitiesDerivativesNotDesignatedasHedgingInstrumentsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DerivativeLiabilities": {
     "auth_ref": [
      "r28",
      "r29",
      "r30",
      "r550"
     ],
     "calculation": {
      "http://www.univest.net/role/FairValueDisclosuresAssetsandLiabilitiesMeasuredatFairValueonRecurringBasisDetails": {
       "order": 1.0,
       "parentTag": "us-gaap_LiabilitiesFairValueDisclosure",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Fair value, after the effects of master netting arrangements, of a financial liability or contract with one or more underlyings, notional amount or payment provision or both, and the contract can be net settled by means outside the contract or delivery of an asset. Includes liabilities not subject to a master netting arrangement and not elected to be offset.",
        "label": "Derivative Liability",
        "terseLabel": "Derivative liabilities"
       }
      }
     },
     "localname": "DerivativeLiabilities",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.univest.net/role/FairValueDisclosuresAssetsandLiabilitiesMeasuredatFairValueonRecurringBasisDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DerivativeLineItems": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "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.",
        "label": "Derivative [Line Items]",
        "terseLabel": "Derivative [Line Items]"
       }
      }
     },
     "localname": "DerivativeLineItems",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.univest.net/role/DerivativeInstrumentsandHedgingActivitiesNarrativeDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_DerivativeNotionalAmount": {
     "auth_ref": [
      "r501",
      "r503"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Nominal or face amount used to calculate payment on derivative.",
        "label": "Derivative, Notional Amount",
        "terseLabel": "Notional amount"
       }
      }
     },
     "localname": "DerivativeNotionalAmount",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.univest.net/role/DerivativeInstrumentsandHedgingActivitiesDerivativesDesignatedasHedgingInstrumentsDetails",
      "http://www.univest.net/role/DerivativeInstrumentsandHedgingActivitiesDerivativesNotDesignatedasHedgingInstrumentsDetails",
      "http://www.univest.net/role/DerivativeInstrumentsandHedgingActivitiesNarrativeDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DerivativeNumberOfInstrumentsHeld": {
     "auth_ref": [
      "r501",
      "r503"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The number of derivative instruments of a particular group held by the entity.",
        "label": "Derivative, Number of Instruments Held",
        "terseLabel": "Derivative number of instruments held"
       }
      }
     },
     "localname": "DerivativeNumberOfInstrumentsHeld",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.univest.net/role/DerivativeInstrumentsandHedgingActivitiesNarrativeDetails"
     ],
     "xbrltype": "integerItemType"
    },
    "us-gaap_DerivativeRemainingMaturity1": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Period remaining until the derivative contract matures, in 'PnYnMnDTnHnMnS' format, for example, 'P1Y5M13D' represents the reported fact of one year, five months, and thirteen days.",
        "label": "Derivative, Remaining Maturity",
        "terseLabel": "Derivative remaining maturity"
       }
      }
     },
     "localname": "DerivativeRemainingMaturity1",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.univest.net/role/DerivativeInstrumentsandHedgingActivitiesNarrativeDetails"
     ],
     "xbrltype": "durationItemType"
    },
    "us-gaap_DerivativeTable": {
     "auth_ref": [
      "r500",
      "r502",
      "r503",
      "r505",
      "r506",
      "r511",
      "r514",
      "r522",
      "r524",
      "r527",
      "r529"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Schedule that describes and identifies a derivative or group of derivatives on a disaggregated basis, such as for individual instruments, or small groups of similar instruments. May include a combination of the type of instrument, risks being hedged, notional amount, hedge designation, related hedged item, inception date, maturity date, or other relevant item.",
        "label": "Derivative [Table]",
        "terseLabel": "Derivative [Table]"
       }
      }
     },
     "localname": "DerivativeTable",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.univest.net/role/DerivativeInstrumentsandHedgingActivitiesNarrativeDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_DerivativesFairValueLineItems": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "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.",
        "label": "Derivatives, Fair Value [Line Items]",
        "terseLabel": "Derivative Notional Amount And Fair Value By Balance Sheet Not Designated As Hedging Instrument [Line Items]"
       }
      }
     },
     "localname": "DerivativesFairValueLineItems",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.univest.net/role/DerivativeInstrumentsandHedgingActivitiesDerivativesNotDesignatedasHedgingInstrumentsDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_DesignatedAsHedgingInstrumentMember": {
     "auth_ref": [
      "r505"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Derivative instrument designated as hedging instrument under Generally Accepted Accounting Principles (GAAP).",
        "label": "Designated as Hedging Instrument [Member]",
        "terseLabel": "Designated as Hedging Instrument [Member]"
       }
      }
     },
     "localname": "DesignatedAsHedgingInstrumentMember",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.univest.net/role/DerivativeInstrumentsandHedgingActivitiesDerivativesDesignatedasHedgingInstrumentsDetails",
      "http://www.univest.net/role/DerivativeInstrumentsandHedgingActivitiesNarrativeDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_DisaggregationOfRevenueLineItems": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "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.",
        "label": "Disaggregation of Revenue [Line Items]",
        "terseLabel": "Disaggregation of Revenue [Line Items]"
       }
      }
     },
     "localname": "DisaggregationOfRevenueLineItems",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.univest.net/role/CondensedConsolidatedStatementsofIncome"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_DisaggregationOfRevenueTable": {
     "auth_ref": [
      "r344",
      "r345",
      "r346",
      "r347",
      "r348",
      "r349",
      "r350",
      "r351"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Disclosure of information about disaggregation of revenue into categories depicting how nature, amount, timing, and uncertainty of revenue and cash flows are affected by economic factor.",
        "label": "Disaggregation of Revenue [Table]",
        "terseLabel": "Disaggregation of Revenue [Table]"
       }
      }
     },
     "localname": "DisaggregationOfRevenueTable",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.univest.net/role/CondensedConsolidatedStatementsofIncome"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_DisclosureOfCompensationRelatedCostsShareBasedPaymentsTextBlock": {
     "auth_ref": [
      "r477"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The entire disclosure for share-based payment arrangement.",
        "label": "Share-based Payment Arrangement [Text Block]",
        "terseLabel": "Share-Based Incentive Plan"
       }
      }
     },
     "localname": "DisclosureOfCompensationRelatedCostsShareBasedPaymentsTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.univest.net/role/StockBasedIncentivePlan"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_DisclosureOfCompensationRelatedCostsSharebasedPaymentsAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Share-based Payment Arrangement [Abstract]"
       }
      }
     },
     "localname": "DisclosureOfCompensationRelatedCostsSharebasedPaymentsAbstract",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "xbrltype": "stringItemType"
    },
    "us-gaap_DividendsCommonStockCash": {
     "auth_ref": [
      "r340"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of paid and unpaid common stock dividends declared with the form of settlement in cash.",
        "label": "Dividends, Common Stock, Cash",
        "negatedLabel": "Cash dividends declared"
       }
      }
     },
     "localname": "DividendsCommonStockCash",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.univest.net/role/CondensedConsolidatedStatementsofChangesinShareholdersEquity"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DoubtfulMember": {
     "auth_ref": [
      "r186",
      "r262"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "A category of financing receivables that have all the weaknesses inherent in those classified as substandard, with the added characteristic that the weaknesses make collection or liquidation in full, on the basis of currently existing facts, conditions, and values, highly questionable and improbable.",
        "label": "Doubtful [Member]",
        "terseLabel": "Doubtful"
       }
      }
     },
     "localname": "DoubtfulMember",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.univest.net/role/LoansandLeasesCreditQualityIndicatorsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_EarlyRepaymentOfSubordinatedDebt": {
     "auth_ref": [
      "r77"
     ],
     "calculation": {
      "http://www.univest.net/role/CondensedConsolidatedStatementsofCashFlows": {
       "order": 1.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInFinancingActivities",
       "weight": -1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The cash outflow from the repayment of long-term borrowing where a lender is placed in a lien position behind debt having a higher priority of repayment (senior) in case of liquidation of the entity's assets before its maturity.",
        "label": "Early Repayment of Subordinated Debt",
        "negatedTerseLabel": "Repayment of subordinated debt"
       }
      }
     },
     "localname": "EarlyRepaymentOfSubordinatedDebt",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.univest.net/role/CondensedConsolidatedStatementsofCashFlows"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_EarningsPerShareAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Earnings Per Share [Abstract]",
        "terseLabel": "Net income per share:"
       }
      }
     },
     "localname": "EarningsPerShareAbstract",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.univest.net/role/CondensedConsolidatedStatementsofIncome"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_EarningsPerShareBasic": {
     "auth_ref": [
      "r62",
      "r107",
      "r108",
      "r109",
      "r110",
      "r111",
      "r115",
      "r118",
      "r123",
      "r124",
      "r125",
      "r129",
      "r130",
      "r531",
      "r532",
      "r634",
      "r682"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The amount of net income (loss) for the period per each share of common stock or unit outstanding during the reporting period.",
        "label": "Earnings Per Share, Basic",
        "terseLabel": "Basic (in dollars per share)",
        "verboseLabel": "Basic earnings per share"
       }
      }
     },
     "localname": "EarningsPerShareBasic",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.univest.net/role/CondensedConsolidatedStatementsofIncome",
      "http://www.univest.net/role/EarningsperShareBasicandDilutedEarningsPerShareDetails"
     ],
     "xbrltype": "perShareItemType"
    },
    "us-gaap_EarningsPerShareBasicAndDilutedAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Earnings Per Share, Basic and Diluted [Abstract]"
       }
      }
     },
     "localname": "EarningsPerShareBasicAndDilutedAbstract",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "xbrltype": "stringItemType"
    },
    "us-gaap_EarningsPerShareDiluted": {
     "auth_ref": [
      "r62",
      "r107",
      "r108",
      "r109",
      "r110",
      "r111",
      "r118",
      "r123",
      "r124",
      "r125",
      "r129",
      "r130",
      "r531",
      "r532",
      "r634",
      "r682"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The amount of net income (loss) for the period available to each share of common stock or common unit outstanding during the reporting period and to each share or unit that would have been outstanding assuming the issuance of common shares or units for all dilutive potential common shares or units outstanding during the reporting period.",
        "label": "Earnings Per Share, Diluted",
        "terseLabel": "Diluted (in dollars per share)",
        "verboseLabel": "Diluted earnings per share"
       }
      }
     },
     "localname": "EarningsPerShareDiluted",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.univest.net/role/CondensedConsolidatedStatementsofIncome",
      "http://www.univest.net/role/EarningsperShareBasicandDilutedEarningsPerShareDetails"
     ],
     "xbrltype": "perShareItemType"
    },
    "us-gaap_EarningsPerShareTextBlock": {
     "auth_ref": [
      "r126",
      "r127",
      "r128",
      "r131"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The entire disclosure for earnings per share.",
        "label": "Earnings Per Share [Text Block]",
        "terseLabel": "Earnings Per Share"
       }
      }
     },
     "localname": "EarningsPerShareTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.univest.net/role/EarningsperShare"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_EmployeeServiceShareBasedCompensationAggregateDisclosuresAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Share-based Payment Arrangement, Additional Disclosure [Abstract]",
        "terseLabel": "Share-based Payment Arrangement, Additional Disclosure [Abstract]"
       }
      }
     },
     "localname": "EmployeeServiceShareBasedCompensationAggregateDisclosuresAbstract",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.univest.net/role/StockBasedIncentivePlanCompensationExpenseRelatedtoStockIncentivePlansRecognizedDetail"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognized": {
     "auth_ref": [
      "r467"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of cost not yet recognized for nonvested award under share-based payment arrangement.",
        "label": "Share-based Payment Arrangement, Nonvested Award, Cost Not yet Recognized, Amount",
        "terseLabel": "Unrecognized compensation cost"
       }
      }
     },
     "localname": "EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognized",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.univest.net/role/StockBasedIncentivePlanScheduleofUnrecognizedCompensationCostNonvestedUnitsDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognizedPeriodForRecognition1": {
     "auth_ref": [
      "r467"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Weighted-average period over which cost not yet recognized is expected to be recognized for award under share-based payment arrangement, in 'PnYnMnDTnHnMnS' format, for example, 'P1Y5M13D' represents reported fact of one year, five months, and thirteen days.",
        "label": "Share-based Payment Arrangement, Nonvested Award, Cost Not yet Recognized, Period for Recognition",
        "terseLabel": "Weighted-average period remaining (years)"
       }
      }
     },
     "localname": "EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognizedPeriodForRecognition1",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.univest.net/role/StockBasedIncentivePlanScheduleofUnrecognizedCompensationCostNonvestedUnitsDetail"
     ],
     "xbrltype": "durationItemType"
    },
    "us-gaap_EmployeeServiceShareBasedCompensationTaxBenefitFromCompensationExpense": {
     "auth_ref": [
      "r466"
     ],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of tax benefit for recognition of expense of award under share-based payment arrangement.",
        "label": "Share-based Payment Arrangement, Expense, Tax Benefit",
        "terseLabel": "Tax benefit on nonqualified stock option expense and disqualifying dispositions of incentive stock options"
       }
      }
     },
     "localname": "EmployeeServiceShareBasedCompensationTaxBenefitFromCompensationExpense",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.univest.net/role/StockBasedIncentivePlanCompensationExpenseRelatedtoStockIncentivePlansRecognizedDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_EmployeeStockOptionMember": {
     "auth_ref": [
      "r464"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Share-based payment arrangement granting right, subject to vesting and other restrictions, to purchase or sell certain number of shares at predetermined price for specified period of time.",
        "label": "Share-based Payment Arrangement, Option [Member]",
        "terseLabel": "Stock Options [Member]"
       }
      }
     },
     "localname": "EmployeeStockOptionMember",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.univest.net/role/StockBasedIncentivePlanCompensationExpenseRelatedtoStockIncentivePlansRecognizedDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_EquipmentExpense": {
     "auth_ref": [],
     "calculation": {
      "http://www.univest.net/role/CondensedConsolidatedStatementsofIncome": {
       "order": 3.0,
       "parentTag": "us-gaap_NoninterestExpense",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "This element represents equipment expense including depreciation, repairs, rentals, and service contract costs. This item also includes equipment purchases which do not qualify for capitalization in accordance with the entity's accounting policy. This item may also include furniture expenses.",
        "label": "Equipment Expense",
        "terseLabel": "Equipment"
       }
      }
     },
     "localname": "EquipmentExpense",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.univest.net/role/CondensedConsolidatedStatementsofIncome"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_EquityAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Equity [Abstract]"
       }
      }
     },
     "localname": "EquityAbstract",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "xbrltype": "stringItemType"
    },
    "us-gaap_EquityComponentDomain": {
     "auth_ref": [
      "r0",
      "r51",
      "r52",
      "r53",
      "r102",
      "r103",
      "r104",
      "r106",
      "r112",
      "r114",
      "r132",
      "r248",
      "r338",
      "r340",
      "r470",
      "r471",
      "r472",
      "r479",
      "r480",
      "r530",
      "r555",
      "r556",
      "r557",
      "r558",
      "r559",
      "r561",
      "r692",
      "r693",
      "r694",
      "r734"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Components of equity are the parts of the total Equity balance including that which is allocated to common, preferred, treasury stock, retained earnings, etc.",
        "label": "Equity Component [Domain]",
        "terseLabel": "Equity Component [Domain]1"
       }
      }
     },
     "localname": "EquityComponentDomain",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.univest.net/role/AccumulatedOtherComprehensiveLossIncomeComponentsofAccumulatedOtherComprehensiveLossIncomeNetofTaxesDetails",
      "http://www.univest.net/role/CondensedConsolidatedStatementsofChangesinShareholdersEquity"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_EquitySecuritiesFvNi": {
     "auth_ref": [
      "r548"
     ],
     "calculation": {
      "http://www.univest.net/role/CondensedConsolidatedBalanceSheets": {
       "order": 12.0,
       "parentTag": "us-gaap_Assets",
       "weight": 1.0
      },
      "http://www.univest.net/role/FairValueDisclosuresAssetsandLiabilitiesMeasuredatFairValueonRecurringBasisDetails": {
       "order": 1.0,
       "parentTag": "us-gaap_AssetsFairValueDisclosure",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of investment in equity security measured at fair value with change in fair value recognized in net income (FV-NI), classified as current.",
        "label": "Equity Securities, FV-NI, Current",
        "terseLabel": "Investments in equity securities"
       }
      }
     },
     "localname": "EquitySecuritiesFvNi",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.univest.net/role/CondensedConsolidatedBalanceSheets",
      "http://www.univest.net/role/FairValueDisclosuresAssetsandLiabilitiesMeasuredatFairValueonRecurringBasisDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_EquitySecuritiesMember": {
     "auth_ref": [
      "r3",
      "r9",
      "r242",
      "r670",
      "r701",
      "r702",
      "r703"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Ownership interest or right to acquire or dispose of ownership interest in corporations and other legal entities for which ownership interest is represented by shares of common or preferred stock, convertible securities, stock rights, or stock warrants.",
        "label": "Equity Securities [Member]",
        "terseLabel": "Equity Securities [Member]"
       }
      }
     },
     "localname": "EquitySecuritiesMember",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.univest.net/role/FairValueDisclosuresAssetsandLiabilitiesMeasuredatFairValueonRecurringBasisDetails",
      "http://www.univest.net/role/InvestmentSecuritiesNarrativeDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_EstimateOfFairValueFairValueDisclosureMember": {
     "auth_ref": [
      "r326",
      "r333",
      "r334",
      "r550"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Measured as an estimate of fair value.",
        "label": "Estimate of Fair Value Measurement [Member]",
        "terseLabel": "Estimate of Fair Value Measurement [Member]"
       }
      }
     },
     "localname": "EstimateOfFairValueFairValueDisclosureMember",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.univest.net/role/FairValueDisclosuresAssetsLiabilitiesandOffbalanceSheetItemsNotMeasuredatFairValueDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_ExtendedMaturityMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Loan modification for an extension of the term of a loan in which it must be paid.",
        "label": "Extended Maturity [Member]",
        "terseLabel": "Maturity Date Extension [Member]"
       }
      }
     },
     "localname": "ExtendedMaturityMember",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.univest.net/role/LoansandLeasesScheduleofConcessionsGrantedonAccruingandNonaccrualTroubledLoansDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "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.",
        "label": "Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]",
        "terseLabel": "Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]"
       }
      }
     },
     "localname": "FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.univest.net/role/FairValueDisclosuresAssetsMeasuredatFairValueonNonrecurringBasisDetails",
      "http://www.univest.net/role/FairValueDisclosuresAssetsandLiabilitiesMeasuredatFairValueonRecurringBasisDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTable": {
     "auth_ref": [
      "r534",
      "r535",
      "r536",
      "r545"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Disclosure of information about asset and liability measured at fair value on recurring and nonrecurring basis.",
        "label": "Fair Value, Recurring and Nonrecurring [Table]",
        "terseLabel": "Fair Value Measurements, Recurring and Nonrecurring"
       }
      }
     },
     "localname": "FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTable",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.univest.net/role/FairValueDisclosuresAssetsMeasuredatFairValueonNonrecurringBasisDetails",
      "http://www.univest.net/role/FairValueDisclosuresAssetsandLiabilitiesMeasuredatFairValueonRecurringBasisDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_FairValueAssetsMeasuredOnNonrecurringBasisTextBlock": {
     "auth_ref": [
      "r534",
      "r535",
      "r537"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Tabular disclosure of assets and liabilities by class, including financial instruments measured at fair value that are classified in shareholders' equity, if any, that are measured at fair value on a nonrecurring basis in periods after initial recognition (for example, impaired assets). Disclosures may include, but are not limited to: (a) the fair value measurements recorded and the reasons for the measurements and (b) the level within the fair value hierarchy in which the fair value measurements are categorized in their entirety (levels 1, 2, 3).",
        "label": "Fair Value Measurements, Nonrecurring [Table Text Block]",
        "terseLabel": "Assets Measured at Fair Value on Non-Recurring Basis"
       }
      }
     },
     "localname": "FairValueAssetsMeasuredOnNonrecurringBasisTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.univest.net/role/FairValueDisclosuresTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationByAssetClassDomain": {
     "auth_ref": [
      "r540"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Class of asset.",
        "label": "Asset Class [Domain]",
        "terseLabel": "Asset Class [Domain]"
       }
      }
     },
     "localname": "FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationByAssetClassDomain",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.univest.net/role/FairValueDisclosuresAssetsandLiabilitiesMeasuredatFairValueonRecurringBasisDetails",
      "http://www.univest.net/role/FairValueDisclosuresLevel3RollForwardDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationCalculationRollForward": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "A roll forward is a reconciliation of a concept from the beginning of a period to the end of a period.",
        "label": "Fair Value, Assets Measured on Recurring Basis, Unobservable Input Reconciliation, Calculation [Roll Forward]",
        "terseLabel": "Fair Value, Assets Measured on Recurring Basis, Unobservable Input Reconciliation, Calculation [Roll Forward]"
       }
      }
     },
     "localname": "FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationCalculationRollForward",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.univest.net/role/FairValueDisclosuresLevel3RollForwardDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationLineItems": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "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.",
        "label": "Fair Value, Assets Measured on Recurring Basis, Unobservable Input Reconciliation [Line Items]",
        "terseLabel": "Fair Value, Assets Measured on Recurring Basis, Unobservable Input Reconciliation [Line Items]"
       }
      }
     },
     "localname": "FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationLineItems",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.univest.net/role/FairValueDisclosuresLevel3RollForwardDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationTable": {
     "auth_ref": [
      "r540",
      "r545"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Schedule of information required and determined to be provided for purposes of reconciling beginning and ending balances of fair value measurements of assets using significant unobservable inputs (level 3). Such reconciliation, separately presenting changes during the period, at a minimum, may include, but is not limited to: (1) total gains or losses for the period (realized and unrealized), segregating those gains or losses included in earnings (or changes in net assets) and gains or losses recognized in other comprehensive income, and a description of where those gains or losses included in earnings (or changes in net assets) are reported in the statement of income (or activities); (2) purchases, sales, issues, and settlements (each type disclosed separately); and (3) transfers in and transfers out of level 3 (for example, transfers due to changes in the observability of significant inputs), by class of asset.",
        "label": "Fair Value, Assets Measured on Recurring Basis, Unobservable Input Reconciliation [Table]",
        "terseLabel": "Fair Value, Assets Measured on Recurring Basis, Unobservable Input Reconciliation [Table]"
       }
      }
     },
     "localname": "FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationTable",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.univest.net/role/FairValueDisclosuresLevel3RollForwardDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationTextBlock": {
     "auth_ref": [
      "r540",
      "r545"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Tabular disclosure of the fair value measurement of assets using significant unobservable inputs (Level 3), a reconciliation of the beginning and ending balances, separately presenting changes during the period attributable to the following: (1) total gains or losses for the period (realized and unrealized), segregating those gains or losses included in earnings (or changes in net assets) and gains or losses recognized in other comprehensive income (loss), and a description of where those gains or losses included in earnings (or changes in net assets) are reported in the statement of income (or activities); (2) purchases, sales, issues, and settlements (each type disclosed separately); and (3) transfers in and transfers out of Level 3 (for example, transfers due to changes in the observability of significant inputs), by class of asset.",
        "label": "Fair Value, Assets Measured on Recurring Basis, Unobservable Input Reconciliation [Table Text Block]",
        "terseLabel": "Assets and Liabilities Measured on Recurring Basis, Unobservable Input Reconciliation, Level 3 Rollforward"
       }
      }
     },
     "localname": "FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.univest.net/role/FairValueDisclosuresTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_FairValueBalanceSheetGroupingFinancialStatementCaptionsLineItems": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "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.",
        "label": "Fair Value, Balance Sheet Grouping, Financial Statement Captions [Line Items]",
        "terseLabel": "Fair Value, Balance Sheet Grouping, Financial Statement Captions [Line Items]"
       }
      }
     },
     "localname": "FairValueBalanceSheetGroupingFinancialStatementCaptionsLineItems",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.univest.net/role/FairValueDisclosuresAssetsLiabilitiesandOffbalanceSheetItemsNotMeasuredatFairValueDetails",
      "http://www.univest.net/role/FairValueDisclosuresNarrativeDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_FairValueByAssetClassAxis": {
     "auth_ref": [
      "r534",
      "r545"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Information by class of asset.",
        "label": "Asset Class [Axis]",
        "terseLabel": "Asset Class [Axis]"
       }
      }
     },
     "localname": "FairValueByAssetClassAxis",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.univest.net/role/FairValueDisclosuresAssetsandLiabilitiesMeasuredatFairValueonRecurringBasisDetails",
      "http://www.univest.net/role/FairValueDisclosuresLevel3RollForwardDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_FairValueByBalanceSheetGroupingTable": {
     "auth_ref": [
      "r534",
      "r551",
      "r552"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Disclosure of information about the fair value of financial instruments, including financial assets and financial liabilities, and the measurements of those instruments, assets, and liabilities.",
        "label": "Fair Value, by Balance Sheet Grouping [Table]",
        "terseLabel": "Fair Value, by Balance Sheet Grouping"
       }
      }
     },
     "localname": "FairValueByBalanceSheetGroupingTable",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.univest.net/role/FairValueDisclosuresAssetsLiabilitiesandOffbalanceSheetItemsNotMeasuredatFairValueDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_FairValueByBalanceSheetGroupingTextBlock": {
     "auth_ref": [
      "r534",
      "r551"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Tabular disclosure of the fair value of financial instruments, including financial assets and financial liabilities, and the measurements of those instruments, assets, and liabilities.",
        "label": "Fair Value, by Balance Sheet Grouping [Table Text Block]",
        "terseLabel": "Assets, Liabilities and Off-Balance Sheet Items Not Measured at Fair Value"
       }
      }
     },
     "localname": "FairValueByBalanceSheetGroupingTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.univest.net/role/FairValueDisclosuresTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_FairValueByFairValueHierarchyLevelAxis": {
     "auth_ref": [
      "r326",
      "r333",
      "r334",
      "r378",
      "r380",
      "r381",
      "r382",
      "r383",
      "r384",
      "r385",
      "r426",
      "r535",
      "r575",
      "r576",
      "r577"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Information by level within fair value hierarchy and fair value measured at net asset value per share as practical expedient.",
        "label": "Fair Value Hierarchy and NAV [Axis]",
        "terseLabel": "Fair Value Hierarchy and NAV [Axis]"
       }
      }
     },
     "localname": "FairValueByFairValueHierarchyLevelAxis",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.univest.net/role/FairValueDisclosuresAssetsLiabilitiesandOffbalanceSheetItemsNotMeasuredatFairValueDetails",
      "http://www.univest.net/role/FairValueDisclosuresAssetsMeasuredatFairValueonNonrecurringBasisDetails",
      "http://www.univest.net/role/FairValueDisclosuresAssetsandLiabilitiesMeasuredatFairValueonRecurringBasisDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_FairValueByLiabilityClassAxis": {
     "auth_ref": [
      "r544",
      "r545"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Information by class of liability.",
        "label": "Liability Class [Axis]",
        "terseLabel": "Liability Class [Axis]"
       }
      }
     },
     "localname": "FairValueByLiabilityClassAxis",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.univest.net/role/FairValueDisclosuresAssetsandLiabilitiesMeasuredatFairValueonRecurringBasisDetails",
      "http://www.univest.net/role/FairValueDisclosuresLevel3RollForwardDetails",
      "http://www.univest.net/role/FairValueDisclosuresNarrativeDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_FairValueByMeasurementBasisAxis": {
     "auth_ref": [
      "r326",
      "r333",
      "r334",
      "r534",
      "r546"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Information by measurement basis.",
        "label": "Measurement Basis [Axis]",
        "terseLabel": "Measurement Basis [Axis]"
       }
      }
     },
     "localname": "FairValueByMeasurementBasisAxis",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.univest.net/role/FairValueDisclosuresAssetsLiabilitiesandOffbalanceSheetItemsNotMeasuredatFairValueDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_FairValueByMeasurementFrequencyAxis": {
     "auth_ref": [
      "r534",
      "r535",
      "r538",
      "r539",
      "r547"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Information by measurement frequency.",
        "label": "Measurement Frequency [Axis]",
        "terseLabel": "Measurement Frequency [Axis]"
       }
      }
     },
     "localname": "FairValueByMeasurementFrequencyAxis",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.univest.net/role/FairValueDisclosuresAssetsMeasuredatFairValueonNonrecurringBasisDetails",
      "http://www.univest.net/role/FairValueDisclosuresAssetsandLiabilitiesMeasuredatFairValueonRecurringBasisDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_FairValueDisclosureItemAmountsDomain": {
     "auth_ref": [
      "r326",
      "r333",
      "r334"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Measurement basis, for example, but not limited to, reported value, fair value, portion at fair value, portion at other than fair value.",
        "label": "Fair Value Measurement [Domain]",
        "terseLabel": "Fair Value Measurement [Domain]"
       }
      }
     },
     "localname": "FairValueDisclosureItemAmountsDomain",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.univest.net/role/FairValueDisclosuresAssetsLiabilitiesandOffbalanceSheetItemsNotMeasuredatFairValueDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_FairValueDisclosuresAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Fair Value Disclosures [Abstract]"
       }
      }
     },
     "localname": "FairValueDisclosuresAbstract",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "xbrltype": "stringItemType"
    },
    "us-gaap_FairValueDisclosuresTextBlock": {
     "auth_ref": [
      "r544"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The entire disclosure for the fair value of financial instruments (as defined), including financial assets and financial liabilities (collectively, as defined), and the measurements of those instruments as well as disclosures related to the fair value of non-financial assets and liabilities. Such disclosures about the financial instruments, assets, and liabilities would include: (1) the fair value of the required items together with their carrying amounts (as appropriate); (2) for items for which it is not practicable to estimate fair value, disclosure would include: (a) information pertinent to estimating fair value (including, carrying amount, effective interest rate, and maturity, and (b) the reasons why it is not practicable to estimate fair value; (3) significant concentrations of credit risk including: (a) information about the activity, region, or economic characteristics identifying a concentration, (b) the maximum amount of loss the entity is exposed to based on the gross fair value of the related item, (c) policy for requiring collateral or other security and information as to accessing such collateral or security, and (d) the nature and brief description of such collateral or security; (4) quantitative information about market risks and how such risks are managed; (5) for items measured on both a recurring and nonrecurring basis information regarding the inputs used to develop the fair value measurement; and (6) for items presented in the financial statement for which fair value measurement is elected: (a) information necessary to understand the reasons for the election, (b) discussion of the effect of fair value changes on earnings, (c) a description of [similar groups] items for which the election is made and the relation thereof to the balance sheet, the aggregate carrying value of items included in the balance sheet that are not eligible for the election; (7) all other required (as defined) and desired information.",
        "label": "Fair Value Disclosures [Text Block]",
        "terseLabel": "Fair Value Disclosures"
       }
      }
     },
     "localname": "FairValueDisclosuresTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.univest.net/role/FairValueDisclosures"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_FairValueInputsLevel1Member": {
     "auth_ref": [
      "r326",
      "r378",
      "r380",
      "r385",
      "r426",
      "r535",
      "r575"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Quoted prices in active markets for identical assets or liabilities that the reporting entity can access at the measurement date.",
        "label": "Fair Value, Inputs, Level 1 [Member]",
        "terseLabel": "Level 1 [Member]"
       }
      }
     },
     "localname": "FairValueInputsLevel1Member",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.univest.net/role/FairValueDisclosuresAssetsLiabilitiesandOffbalanceSheetItemsNotMeasuredatFairValueDetails",
      "http://www.univest.net/role/FairValueDisclosuresAssetsMeasuredatFairValueonNonrecurringBasisDetails",
      "http://www.univest.net/role/FairValueDisclosuresAssetsandLiabilitiesMeasuredatFairValueonRecurringBasisDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_FairValueInputsLevel2Member": {
     "auth_ref": [
      "r326",
      "r333",
      "r334",
      "r378",
      "r380",
      "r385",
      "r426",
      "r535",
      "r576"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Inputs other than quoted prices included within level 1 that are observable for an asset or liability, either directly or indirectly, including, but not limited to, quoted prices for similar assets or liabilities in active markets, or quoted prices for identical or similar assets or liabilities in inactive markets.",
        "label": "Fair Value, Inputs, Level 2 [Member]",
        "terseLabel": "Level 2 [Member]"
       }
      }
     },
     "localname": "FairValueInputsLevel2Member",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.univest.net/role/FairValueDisclosuresAssetsLiabilitiesandOffbalanceSheetItemsNotMeasuredatFairValueDetails",
      "http://www.univest.net/role/FairValueDisclosuresAssetsMeasuredatFairValueonNonrecurringBasisDetails",
      "http://www.univest.net/role/FairValueDisclosuresAssetsandLiabilitiesMeasuredatFairValueonRecurringBasisDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_FairValueInputsLevel3Member": {
     "auth_ref": [
      "r326",
      "r333",
      "r334",
      "r378",
      "r380",
      "r381",
      "r382",
      "r383",
      "r384",
      "r385",
      "r426",
      "r535",
      "r577"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Unobservable inputs that reflect the entity's own assumption about the assumptions market participants would use in pricing.",
        "label": "Fair Value, Inputs, Level 3 [Member]",
        "terseLabel": "Level 3 [Member]"
       }
      }
     },
     "localname": "FairValueInputsLevel3Member",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.univest.net/role/FairValueDisclosuresAssetsLiabilitiesandOffbalanceSheetItemsNotMeasuredatFairValueDetails",
      "http://www.univest.net/role/FairValueDisclosuresAssetsMeasuredatFairValueonNonrecurringBasisDetails",
      "http://www.univest.net/role/FairValueDisclosuresAssetsandLiabilitiesMeasuredatFairValueonRecurringBasisDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_FairValueLiabilitiesMeasuredOnRecurringBasisUnobservableInputReconciliationByLiabilityClassDomain": {
     "auth_ref": [
      "r540"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents classes of liabilities measured and disclosed at fair value.",
        "label": "Fair Value by Liability Class [Domain]",
        "terseLabel": "Fair Value by Liability Class [Domain]"
       }
      }
     },
     "localname": "FairValueLiabilitiesMeasuredOnRecurringBasisUnobservableInputReconciliationByLiabilityClassDomain",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.univest.net/role/FairValueDisclosuresAssetsandLiabilitiesMeasuredatFairValueonRecurringBasisDetails",
      "http://www.univest.net/role/FairValueDisclosuresLevel3RollForwardDetails",
      "http://www.univest.net/role/FairValueDisclosuresNarrativeDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_FairValueLiabilitiesMeasuredOnRecurringBasisUnobservableInputReconciliationCalculationRollForward": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "A roll forward is a reconciliation of a concept from the beginning of a period to the end of a period.",
        "label": "Fair Value, Liabilities Measured on Recurring Basis, Unobservable Input Reconciliation, Calculation [Roll Forward]",
        "terseLabel": "Fair Value, Liabilities Measured on Recurring Basis, Unobservable Input Reconciliation, Calculation [Roll Forward]"
       }
      }
     },
     "localname": "FairValueLiabilitiesMeasuredOnRecurringBasisUnobservableInputReconciliationCalculationRollForward",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.univest.net/role/FairValueDisclosuresLevel3RollForwardDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_FairValueLiabilitiesMeasuredOnRecurringBasisUnobservableInputReconciliationLineItems": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "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.",
        "label": "Fair Value, Liabilities Measured on Recurring Basis, Unobservable Input Reconciliation [Line Items]",
        "terseLabel": "Fair Value, Liabilities Measured on Recurring Basis, Unobservable Input Reconciliation [Line Items]"
       }
      }
     },
     "localname": "FairValueLiabilitiesMeasuredOnRecurringBasisUnobservableInputReconciliationLineItems",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.univest.net/role/FairValueDisclosuresLevel3RollForwardDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_FairValueLiabilitiesMeasuredOnRecurringBasisUnobservableInputReconciliationTable": {
     "auth_ref": [
      "r540",
      "r545"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Schedule of information required and determined to be provided for purposes of reconciling beginning and ending balances of fair value measurements of liabilities using significant unobservable inputs (level 3). Separately presenting changes during the period, attributable to: (1) total gains or losses for the period (realized and unrealized) and location reported in the statement of income (or activities); (2) purchases, sales, issuances, and settlements (net); (3) transfers in and/or out of Level 3.",
        "label": "Fair Value, Liabilities Measured on Recurring Basis, Unobservable Input Reconciliation [Table]",
        "terseLabel": "Fair Value, Liabilities Measured on Recurring Basis, Unobservable Input Reconciliation [Table]"
       }
      }
     },
     "localname": "FairValueLiabilitiesMeasuredOnRecurringBasisUnobservableInputReconciliationTable",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.univest.net/role/FairValueDisclosuresLevel3RollForwardDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_FairValueMeasurementFrequencyDomain": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Measurement frequency.",
        "label": "Measurement Frequency [Domain]",
        "terseLabel": "Measurement Frequency [Domain]"
       }
      }
     },
     "localname": "FairValueMeasurementFrequencyDomain",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.univest.net/role/FairValueDisclosuresAssetsMeasuredatFairValueonNonrecurringBasisDetails",
      "http://www.univest.net/role/FairValueDisclosuresAssetsandLiabilitiesMeasuredatFairValueonRecurringBasisDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisAssetGainLossIncludedInEarnings1": {
     "auth_ref": [
      "r541"
     ],
     "calculation": {
      "http://www.univest.net/role/FairValueDisclosuresLevel3RollForwardDetails": {
       "order": 1.0,
       "parentTag": "uvsp_FairValueMeasurementwithUnobservableInputsReconciliationRecurringBasisNetAssetLiabilityGainLossIncludedinEarnings",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of gain (loss) recognized in income from asset measured at fair value on recurring basis using unobservable input (level 3).",
        "label": "Fair Value, Measurement with Unobservable Inputs Reconciliation, Recurring Basis, Asset, Gain (Loss) Included in Earnings",
        "terseLabel": "Increase (decrease) in value"
       }
      }
     },
     "localname": "FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisAssetGainLossIncludedInEarnings1",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.univest.net/role/FairValueDisclosuresLevel3RollForwardDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisAssetPurchases": {
     "auth_ref": [
      "r542"
     ],
     "calculation": {
      "http://www.univest.net/role/FairValueDisclosuresLevel3RollForwardDetails": {
       "order": 1.0,
       "parentTag": "uvsp_FairValueMeasurementwithUnobservableInputsReconciliationRecurringBasisNetAssetLiabilityPurchases",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of purchases of financial instrument classified as an asset measured using unobservable inputs that reflect the entity's own assumption about the assumptions market participants would use in pricing.",
        "label": "Fair Value, Measurement with Unobservable Inputs Reconciliation, Recurring Basis, Asset, Purchases",
        "terseLabel": "Purchases/additions"
       }
      }
     },
     "localname": "FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisAssetPurchases",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.univest.net/role/FairValueDisclosuresLevel3RollForwardDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisAssetSettlements": {
     "auth_ref": [
      "r542"
     ],
     "calculation": {
      "http://www.univest.net/role/FairValueDisclosuresLevel3RollForwardDetails": {
       "order": 1.0,
       "parentTag": "uvsp_FairValueMeasurementwithUnobservableInputsReconciliationRecurringBasisNetAssetLiabilitySettlements",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of settlement of financial instrument classified as an asset measured using unobservable inputs that reflect the entity's own assumption about the assumptions market participants would use in pricing.",
        "label": "Fair Value, Measurement with Unobservable Inputs Reconciliation, Recurring Basis, Asset, Settlements",
        "negatedTerseLabel": "Payments received"
       }
      }
     },
     "localname": "FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisAssetSettlements",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.univest.net/role/FairValueDisclosuresLevel3RollForwardDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisAssetValue": {
     "auth_ref": [
      "r540"
     ],
     "calculation": {
      "http://www.univest.net/role/FairValueDisclosuresLevel3RollForwardDetails": {
       "order": 1.0,
       "parentTag": "uvsp_FairValueMeasurementwithUnobservableInputsReconciliationRecurringBasisNetAssetLiabilityValue",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Fair value of financial instrument classified as an asset measured using unobservable inputs that reflect the entity's own assumption about the assumptions market participants would use in pricing.",
        "label": "Fair Value, Measurement with Unobservable Inputs Reconciliation, Recurring Basis, Asset Value",
        "periodEndLabel": "Ending balance",
        "periodStartLabel": "Beginning balance"
       }
      }
     },
     "localname": "FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisAssetValue",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.univest.net/role/FairValueDisclosuresLevel3RollForwardDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisLiabilityGainLossIncludedInEarnings": {
     "auth_ref": [
      "r541"
     ],
     "calculation": {
      "http://www.univest.net/role/FairValueDisclosuresLevel3RollForwardDetails": {
       "order": 2.0,
       "parentTag": "uvsp_FairValueMeasurementwithUnobservableInputsReconciliationRecurringBasisNetAssetLiabilityGainLossIncludedinEarnings",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of gain (loss) recognized in income from liability measured at fair value on recurring basis using unobservable input (level 3).",
        "label": "Fair Value, Measurement with Unobservable Inputs Reconciliation, Recurring Basis, Liability, Gain (Loss) Included in Earnings",
        "negatedTerseLabel": "Increase (decrease) in value"
       }
      }
     },
     "localname": "FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisLiabilityGainLossIncludedInEarnings",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.univest.net/role/FairValueDisclosuresLevel3RollForwardDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisLiabilityPurchases": {
     "auth_ref": [
      "r542"
     ],
     "calculation": {
      "http://www.univest.net/role/FairValueDisclosuresLevel3RollForwardDetails": {
       "order": 2.0,
       "parentTag": "uvsp_FairValueMeasurementwithUnobservableInputsReconciliationRecurringBasisNetAssetLiabilityPurchases",
       "weight": -1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of purchases of financial instrument classified as a liability measured using unobservable inputs that reflect the entity's own assumption about the assumptions market participants would use in pricing.",
        "label": "Fair Value, Measurement with Unobservable Inputs Reconciliation, Recurring Basis, Liability, Purchases",
        "negatedTerseLabel": "Additions"
       }
      }
     },
     "localname": "FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisLiabilityPurchases",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.univest.net/role/FairValueDisclosuresLevel3RollForwardDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisLiabilitySettlements": {
     "auth_ref": [
      "r542"
     ],
     "calculation": {
      "http://www.univest.net/role/FairValueDisclosuresLevel3RollForwardDetails": {
       "order": 2.0,
       "parentTag": "uvsp_FairValueMeasurementwithUnobservableInputsReconciliationRecurringBasisNetAssetLiabilitySettlements",
       "weight": -1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of settlements of financial instrument classified as a liability measured using unobservable inputs that reflect the entity's own assumption about the assumptions market participants would use in pricing.",
        "label": "Fair Value, Measurement with Unobservable Inputs Reconciliation, Recurring Basis, Liability, Settlements",
        "terseLabel": "Payments received"
       }
      }
     },
     "localname": "FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisLiabilitySettlements",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.univest.net/role/FairValueDisclosuresLevel3RollForwardDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_FairValueMeasurementWithUnobservableInputsReconciliationsRecurringBasisLiabilityValue": {
     "auth_ref": [
      "r540"
     ],
     "calculation": {
      "http://www.univest.net/role/FairValueDisclosuresLevel3RollForwardDetails": {
       "order": 2.0,
       "parentTag": "uvsp_FairValueMeasurementwithUnobservableInputsReconciliationRecurringBasisNetAssetLiabilityValue",
       "weight": -1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Fair value of financial instrument classified as a liability measured using unobservable inputs that reflect the entity's own assumption about the assumptions market participants would use in pricing.",
        "label": "Fair Value, Measurement with Unobservable Inputs Reconciliation, Recurring Basis, Liability Value",
        "negatedPeriodEndLabel": "Ending balance",
        "negatedPeriodStartLabel": "Beginning balance"
       }
      }
     },
     "localname": "FairValueMeasurementWithUnobservableInputsReconciliationsRecurringBasisLiabilityValue",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.univest.net/role/FairValueDisclosuresLevel3RollForwardDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_FairValueMeasurementsFairValueHierarchyDomain": {
     "auth_ref": [
      "r326",
      "r333",
      "r334",
      "r378",
      "r380",
      "r381",
      "r382",
      "r383",
      "r384",
      "r385",
      "r426",
      "r575",
      "r576",
      "r577"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Categories used to prioritize the inputs to valuation techniques to measure fair value.",
        "label": "Fair Value Hierarchy and NAV [Domain]",
        "terseLabel": "Fair Value Hierarchy and NAV [Domain]"
       }
      }
     },
     "localname": "FairValueMeasurementsFairValueHierarchyDomain",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.univest.net/role/FairValueDisclosuresAssetsLiabilitiesandOffbalanceSheetItemsNotMeasuredatFairValueDetails",
      "http://www.univest.net/role/FairValueDisclosuresAssetsMeasuredatFairValueonNonrecurringBasisDetails",
      "http://www.univest.net/role/FairValueDisclosuresAssetsandLiabilitiesMeasuredatFairValueonRecurringBasisDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_FairValueMeasurementsNonrecurringMember": {
     "auth_ref": [
      "r534",
      "r535",
      "r538",
      "r539",
      "r543",
      "r547"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Infrequent fair value measurement. Includes, but is not limited to, fair value adjustment for impairment of asset, liability or equity, not frequently measured at fair value.",
        "label": "Fair Value, Nonrecurring [Member]",
        "terseLabel": "Fair Value, Nonrecurring [Member]"
       }
      }
     },
     "localname": "FairValueMeasurementsNonrecurringMember",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.univest.net/role/FairValueDisclosuresAssetsMeasuredatFairValueonNonrecurringBasisDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_FairValueMeasurementsRecurringMember": {
     "auth_ref": [
      "r544",
      "r547"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Frequent fair value measurement. Includes, but is not limited to, fair value adjustment for impairment of asset, liability or equity, frequently measured at fair value.",
        "label": "Fair Value, Recurring [Member]",
        "terseLabel": "Fair Value Measure on Recurring Basis [Member]"
       }
      }
     },
     "localname": "FairValueMeasurementsRecurringMember",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.univest.net/role/FairValueDisclosuresAssetsandLiabilitiesMeasuredatFairValueonRecurringBasisDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_FairValuesDerivativesBalanceSheetLocationByDerivativeContractTypeByHedgingDesignationTable": {
     "auth_ref": [
      "r507",
      "r511",
      "r525"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Schedule that discloses the location and fair value amounts of derivative instruments (and nonderivative instruments that are designated and qualify as hedging instruments) reported in the statement of financial position.",
        "label": "Fair Values Derivatives, Balance Sheet Location, by Derivative Contract Type [Table]",
        "terseLabel": "Fair Values Derivatives, Balance Sheet Location, by Derivative Contract Type"
       }
      }
     },
     "localname": "FairValuesDerivativesBalanceSheetLocationByDerivativeContractTypeByHedgingDesignationTable",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.univest.net/role/DerivativeInstrumentsandHedgingActivitiesDerivativesNotDesignatedasHedgingInstrumentsDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_FederalDepositInsuranceCorporationPremiumExpense": {
     "auth_ref": [
      "r643"
     ],
     "calculation": {
      "http://www.univest.net/role/CondensedConsolidatedStatementsofIncome": {
       "order": 7.0,
       "parentTag": "us-gaap_NoninterestExpense",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of expense for Federal Deposit Insurance Corporation (FDIC) insurance.",
        "label": "Federal Deposit Insurance Corporation Premium Expense",
        "terseLabel": "Deposit insurance premiums"
       }
      }
     },
     "localname": "FederalDepositInsuranceCorporationPremiumExpense",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.univest.net/role/CondensedConsolidatedStatementsofIncome"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_FederalHomeLoanBankAdvancesActivityForYearAverageInterestRateAtPeriodEnd": {
     "auth_ref": [
      "r624"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The calculated weighted average interest rate for Federal Home Loan Bank advances outstanding as of the Balance Sheet date.",
        "label": "Federal Home Loan Bank, Advances, Activity for Year, Average Interest Rate at Period End",
        "terseLabel": "Weighted average interest rate"
       }
      }
     },
     "localname": "FederalHomeLoanBankAdvancesActivityForYearAverageInterestRateAtPeriodEnd",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.univest.net/role/BorrowingsScheduleofMaturitiesofLongtermFHLBAdvancesDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "us-gaap_FederalHomeLoanBankAdvancesGeneralDebtObligationsDisclosuresAmountOfAvailableUnusedFunds": {
     "auth_ref": [
      "r23",
      "r624",
      "r667"
     ],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of advances or credit lines available from the Federal Home Loan Bank (FHLB).",
        "label": "Federal Home Loan Bank, Advances, General Debt Obligations, Amount of Available, Unused Funds",
        "terseLabel": "Available borrowing capacity from the Federal Home Loan Bank"
       }
      }
     },
     "localname": "FederalHomeLoanBankAdvancesGeneralDebtObligationsDisclosuresAmountOfAvailableUnusedFunds",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.univest.net/role/BorrowingsAdditionalInformationDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_FederalHomeLoanBankAdvancesGeneralDebtObligationsDisclosuresMaximumAmountAvailable": {
     "auth_ref": [
      "r23",
      "r624",
      "r667"
     ],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of maximum advances or credit lines available from the Federal Home Loan Bank (FHLB).",
        "label": "Federal Home Loan Bank, Advances, General Debt Obligations, Maximum Amount Available",
        "terseLabel": "Maximum borrowing capacity with FHLB"
       }
      }
     },
     "localname": "FederalHomeLoanBankAdvancesGeneralDebtObligationsDisclosuresMaximumAmountAvailable",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.univest.net/role/BorrowingsAdditionalInformationDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_FederalHomeLoanBankAdvancesLongTerm": {
     "auth_ref": [
      "r626",
      "r667",
      "r669"
     ],
     "calculation": {
      "http://www.univest.net/role/CondensedConsolidatedBalanceSheets": {
       "order": 6.0,
       "parentTag": "us-gaap_Liabilities",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Including both current and noncurrent portions, Federal Home Loan Bank borrowings initially due beyond one year or beyond the normal operating cycle if longer.",
        "label": "Long-term Federal Home Loan Bank Advances",
        "terseLabel": "Long-term debt"
       }
      }
     },
     "localname": "FederalHomeLoanBankAdvancesLongTerm",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.univest.net/role/CondensedConsolidatedBalanceSheets"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_FederalHomeLoanBankAdvancesMaturitiesSummaryAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Federal Home Loan Bank, Advances, Fiscal Year Maturity [Abstract]",
        "terseLabel": "Federal Home Loan Bank, Advances, Fiscal Year Maturity [Abstract]"
       }
      }
     },
     "localname": "FederalHomeLoanBankAdvancesMaturitiesSummaryAbstract",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.univest.net/role/BorrowingsScheduleofMaturitiesofLongtermFHLBAdvancesDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_FederalHomeLoanBankAdvancesMaturitiesSummaryAverageInterestRateOfAmountsDueAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Federal Home Loan Bank, Advance, Maturity, Average Interest Rate [Abstract]",
        "terseLabel": "Federal Home Loan Bank, Advances, Maturities Summary, Average Interest Rate of Amounts Due [Abstract]"
       }
      }
     },
     "localname": "FederalHomeLoanBankAdvancesMaturitiesSummaryAverageInterestRateOfAmountsDueAbstract",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.univest.net/role/BorrowingsScheduleofMaturitiesofLongtermFHLBAdvancesDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_FederalHomeLoanBankAdvancesMaturitiesSummaryAverageInterestRateOfAmountsDueWithinOneYearOfBalanceSheetDate": {
     "auth_ref": [
      "r616"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Weighted average interest rate of advance from Federal Home Loan Bank (FHLBank) due in next fiscal year following current fiscal year. Excludes interim and annual periods when interim periods are reported from current statement of financial position date (rolling approach).",
        "label": "Federal Home Loan Bank, Advance, Maturity, Average Interest Rate, Year One",
        "terseLabel": "2023 weighted average interest rate"
       }
      }
     },
     "localname": "FederalHomeLoanBankAdvancesMaturitiesSummaryAverageInterestRateOfAmountsDueWithinOneYearOfBalanceSheetDate",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.univest.net/role/BorrowingsScheduleofMaturitiesofLongtermFHLBAdvancesDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "us-gaap_FederalHomeLoanBankAdvancesMaturitiesSummaryAverageInterestRateOneToTwoYearsFromBalanceSheetDate": {
     "auth_ref": [
      "r624"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Weighted average interest rate of advance from Federal Home Loan Bank (FHLBank) due in second fiscal year following current fiscal year. Excludes interim and annual periods when interim periods are reported from current statement of financial position date (rolling approach).",
        "label": "Federal Home Loan Bank, Advance, Maturity, Average Interest Rate, Year Two",
        "terseLabel": "2024 weighted average interest rate"
       }
      }
     },
     "localname": "FederalHomeLoanBankAdvancesMaturitiesSummaryAverageInterestRateOneToTwoYearsFromBalanceSheetDate",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.univest.net/role/BorrowingsScheduleofMaturitiesofLongtermFHLBAdvancesDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "us-gaap_FederalHomeLoanBankAdvancesMaturitiesSummaryAverageInterestRateThreeToFourYearsFromBalanceSheetDate": {
     "auth_ref": [
      "r618"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Weighted average interest rate of advance from Federal Home Loan Bank (FHLBank) due in fourth fiscal year following current fiscal year. Excludes interim and annual periods when interim periods are reported from current statement of financial position date (rolling approach).",
        "label": "Federal Home Loan Bank, Advance, Maturity, Average Interest Rate, Year Four",
        "terseLabel": "2026 weighted average interest rate"
       }
      }
     },
     "localname": "FederalHomeLoanBankAdvancesMaturitiesSummaryAverageInterestRateThreeToFourYearsFromBalanceSheetDate",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.univest.net/role/BorrowingsScheduleofMaturitiesofLongtermFHLBAdvancesDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "us-gaap_FederalHomeLoanBankAdvancesMaturitiesSummaryAverageInterestRateTwoToThreeYearsFromBalanceSheetDate": {
     "auth_ref": [
      "r624"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Weighted average interest rate of advance from Federal Home Loan Bank (FHLBank) due in third fiscal year following current fiscal year. Excludes interim and annual periods when interim periods are reported from current statement of financial position date (rolling approach).",
        "label": "Federal Home Loan Bank, Advance, Maturity, Average Interest Rate, Year Three",
        "terseLabel": "2025 weighted average interest rate"
       }
      }
     },
     "localname": "FederalHomeLoanBankAdvancesMaturitiesSummaryAverageInterestRateTwoToThreeYearsFromBalanceSheetDate",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.univest.net/role/BorrowingsScheduleofMaturitiesofLongtermFHLBAdvancesDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "us-gaap_FederalHomeLoanBankAdvancesMaturitiesSummaryDueFromOneToTwoYearsOfBalanceSheetDate": {
     "auth_ref": [
      "r304",
      "r667"
     ],
     "calculation": {
      "http://www.univest.net/role/BorrowingsScheduleofMaturitiesofLongtermFHLBAdvancesDetails": {
       "order": 4.0,
       "parentTag": "us-gaap_AdvancesFromFederalHomeLoanBanks",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of advance from Federal Home Loan Bank (FHLBank) maturing in second fiscal year following current fiscal year. Excludes interim and annual periods when interim periods are reported from current statement of financial position date (rolling approach).",
        "label": "Federal Home Loan Bank, Advance, Maturity, Year Two",
        "terseLabel": "2024"
       }
      }
     },
     "localname": "FederalHomeLoanBankAdvancesMaturitiesSummaryDueFromOneToTwoYearsOfBalanceSheetDate",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.univest.net/role/BorrowingsScheduleofMaturitiesofLongtermFHLBAdvancesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_FederalHomeLoanBankAdvancesMaturitiesSummaryDueFromThreeToFourYearsOfBalanceSheetDate": {
     "auth_ref": [
      "r304",
      "r667"
     ],
     "calculation": {
      "http://www.univest.net/role/BorrowingsScheduleofMaturitiesofLongtermFHLBAdvancesDetails": {
       "order": 3.0,
       "parentTag": "us-gaap_AdvancesFromFederalHomeLoanBanks",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of advance from Federal Home Loan Bank (FHLBank) maturing in fourth fiscal year following current fiscal year. Excludes interim and annual periods when interim periods are reported from current statement of financial position date (rolling approach).",
        "label": "Federal Home Loan Bank, Advance, Maturity, Year Four",
        "terseLabel": "2026"
       }
      }
     },
     "localname": "FederalHomeLoanBankAdvancesMaturitiesSummaryDueFromThreeToFourYearsOfBalanceSheetDate",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.univest.net/role/BorrowingsScheduleofMaturitiesofLongtermFHLBAdvancesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_FederalHomeLoanBankAdvancesMaturitiesSummaryDueFromTwoToThreeYearsOfBalanceSheetDate": {
     "auth_ref": [
      "r304",
      "r667"
     ],
     "calculation": {
      "http://www.univest.net/role/BorrowingsScheduleofMaturitiesofLongtermFHLBAdvancesDetails": {
       "order": 2.0,
       "parentTag": "us-gaap_AdvancesFromFederalHomeLoanBanks",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of advance from Federal Home Loan Bank (FHLBank) maturing in third fiscal year following current fiscal year. Excludes interim and annual periods when interim periods are reported from current statement of financial position date (rolling approach).",
        "label": "Federal Home Loan Bank, Advance, Maturity, Year Three",
        "terseLabel": "2025"
       }
      }
     },
     "localname": "FederalHomeLoanBankAdvancesMaturitiesSummaryDueFromTwoToThreeYearsOfBalanceSheetDate",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.univest.net/role/BorrowingsScheduleofMaturitiesofLongtermFHLBAdvancesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_FederalHomeLoanBankAdvancesMaturitiesSummaryDueInRemainderOfFiscalYear": {
     "auth_ref": [],
     "calculation": {
      "http://www.univest.net/role/BorrowingsScheduleofMaturitiesofLongtermFHLBAdvancesDetails": {
       "order": 5.0,
       "parentTag": "us-gaap_AdvancesFromFederalHomeLoanBanks",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of advance from Federal Home Loan Bank (FHLBank) maturing in remainder of current fiscal year. Excludes interim and annual periods when interim periods are reported from current statement of financial position date (rolling approach).",
        "label": "Federal Home Loan Bank, Advance, Maturity, Remainder of Fiscal Year",
        "terseLabel": "Remainder of 2022"
       }
      }
     },
     "localname": "FederalHomeLoanBankAdvancesMaturitiesSummaryDueInRemainderOfFiscalYear",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.univest.net/role/BorrowingsScheduleofMaturitiesofLongtermFHLBAdvancesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_FederalHomeLoanBankAdvancesMaturitiesSummaryDueWithinOneYearOfBalanceSheetDate": {
     "auth_ref": [
      "r304",
      "r667"
     ],
     "calculation": {
      "http://www.univest.net/role/BorrowingsScheduleofMaturitiesofLongtermFHLBAdvancesDetails": {
       "order": 1.0,
       "parentTag": "us-gaap_AdvancesFromFederalHomeLoanBanks",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of advance from Federal Home Loan Bank (FHLBank) maturing in next fiscal year following current fiscal year. Excludes interim and annual periods when interim periods are reported from current statement of financial position date (rolling approach).",
        "label": "Federal Home Loan Bank, Advance, Maturity, Year One",
        "terseLabel": "2023"
       }
      }
     },
     "localname": "FederalHomeLoanBankAdvancesMaturitiesSummaryDueWithinOneYearOfBalanceSheetDate",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.univest.net/role/BorrowingsScheduleofMaturitiesofLongtermFHLBAdvancesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_FederalHomeLoanBankAdvancesMember": {
     "auth_ref": [
      "r624"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Borrowings from the Federal Home Loan Bank, which are primarily used to cover shortages in the required reserve balance and also in times of liquidity shortages. The member institution executes a promissory note, which is generally collateralized by government securities to the Federal Reserve or loans.",
        "label": "Federal Home Loan Bank Advances [Member]",
        "terseLabel": "Federal Home Loan Bank Advances [Member]"
       }
      }
     },
     "localname": "FederalHomeLoanBankAdvancesMember",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.univest.net/role/BorrowingsSummaryofBorrowingsByTypeDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_FederalHomeLoanBankStockAndFederalReserveBankStock": {
     "auth_ref": [],
     "calculation": {
      "http://www.univest.net/role/FairValueDisclosuresAssetsLiabilitiesandOffbalanceSheetItemsNotMeasuredatFairValueDetails": {
       "order": 3.0,
       "parentTag": "us-gaap_AssetsFairValueDisclosure",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of Federal Home Loan Bank (FHLB) and Federal Reserve Bank stock.",
        "label": "Federal Home Loan Bank Stock and Federal Reserve Bank Stock",
        "terseLabel": "Federal Home Loan Bank, Federal Reserve Bank and other stock"
       }
      }
     },
     "localname": "FederalHomeLoanBankStockAndFederalReserveBankStock",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.univest.net/role/FairValueDisclosuresAssetsLiabilitiesandOffbalanceSheetItemsNotMeasuredatFairValueDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_FiduciaryAndTrustMember": {
     "auth_ref": [
      "r345"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Person or entity with legal duty to act in best interest of client or beneficiary of trust and fiduciary relationship in which one party gives another party right to hold title to asset for benefit of beneficiary.",
        "label": "Fiduciary and Trust [Member]",
        "terseLabel": "Trust fee income"
       }
      }
     },
     "localname": "FiduciaryAndTrustMember",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.univest.net/role/CondensedConsolidatedStatementsofIncome"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_FinanceLeasesPortfolioSegmentMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Portfolio segment of the company's total financing receivables related to finance leases.",
        "label": "Finance Leases Portfolio Segment [Member]",
        "terseLabel": "Lease Financings [Member]"
       }
      }
     },
     "localname": "FinanceLeasesPortfolioSegmentMember",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.univest.net/role/FairValueDisclosuresNarrativeDetails",
      "http://www.univest.net/role/LoansandLeasesAgeAnalysisofPastDueLoansandLeasesDetails",
      "http://www.univest.net/role/LoansandLeasesAllowanceforCreditLossesLoansandLeasesRollForwardDetails",
      "http://www.univest.net/role/LoansandLeasesAllowanceforLoanandLeaseLossesandRecordedInvestmentinLoansandLeasesDetails",
      "http://www.univest.net/role/LoansandLeasesCollateralDependentLoansDetails",
      "http://www.univest.net/role/LoansandLeasesCreditQualityDetails",
      "http://www.univest.net/role/LoansandLeasesCreditQualityIndicatorsDetails",
      "http://www.univest.net/role/LoansandLeasesNonaccrualDetails",
      "http://www.univest.net/role/LoansandLeasesNonperformingLoansandLeasesDetails",
      "http://www.univest.net/role/LoansandLeasesSummaryofMajorLoanandLeaseCategoriesDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_FinanceReceivablesMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amounts due the Company from customers, clients, lessees, borrowers, or others under the terms of its agreements therewith. Such amount may include accrued interest receivable in accordance with the terms of the agreements. The agreements also may contain provisions and related items including a discount or premium, payable on demand, secured, or unsecured, interest bearing or noninterest bearing, among myriad other features and characteristics.",
        "label": "Financing Receivable [Member]",
        "terseLabel": "Financing Receivable [Member]"
       }
      }
     },
     "localname": "FinanceReceivablesMember",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.univest.net/role/LoansandLeasesCreditQualityIndicatorsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_FinancialAssetNotPastDueMember": {
     "auth_ref": [
      "r256",
      "r269"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Financial asset not past due.",
        "label": "Financial Asset, Not Past Due [Member]",
        "terseLabel": "Financial Asset Not Past Due"
       }
      }
     },
     "localname": "FinancialAssetNotPastDueMember",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.univest.net/role/LoansandLeasesAgeAnalysisofPastDueLoansandLeasesDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_FinancialAssetPastDueMember": {
     "auth_ref": [
      "r194",
      "r256",
      "r269"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Financial asset past due.",
        "label": "Financial Asset, Past Due [Member]",
        "terseLabel": "Financial Asset Past Due"
       }
      }
     },
     "localname": "FinancialAssetPastDueMember",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.univest.net/role/LoansandLeasesAgeAnalysisofPastDueLoansandLeasesDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_FinancialInstrumentAxis": {
     "auth_ref": [
      "r224",
      "r228",
      "r243",
      "r244",
      "r245",
      "r250",
      "r255",
      "r256",
      "r260",
      "r262",
      "r273",
      "r275",
      "r280",
      "r281",
      "r330",
      "r337",
      "r529",
      "r572",
      "r573",
      "r574",
      "r575",
      "r576",
      "r577",
      "r578",
      "r579",
      "r580",
      "r581",
      "r582",
      "r583",
      "r584",
      "r585",
      "r586",
      "r590",
      "r591",
      "r592",
      "r593",
      "r594",
      "r595",
      "r596",
      "r597",
      "r598",
      "r599",
      "r600",
      "r601",
      "r602",
      "r603",
      "r604",
      "r716",
      "r717",
      "r718",
      "r719",
      "r720",
      "r721",
      "r722"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Information by type of financial instrument.",
        "label": "Financial Instrument [Axis]",
        "terseLabel": "Financial Instrument [Axis]"
       }
      }
     },
     "localname": "FinancialInstrumentAxis",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.univest.net/role/InvestmentSecuritiesAllowanceforCreditLossRollforwardDetails",
      "http://www.univest.net/role/InvestmentSecuritiesAmountofSecuritiesinUnrealizedLossPositionDetail",
      "http://www.univest.net/role/InvestmentSecuritiesHeldtoMaturityandAvailableforSaleScheduledMaturitiesDetails",
      "http://www.univest.net/role/InvestmentSecuritiesNarrativeDetail"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_FinancialInstrumentPerformanceStatusAxis": {
     "auth_ref": [
      "r262"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Information by category of performance or non-performance status of financial instruments.",
        "label": "Financial Instrument Performance Status [Axis]",
        "terseLabel": "Financial Instrument Performance Status [Axis]"
       }
      }
     },
     "localname": "FinancialInstrumentPerformanceStatusAxis",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.univest.net/role/LoansandLeasesAccruingandNonaccruingTroubledDebtRestructuredLoanswithPaymentDefaultsDetails",
      "http://www.univest.net/role/LoansandLeasesScheduleofConcessionsGrantedonAccruingandNonaccrualTroubledLoansDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_FinancialInstrumentPerformanceStatusDomain": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Category of performance or non-performance status of financial instruments, including but not limited to, financing receivables, loans, debt, and investments.",
        "label": "Financial Instrument Performance Status [Domain]",
        "terseLabel": "Financial Instrument Performance Status [Domain]"
       }
      }
     },
     "localname": "FinancialInstrumentPerformanceStatusDomain",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.univest.net/role/LoansandLeasesAccruingandNonaccruingTroubledDebtRestructuredLoanswithPaymentDefaultsDetails",
      "http://www.univest.net/role/LoansandLeasesScheduleofConcessionsGrantedonAccruingandNonaccrualTroubledLoansDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_FinancialInstrumentsFinancialAssetsBalanceSheetGroupingsAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Financial Instruments, Financial Assets, Balance Sheet Groupings [Abstract]",
        "terseLabel": "Assets:"
       }
      }
     },
     "localname": "FinancialInstrumentsFinancialAssetsBalanceSheetGroupingsAbstract",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.univest.net/role/FairValueDisclosuresAssetsLiabilitiesandOffbalanceSheetItemsNotMeasuredatFairValueDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_FinancialInstrumentsFinancialLiabilitiesBalanceSheetGroupingsAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Financial Instruments, Financial Liabilities, Balance Sheet Groupings [Abstract]",
        "terseLabel": "Liabilities:"
       }
      }
     },
     "localname": "FinancialInstrumentsFinancialLiabilitiesBalanceSheetGroupingsAbstract",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.univest.net/role/FairValueDisclosuresAssetsLiabilitiesandOffbalanceSheetItemsNotMeasuredatFairValueDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_FinancialServiceOtherMember": {
     "auth_ref": [
      "r345"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Financial assistance, including, but not limited to, management and maintenance of depositor account, credit card, merchant discount, trust, investment and insurance, classified as other.",
        "label": "Financial Service, Other [Member]",
        "terseLabel": "Other service fee income"
       }
      }
     },
     "localname": "FinancialServiceOtherMember",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.univest.net/role/CondensedConsolidatedStatementsofIncome"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_FinancingReceivableAllowanceForCreditLossAdditionalInformationAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Financing Receivable, Allowance for Credit Loss, Additional Information [Abstract]",
        "terseLabel": "Loans and leases held for investment [Abstract]"
       }
      }
     },
     "localname": "FinancingReceivableAllowanceForCreditLossAdditionalInformationAbstract",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.univest.net/role/LoansandLeasesAllowanceforLoanandLeaseLossesandRecordedInvestmentinLoansandLeasesDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_FinancingReceivableAllowanceForCreditLosses": {
     "auth_ref": [
      "r177",
      "r249",
      "r251",
      "r254",
      "r622",
      "r726",
      "r728",
      "r730"
     ],
     "calculation": {
      "http://www.univest.net/role/CondensedConsolidatedBalanceSheets": {
       "order": 1.0,
       "parentTag": "us-gaap_LoansAndLeasesReceivableNetReportedAmount",
       "weight": -1.0
      },
      "http://www.univest.net/role/LoansandLeasesAllowanceforLoanandLeaseLossesandRecordedInvestmentinLoansandLeasesDetails": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of allowance for credit loss on financing receivable. Excludes allowance for financing receivable covered under loss sharing agreement.",
        "label": "Financing Receivable, Allowance for Credit Loss",
        "negatedTerseLabel": "Less: Allowance for credit losses, loans and leases",
        "periodEndLabel": "Ending balance",
        "periodStartLabel": "Beginning balance",
        "totalLabel": "Financing Receivable, Allowance for Credit Loss"
       }
      }
     },
     "localname": "FinancingReceivableAllowanceForCreditLosses",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.univest.net/role/CondensedConsolidatedBalanceSheets",
      "http://www.univest.net/role/LoansandLeasesAllowanceforCreditLossesLoansandLeasesRollForwardDetails",
      "http://www.univest.net/role/LoansandLeasesAllowanceforLoanandLeaseLossesandRecordedInvestmentinLoansandLeasesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_FinancingReceivableAllowanceForCreditLossesCollectivelyEvaluatedForImpairment": {
     "auth_ref": [
      "r181"
     ],
     "calculation": {
      "http://www.univest.net/role/LoansandLeasesAllowanceforLoanandLeaseLossesandRecordedInvestmentinLoansandLeasesDetails": {
       "order": 1.0,
       "parentTag": "us-gaap_FinancingReceivableAllowanceForCreditLosses",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The valuation allowance for financing receivables that are expected to be uncollectible that were collectively evaluated for impairment.",
        "label": "Financing Receivable, Allowance for Credit Losses, Collectively Evaluated for Impairment",
        "terseLabel": "Ending balance: pooled"
       }
      }
     },
     "localname": "FinancingReceivableAllowanceForCreditLossesCollectivelyEvaluatedForImpairment",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.univest.net/role/LoansandLeasesAllowanceforLoanandLeaseLossesandRecordedInvestmentinLoansandLeasesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_FinancingReceivableAllowanceForCreditLossesIndividuallyEvaluatedForImpairment1": {
     "auth_ref": [
      "r181"
     ],
     "calculation": {
      "http://www.univest.net/role/LoansandLeasesAllowanceforLoanandLeaseLossesandRecordedInvestmentinLoansandLeasesDetails": {
       "order": 2.0,
       "parentTag": "us-gaap_FinancingReceivableAllowanceForCreditLosses",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of valuation allowance for financing receivables that are expected to be uncollectible that were individually evaluated for impairment.",
        "label": "Financing Receivable, Allowance for Credit Losses, Individually Evaluated for Impairment",
        "terseLabel": "Ending balance: individually analyzed"
       }
      }
     },
     "localname": "FinancingReceivableAllowanceForCreditLossesIndividuallyEvaluatedForImpairment1",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.univest.net/role/LoansandLeasesAllowanceforLoanandLeaseLossesandRecordedInvestmentinLoansandLeasesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_FinancingReceivableAllowanceForCreditLossesLineItems": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "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.",
        "label": "Financing Receivable, Allowance for Credit Loss [Line Items]",
        "terseLabel": "Financing Receivable, Allowance for Credit Loss [Line Items]"
       }
      }
     },
     "localname": "FinancingReceivableAllowanceForCreditLossesLineItems",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.univest.net/role/LoansandLeasesAllowanceforCreditLossesLoansandLeasesRollForwardDetails",
      "http://www.univest.net/role/LoansandLeasesAllowanceforLoanandLeaseLossesandRecordedInvestmentinLoansandLeasesDetails",
      "http://www.univest.net/role/LoansandLeasesCollateralDependentLoansDetails",
      "http://www.univest.net/role/LoansandLeasesNonaccrualDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_FinancingReceivableAllowanceForCreditLossesRecovery": {
     "auth_ref": [
      "r180",
      "r253",
      "r268"
     ],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of increase in allowance for credit loss on financing receivable from recovery.",
        "label": "Financing Receivable, Allowance for Credit Loss, Recovery",
        "terseLabel": "Recoveries"
       }
      }
     },
     "localname": "FinancingReceivableAllowanceForCreditLossesRecovery",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.univest.net/role/LoansandLeasesAllowanceforCreditLossesLoansandLeasesRollForwardDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_FinancingReceivableAllowanceForCreditLossesWriteOffs": {
     "auth_ref": [
      "r179",
      "r252",
      "r268"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of writeoff of financing receivable, charged against allowance for credit loss.",
        "label": "Financing Receivable, Allowance for Credit Loss, Writeoff",
        "negatedLabel": "Charge-offs"
       }
      }
     },
     "localname": "FinancingReceivableAllowanceForCreditLossesWriteOffs",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.univest.net/role/LoansandLeasesAllowanceforCreditLossesLoansandLeasesRollForwardDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_FinancingReceivableCollectivelyEvaluatedForImpairment": {
     "auth_ref": [
      "r182"
     ],
     "calculation": {
      "http://www.univest.net/role/LoansandLeasesAllowanceforLoanandLeaseLossesandRecordedInvestmentinLoansandLeasesDetails": {
       "order": 3.0,
       "parentTag": "us-gaap_LoansAndLeasesReceivableNetOfDeferredIncome",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The balance of financing receivables that were collectively evaluated for impairment.",
        "label": "Financing Receivable, Collectively Evaluated for Impairment",
        "terseLabel": "Ending balance: pooled"
       }
      }
     },
     "localname": "FinancingReceivableCollectivelyEvaluatedForImpairment",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.univest.net/role/LoansandLeasesAllowanceforLoanandLeaseLossesandRecordedInvestmentinLoansandLeasesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_FinancingReceivableCreditQualityIndicatorsTableTextBlock": {
     "auth_ref": [
      "r186",
      "r262"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Tabular disclosure of financing receivables by credit quality indicator. The credit quality indicator is a statistic about the credit quality of financing receivables. Examples include, but not limited to, consumer credit risk scores, credit-rating-agency ratings, an entity's internal credit risk grades, loan-to-value ratios, collateral, collection experience and other internal metrics.",
        "label": "Financing Receivable Credit Quality Indicators [Table Text Block]",
        "terseLabel": "Summary of Commercial Credit Quality Indicators"
       }
      }
     },
     "localname": "FinancingReceivableCreditQualityIndicatorsTableTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.univest.net/role/LoansandLeasesTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_FinancingReceivableIndividuallyEvaluatedForImpairment": {
     "auth_ref": [
      "r182"
     ],
     "calculation": {
      "http://www.univest.net/role/LoansandLeasesAllowanceforLoanandLeaseLossesandRecordedInvestmentinLoansandLeasesDetails": {
       "order": 2.0,
       "parentTag": "us-gaap_LoansAndLeasesReceivableNetOfDeferredIncome",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The balance of financing receivables that were individually evaluated for impairment.",
        "label": "Financing Receivable, Individually Evaluated for Impairment",
        "terseLabel": "Ending balance: individually analyzed"
       }
      }
     },
     "localname": "FinancingReceivableIndividuallyEvaluatedForImpairment",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.univest.net/role/LoansandLeasesAllowanceforLoanandLeaseLossesandRecordedInvestmentinLoansandLeasesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_FinancingReceivableModificationsLineItems": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "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.",
        "label": "Financing Receivable, Troubled Debt Restructuring [Line Items]",
        "terseLabel": "Financing Receivable, Troubled Debt Restructuring [Line Items]"
       }
      }
     },
     "localname": "FinancingReceivableModificationsLineItems",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.univest.net/role/LoansandLeasesAccruingandNonaccruingTroubledDebtRestructuredLoanswithPaymentDefaultsDetails",
      "http://www.univest.net/role/LoansandLeasesScheduleofConcessionsGrantedonAccruingandNonaccrualTroubledLoansDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_FinancingReceivableModificationsNumberOfContracts2": {
     "auth_ref": [
      "r188"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Number of financing receivables that have been modified by troubled debt restructurings.",
        "label": "Financing Receivable, Modifications, Number of Contracts",
        "terseLabel": "Number of loans"
       }
      }
     },
     "localname": "FinancingReceivableModificationsNumberOfContracts2",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.univest.net/role/LoansandLeasesAccruingandNonaccruingTroubledDebtRestructuredLoanswithPaymentDefaultsDetails",
      "http://www.univest.net/role/LoansandLeasesScheduleofConcessionsGrantedonAccruingandNonaccrualTroubledLoansDetails"
     ],
     "xbrltype": "integerItemType"
    },
    "us-gaap_FinancingReceivableModificationsPostModificationRecordedInvestment2": {
     "auth_ref": [
      "r188"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount, after troubled debt restructuring, of modified financing receivable.",
        "label": "Financing Receivable, Troubled Debt Restructuring, Postmodification",
        "terseLabel": "Post-restructuring outstanding recorded investment"
       }
      }
     },
     "localname": "FinancingReceivableModificationsPostModificationRecordedInvestment2",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.univest.net/role/LoansandLeasesAccruingandNonaccruingTroubledDebtRestructuredLoanswithPaymentDefaultsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_FinancingReceivableModificationsPreModificationRecordedInvestment2": {
     "auth_ref": [
      "r188"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount, before troubled debt restructuring, of financing receivable to be modified.",
        "label": "Financing Receivable, Troubled Debt Restructuring, Premodification",
        "terseLabel": "Pre-restructuring outstanding recorded investment"
       }
      }
     },
     "localname": "FinancingReceivableModificationsPreModificationRecordedInvestment2",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.univest.net/role/LoansandLeasesAccruingandNonaccruingTroubledDebtRestructuredLoanswithPaymentDefaultsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_FinancingReceivableNonaccrualNoAllowance": {
     "auth_ref": [
      "r259"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of financing receivable on nonaccrual status with no allowance for credit loss.",
        "label": "Financing Receivable, Nonaccrual, No Allowance",
        "terseLabel": "Nonaccrual With No ACL"
       }
      }
     },
     "localname": "FinancingReceivableNonaccrualNoAllowance",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.univest.net/role/LoansandLeasesNonaccrualDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_FinancingReceivableOriginatedFiveOrMoreYearsBeforeLatestFiscalYear": {
     "auth_ref": [
      "r263",
      "r268"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of financing receivable originated more than five years prior to current fiscal year.",
        "label": "Financing Receivable, Originated, More than Five Years before Current Fiscal Year",
        "terseLabel": "Prior"
       }
      }
     },
     "localname": "FinancingReceivableOriginatedFiveOrMoreYearsBeforeLatestFiscalYear",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.univest.net/role/LoansandLeasesCreditQualityDetails",
      "http://www.univest.net/role/LoansandLeasesCreditQualityIndicatorsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_FinancingReceivableOriginatedFourYearsBeforeLatestFiscalYear": {
     "auth_ref": [
      "r263",
      "r268"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of financing receivable originated four years prior to current fiscal year.",
        "label": "Financing Receivable, Year Five, Originated, Four Years before Current Fiscal Year",
        "terseLabel": "2018"
       }
      }
     },
     "localname": "FinancingReceivableOriginatedFourYearsBeforeLatestFiscalYear",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.univest.net/role/LoansandLeasesCreditQualityDetails",
      "http://www.univest.net/role/LoansandLeasesCreditQualityIndicatorsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_FinancingReceivableOriginatedInCurrentFiscalYear": {
     "auth_ref": [
      "r263",
      "r268"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of financing receivable originated in current fiscal year.",
        "label": "Financing Receivable, Year One, Originated, Current Fiscal Year",
        "terseLabel": "2022"
       }
      }
     },
     "localname": "FinancingReceivableOriginatedInCurrentFiscalYear",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.univest.net/role/LoansandLeasesCreditQualityDetails",
      "http://www.univest.net/role/LoansandLeasesCreditQualityIndicatorsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_FinancingReceivableOriginatedInFiscalYearBeforeLatestFiscalYear": {
     "auth_ref": [
      "r263",
      "r268"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of financing receivable originated in fiscal year prior to current fiscal year.",
        "label": "Financing Receivable, Year Two, Originated, Fiscal Year before Current Fiscal Year",
        "terseLabel": "2021"
       }
      }
     },
     "localname": "FinancingReceivableOriginatedInFiscalYearBeforeLatestFiscalYear",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.univest.net/role/LoansandLeasesCreditQualityDetails",
      "http://www.univest.net/role/LoansandLeasesCreditQualityIndicatorsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_FinancingReceivableOriginatedThreeYearsBeforeLatestFiscalYear": {
     "auth_ref": [
      "r263",
      "r268"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of financing receivable originated three years prior to current fiscal year.",
        "label": "Financing Receivable, Year Four, Originated, Three Years before Current Fiscal Year",
        "terseLabel": "2019"
       }
      }
     },
     "localname": "FinancingReceivableOriginatedThreeYearsBeforeLatestFiscalYear",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.univest.net/role/LoansandLeasesCreditQualityDetails",
      "http://www.univest.net/role/LoansandLeasesCreditQualityIndicatorsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_FinancingReceivableOriginatedTwoYearsBeforeLatestFiscalYear": {
     "auth_ref": [
      "r263",
      "r268"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of financing receivable originated two years prior to current fiscal year.",
        "label": "Financing Receivable, Year Three, Originated, Two Years before Current Fiscal Year",
        "terseLabel": "2020"
       }
      }
     },
     "localname": "FinancingReceivableOriginatedTwoYearsBeforeLatestFiscalYear",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.univest.net/role/LoansandLeasesCreditQualityDetails",
      "http://www.univest.net/role/LoansandLeasesCreditQualityIndicatorsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_FinancingReceivableRecordedInvestment90DaysPastDueAndStillAccruing": {
     "auth_ref": [
      "r192",
      "r258",
      "r269"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of financing receivable 90 days or more past due and still accruing.",
        "label": "Financing Receivable, 90 Days or More Past Due, Still Accruing",
        "terseLabel": "Loans and Leases 90 Days or more Past Due and Accruing Interest",
        "verboseLabel": "Loans and lease 90 days or more past due and accruing interest"
       }
      }
     },
     "localname": "FinancingReceivableRecordedInvestment90DaysPastDueAndStillAccruing",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.univest.net/role/LoansandLeasesNonaccrualDetails",
      "http://www.univest.net/role/LoansandLeasesNonperformingLoansandLeasesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis": {
     "auth_ref": [
      "r187",
      "r193",
      "r194",
      "r256",
      "r260",
      "r262",
      "r264",
      "r265",
      "r268",
      "r269",
      "r716",
      "r717",
      "r718",
      "r719",
      "r720",
      "r721",
      "r722",
      "r724",
      "r725",
      "r726",
      "r727",
      "r728",
      "r729",
      "r730"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Information by class of financing receivable determined on the basis of initial measurement attribute, risk characteristics and method of monitoring and assessing credit risk.",
        "label": "Class of Financing Receivable [Axis]",
        "terseLabel": "Class of Financing Receivable [Axis]",
        "verboseLabel": "Class of Financing Receivable [Axis]"
       }
      }
     },
     "localname": "FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.univest.net/role/FairValueDisclosuresNarrativeDetails",
      "http://www.univest.net/role/LoansandLeasesAccruingandNonaccruingTroubledDebtRestructuredLoanswithPaymentDefaultsDetails",
      "http://www.univest.net/role/LoansandLeasesAgeAnalysisofPastDueLoansandLeasesDetails",
      "http://www.univest.net/role/LoansandLeasesAllowanceforCreditLossesLoansandLeasesRollForwardDetails",
      "http://www.univest.net/role/LoansandLeasesAllowanceforLoanandLeaseLossesandRecordedInvestmentinLoansandLeasesDetails",
      "http://www.univest.net/role/LoansandLeasesCollateralDependentLoansDetails",
      "http://www.univest.net/role/LoansandLeasesCreditQualityDetails",
      "http://www.univest.net/role/LoansandLeasesCreditQualityIndicatorsDetails",
      "http://www.univest.net/role/LoansandLeasesNonaccrualDetails",
      "http://www.univest.net/role/LoansandLeasesNonperformingLoansandLeasesDetails",
      "http://www.univest.net/role/LoansandLeasesScheduleofConcessionsGrantedonAccruingandNonaccrualTroubledLoansDetails",
      "http://www.univest.net/role/LoansandLeasesSummaryofMajorLoanandLeaseCategoriesDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain": {
     "auth_ref": [
      "r716",
      "r717",
      "r718",
      "r719",
      "r720",
      "r721",
      "r722",
      "r724",
      "r725",
      "r726",
      "r727",
      "r728",
      "r729",
      "r730"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Financing receivables determined on the basis of initial measurement attribute, risk characteristics and method of monitoring and assessing credit risk.",
        "label": "Class of Financing Receivable [Domain]",
        "terseLabel": "Class of Financing Receivable [Domain]"
       }
      }
     },
     "localname": "FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.univest.net/role/FairValueDisclosuresNarrativeDetails",
      "http://www.univest.net/role/LoansandLeasesAccruingandNonaccruingTroubledDebtRestructuredLoanswithPaymentDefaultsDetails",
      "http://www.univest.net/role/LoansandLeasesAgeAnalysisofPastDueLoansandLeasesDetails",
      "http://www.univest.net/role/LoansandLeasesAllowanceforCreditLossesLoansandLeasesRollForwardDetails",
      "http://www.univest.net/role/LoansandLeasesAllowanceforLoanandLeaseLossesandRecordedInvestmentinLoansandLeasesDetails",
      "http://www.univest.net/role/LoansandLeasesCollateralDependentLoansDetails",
      "http://www.univest.net/role/LoansandLeasesCreditQualityDetails",
      "http://www.univest.net/role/LoansandLeasesCreditQualityIndicatorsDetails",
      "http://www.univest.net/role/LoansandLeasesNonaccrualDetails",
      "http://www.univest.net/role/LoansandLeasesNonperformingLoansandLeasesDetails",
      "http://www.univest.net/role/LoansandLeasesScheduleofConcessionsGrantedonAccruingandNonaccrualTroubledLoansDetails",
      "http://www.univest.net/role/LoansandLeasesSummaryofMajorLoanandLeaseCategoriesDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_FinancingReceivableRecordedInvestmentLineItems": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "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.",
        "label": "Financing Receivable, Credit Quality Indicator [Line Items]",
        "terseLabel": "Financing Receivable, Credit Quality Indicator [Line Items]"
       }
      }
     },
     "localname": "FinancingReceivableRecordedInvestmentLineItems",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.univest.net/role/LoansandLeasesCreditQualityDetails",
      "http://www.univest.net/role/LoansandLeasesCreditQualityIndicatorsDetails",
      "http://www.univest.net/role/LoansandLeasesNarrativeDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_FinancingReceivableRecordedInvestmentNonaccrualStatus": {
     "auth_ref": [
      "r191",
      "r257",
      "r727",
      "r728"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of financing receivable on nonaccrual status.",
        "label": "Financing Receivable, Nonaccrual",
        "terseLabel": "Nonaccrual loans and lease",
        "verboseLabel": "Total nonaccrual loans"
       }
      }
     },
     "localname": "FinancingReceivableRecordedInvestmentNonaccrualStatus",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.univest.net/role/LoansandLeasesAgeAnalysisofPastDueLoansandLeasesDetails",
      "http://www.univest.net/role/LoansandLeasesCollateralDependentLoansDetails",
      "http://www.univest.net/role/LoansandLeasesNonaccrualDetails",
      "http://www.univest.net/role/LoansandLeasesNonperformingLoansandLeasesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_FinancingReceivableRevolving": {
     "auth_ref": [
      "r263",
      "r268"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of financing receivable that can be withdrawn, repaid and redrawn.",
        "label": "Financing Receivable, Revolving",
        "terseLabel": "Revolving loans amortized cost basis"
       }
      }
     },
     "localname": "FinancingReceivableRevolving",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.univest.net/role/LoansandLeasesCreditQualityDetails",
      "http://www.univest.net/role/LoansandLeasesCreditQualityIndicatorsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_FinancingReceivables30To59DaysPastDueMember": {
     "auth_ref": [
      "r269"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Financial asset more than 29 days past due but fewer than 60 days past due.",
        "label": "Financial Asset, 30 to 59 Days Past Due [Member]",
        "terseLabel": "Financial Asset, 30 to 59 Days Past Due [Member]"
       }
      }
     },
     "localname": "FinancingReceivables30To59DaysPastDueMember",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.univest.net/role/LoansandLeasesAgeAnalysisofPastDueLoansandLeasesDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_FinancingReceivables60To89DaysPastDueMember": {
     "auth_ref": [
      "r269"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Financial asset more than 59 days past due but fewer than 90 days past due.",
        "label": "Financial Asset, 60 to 89 Days Past Due [Member]",
        "terseLabel": "Financial Asset, 60 to 89 Days Past Due [Member]"
       }
      }
     },
     "localname": "FinancingReceivables60To89DaysPastDueMember",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.univest.net/role/LoansandLeasesAgeAnalysisofPastDueLoansandLeasesDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_FinancingReceivablesEqualToGreaterThan90DaysPastDueMember": {
     "auth_ref": [
      "r269"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Financial asset equal to or greater than 90 days past due.",
        "label": "Financial Asset, Equal to or Greater than 90 Days Past Due [Member]",
        "terseLabel": "Financial Asset, Equal to or Greater than 90 Days Past Due [Member]"
       }
      }
     },
     "localname": "FinancingReceivablesEqualToGreaterThan90DaysPastDueMember",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.univest.net/role/LoansandLeasesAgeAnalysisofPastDueLoansandLeasesDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_FinancingReceivablesPeriodPastDueAxis": {
     "auth_ref": [
      "r194",
      "r256",
      "r269"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Information by period in which financial asset is past due or not past due.",
        "label": "Financial Asset, Aging [Axis]",
        "terseLabel": "Financial Asset, Period Past Due [Axis]"
       }
      }
     },
     "localname": "FinancingReceivablesPeriodPastDueAxis",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.univest.net/role/LoansandLeasesAgeAnalysisofPastDueLoansandLeasesDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_FinancingReceivablesPeriodPastDueDomain": {
     "auth_ref": [
      "r194",
      "r256",
      "r269"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Period in which financial asset is past due or not past due. For past due, element name and standard label in Financial Asset, [numeric lower end] to [numeric higher end] [date measure] Past Due [Member] or Financial Asset, Greater than [low end numeric value] [date measure] Past Due [Member] or Financial Asset, Less than [high end numeric value] [date measure] Past Due [Member] formats.",
        "label": "Financial Asset, Aging [Domain]",
        "terseLabel": "Financial Asset, Period Past Due [Domain]"
       }
      }
     },
     "localname": "FinancingReceivablesPeriodPastDueDomain",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.univest.net/role/LoansandLeasesAgeAnalysisofPastDueLoansandLeasesDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_FiniteLivedIntangibleAssetsAccumulatedAmortization": {
     "auth_ref": [
      "r290"
     ],
     "calculation": {
      "http://www.univest.net/role/GoodwillandOtherIntangibleAssetsComponentsofIntangibleAssetsDetails": {
       "order": 2.0,
       "parentTag": "us-gaap_FiniteLivedIntangibleAssetsNet",
       "weight": -1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Accumulated amount of amortization of assets, excluding financial assets and goodwill, lacking physical substance with a finite life.",
        "label": "Finite-Lived Intangible Assets, Accumulated Amortization",
        "negatedTerseLabel": "Accumulated amortization"
       }
      }
     },
     "localname": "FiniteLivedIntangibleAssetsAccumulatedAmortization",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.univest.net/role/GoodwillandOtherIntangibleAssetsComponentsofIntangibleAssetsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseNextTwelveMonths": {
     "auth_ref": [
      "r291"
     ],
     "calculation": {
      "http://www.univest.net/role/GoodwillandOtherIntangibleAssetsEstimatedAmortizationExpenseforCoreDepositandCustomerRelatedIntangiblesDetails": {
       "order": 5.0,
       "parentTag": "uvsp_FiniteLivedIntangibleAssetExpectedAmortization",
       "weight": 1.0
      },
      "http://www.univest.net/role/GoodwillandOtherIntangibleAssetsEstimatedAmortizationExpenseofServicingRightsDetails": {
       "order": 5.0,
       "parentTag": "us-gaap_ServicingAssetAtAmortizedValue",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of amortization for assets, excluding financial assets and goodwill, lacking physical substance with finite life expected to be recognized in next fiscal year following current fiscal year. Excludes interim and annual periods when interim periods are reported from current statement of financial position date (rolling approach).",
        "label": "Finite-Lived Intangible Asset, Expected Amortization, Year One",
        "terseLabel": "2023"
       }
      }
     },
     "localname": "FiniteLivedIntangibleAssetsAmortizationExpenseNextTwelveMonths",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.univest.net/role/GoodwillandOtherIntangibleAssetsEstimatedAmortizationExpenseforCoreDepositandCustomerRelatedIntangiblesDetails",
      "http://www.univest.net/role/GoodwillandOtherIntangibleAssetsEstimatedAmortizationExpenseofServicingRightsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseRemainderOfFiscalYear": {
     "auth_ref": [],
     "calculation": {
      "http://www.univest.net/role/GoodwillandOtherIntangibleAssetsEstimatedAmortizationExpenseforCoreDepositandCustomerRelatedIntangiblesDetails": {
       "order": 3.0,
       "parentTag": "uvsp_FiniteLivedIntangibleAssetExpectedAmortization",
       "weight": 1.0
      },
      "http://www.univest.net/role/GoodwillandOtherIntangibleAssetsEstimatedAmortizationExpenseofServicingRightsDetails": {
       "order": 3.0,
       "parentTag": "us-gaap_ServicingAssetAtAmortizedValue",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of amortization for assets, excluding financial assets and goodwill, lacking physical substance with finite life expected to be recognized in remainder of current fiscal year.",
        "label": "Finite-Lived Intangible Asset, Expected Amortization, Remainder of Fiscal Year",
        "terseLabel": "Remainder of 2022"
       }
      }
     },
     "localname": "FiniteLivedIntangibleAssetsAmortizationExpenseRemainderOfFiscalYear",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.univest.net/role/GoodwillandOtherIntangibleAssetsEstimatedAmortizationExpenseforCoreDepositandCustomerRelatedIntangiblesDetails",
      "http://www.univest.net/role/GoodwillandOtherIntangibleAssetsEstimatedAmortizationExpenseofServicingRightsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseYearFour": {
     "auth_ref": [
      "r291"
     ],
     "calculation": {
      "http://www.univest.net/role/GoodwillandOtherIntangibleAssetsEstimatedAmortizationExpenseforCoreDepositandCustomerRelatedIntangiblesDetails": {
       "order": 1.0,
       "parentTag": "uvsp_FiniteLivedIntangibleAssetExpectedAmortization",
       "weight": 1.0
      },
      "http://www.univest.net/role/GoodwillandOtherIntangibleAssetsEstimatedAmortizationExpenseofServicingRightsDetails": {
       "order": 4.0,
       "parentTag": "us-gaap_ServicingAssetAtAmortizedValue",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of amortization for assets, excluding financial assets and goodwill, lacking physical substance with finite life expected to be recognized in fourth fiscal year following current fiscal year. Excludes interim and annual periods when interim periods are reported from current statement of financial position date (rolling approach).",
        "label": "Finite-Lived Intangible Asset, Expected Amortization, Year Four",
        "terseLabel": "2026"
       }
      }
     },
     "localname": "FiniteLivedIntangibleAssetsAmortizationExpenseYearFour",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.univest.net/role/GoodwillandOtherIntangibleAssetsEstimatedAmortizationExpenseforCoreDepositandCustomerRelatedIntangiblesDetails",
      "http://www.univest.net/role/GoodwillandOtherIntangibleAssetsEstimatedAmortizationExpenseofServicingRightsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseYearThree": {
     "auth_ref": [
      "r291"
     ],
     "calculation": {
      "http://www.univest.net/role/GoodwillandOtherIntangibleAssetsEstimatedAmortizationExpenseforCoreDepositandCustomerRelatedIntangiblesDetails": {
       "order": 4.0,
       "parentTag": "uvsp_FiniteLivedIntangibleAssetExpectedAmortization",
       "weight": 1.0
      },
      "http://www.univest.net/role/GoodwillandOtherIntangibleAssetsEstimatedAmortizationExpenseofServicingRightsDetails": {
       "order": 6.0,
       "parentTag": "us-gaap_ServicingAssetAtAmortizedValue",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of amortization for assets, excluding financial assets and goodwill, lacking physical substance with finite life expected to be recognized in third fiscal year following current fiscal year. Excludes interim and annual periods when interim periods are reported from current statement of financial position date (rolling approach).",
        "label": "Finite-Lived Intangible Asset, Expected Amortization, Year Three",
        "terseLabel": "2025"
       }
      }
     },
     "localname": "FiniteLivedIntangibleAssetsAmortizationExpenseYearThree",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.univest.net/role/GoodwillandOtherIntangibleAssetsEstimatedAmortizationExpenseforCoreDepositandCustomerRelatedIntangiblesDetails",
      "http://www.univest.net/role/GoodwillandOtherIntangibleAssetsEstimatedAmortizationExpenseofServicingRightsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseYearTwo": {
     "auth_ref": [
      "r291"
     ],
     "calculation": {
      "http://www.univest.net/role/GoodwillandOtherIntangibleAssetsEstimatedAmortizationExpenseforCoreDepositandCustomerRelatedIntangiblesDetails": {
       "order": 2.0,
       "parentTag": "uvsp_FiniteLivedIntangibleAssetExpectedAmortization",
       "weight": 1.0
      },
      "http://www.univest.net/role/GoodwillandOtherIntangibleAssetsEstimatedAmortizationExpenseofServicingRightsDetails": {
       "order": 2.0,
       "parentTag": "us-gaap_ServicingAssetAtAmortizedValue",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of amortization for assets, excluding financial assets and goodwill, lacking physical substance with finite life expected to be recognized in second fiscal year following current fiscal year. Excludes interim and annual periods when interim periods are reported from current statement of financial position date (rolling approach).",
        "label": "Finite-Lived Intangible Asset, Expected Amortization, Year Two",
        "terseLabel": "2024"
       }
      }
     },
     "localname": "FiniteLivedIntangibleAssetsAmortizationExpenseYearTwo",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.univest.net/role/GoodwillandOtherIntangibleAssetsEstimatedAmortizationExpenseforCoreDepositandCustomerRelatedIntangiblesDetails",
      "http://www.univest.net/role/GoodwillandOtherIntangibleAssetsEstimatedAmortizationExpenseofServicingRightsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis": {
     "auth_ref": [
      "r287",
      "r288",
      "r290",
      "r292",
      "r607",
      "r608"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Information by major type or class of finite-lived intangible assets.",
        "label": "Finite-Lived Intangible Assets by Major Class [Axis]",
        "terseLabel": "Finite-Lived Intangible Assets by Major Class [Axis]"
       }
      }
     },
     "localname": "FiniteLivedIntangibleAssetsByMajorClassAxis",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.univest.net/role/GoodwillandOtherIntangibleAssetsActivityInValuationAllowanceForServicingRightsDetails",
      "http://www.univest.net/role/GoodwillandOtherIntangibleAssetsChangesinServicingRightsDetails",
      "http://www.univest.net/role/GoodwillandOtherIntangibleAssetsComponentsofIntangibleAssetsDetails",
      "http://www.univest.net/role/GoodwillandOtherIntangibleAssetsEstimatedAmortizationExpenseforCoreDepositandCustomerRelatedIntangiblesDetails",
      "http://www.univest.net/role/GoodwillandOtherIntangibleAssetsEstimatedAmortizationExpenseofServicingRightsDetails",
      "http://www.univest.net/role/GoodwillandOtherIntangibleAssetsNarrativeDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_FiniteLivedIntangibleAssetsGross": {
     "auth_ref": [
      "r290",
      "r608"
     ],
     "calculation": {
      "http://www.univest.net/role/GoodwillandOtherIntangibleAssetsComponentsofIntangibleAssetsDetails": {
       "order": 1.0,
       "parentTag": "us-gaap_FiniteLivedIntangibleAssetsNet",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount before amortization of assets, excluding financial assets and goodwill, lacking physical substance with a finite life.",
        "label": "Finite-Lived Intangible Assets, Gross",
        "terseLabel": "Gross carrying amount"
       }
      }
     },
     "localname": "FiniteLivedIntangibleAssetsGross",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.univest.net/role/GoodwillandOtherIntangibleAssetsComponentsofIntangibleAssetsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_FiniteLivedIntangibleAssetsLineItems": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "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.",
        "label": "Finite-Lived Intangible Assets [Line Items]",
        "terseLabel": "Finite-Lived Intangible Assets [Line Items]"
       }
      }
     },
     "localname": "FiniteLivedIntangibleAssetsLineItems",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.univest.net/role/GoodwillandOtherIntangibleAssetsComponentsofIntangibleAssetsDetails",
      "http://www.univest.net/role/GoodwillandOtherIntangibleAssetsEstimatedAmortizationExpenseforCoreDepositandCustomerRelatedIntangiblesDetails",
      "http://www.univest.net/role/GoodwillandOtherIntangibleAssetsEstimatedAmortizationExpenseofServicingRightsDetails",
      "http://www.univest.net/role/GoodwillandOtherIntangibleAssetsNarrativeDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain": {
     "auth_ref": [
      "r287",
      "r289"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The major class of finite-lived intangible asset (for example, patents, trademarks, copyrights, etc.) A major class is composed of intangible assets that can be grouped together because they are similar, either by their nature or by their use in the operations of a company.",
        "label": "Finite-Lived Intangible Assets, Major Class Name [Domain]",
        "terseLabel": "Finite-Lived Intangible Assets, Major Class Name [Domain]"
       }
      }
     },
     "localname": "FiniteLivedIntangibleAssetsMajorClassNameDomain",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.univest.net/role/GoodwillandOtherIntangibleAssetsActivityInValuationAllowanceForServicingRightsDetails",
      "http://www.univest.net/role/GoodwillandOtherIntangibleAssetsChangesinServicingRightsDetails",
      "http://www.univest.net/role/GoodwillandOtherIntangibleAssetsComponentsofIntangibleAssetsDetails",
      "http://www.univest.net/role/GoodwillandOtherIntangibleAssetsEstimatedAmortizationExpenseforCoreDepositandCustomerRelatedIntangiblesDetails",
      "http://www.univest.net/role/GoodwillandOtherIntangibleAssetsEstimatedAmortizationExpenseofServicingRightsDetails",
      "http://www.univest.net/role/GoodwillandOtherIntangibleAssetsNarrativeDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_FiniteLivedIntangibleAssetsNet": {
     "auth_ref": [
      "r290",
      "r607"
     ],
     "calculation": {
      "http://www.univest.net/role/CondensedConsolidatedBalanceSheets": {
       "order": 9.0,
       "parentTag": "us-gaap_Assets",
       "weight": 1.0
      },
      "http://www.univest.net/role/GoodwillandOtherIntangibleAssetsComponentsofIntangibleAssetsDetails": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount after amortization of assets, excluding financial assets and goodwill, lacking physical substance with a finite life.",
        "label": "Finite-Lived Intangible Assets, Net",
        "terseLabel": "Other intangibles, net of accumulated amortization",
        "totalLabel": "Net carrying amount"
       }
      }
     },
     "localname": "FiniteLivedIntangibleAssetsNet",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.univest.net/role/CondensedConsolidatedBalanceSheets",
      "http://www.univest.net/role/GoodwillandOtherIntangibleAssetsComponentsofIntangibleAssetsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_GainLossOnDerivativeInstrumentsNetPretax": {
     "auth_ref": [
      "r508"
     ],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Aggregate net gain (loss) on all derivative instruments recognized in earnings during the period, before tax effects.",
        "label": "Gain (Loss) on Derivative Instruments, Net, Pretax",
        "terseLabel": "Total net gain (loss)"
       }
      }
     },
     "localname": "GainLossOnDerivativeInstrumentsNetPretax",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.univest.net/role/DerivativeInstrumentsandHedgingActivitiesDerivativesDesignatedasHedgingInstrumentsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_Goodwill": {
     "auth_ref": [
      "r282",
      "r283",
      "r571",
      "r613"
     ],
     "calculation": {
      "http://www.univest.net/role/CondensedConsolidatedBalanceSheets": {
       "order": 8.0,
       "parentTag": "us-gaap_Assets",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount after accumulated impairment loss of an asset representing future economic benefits arising from other assets acquired in a business combination that are not individually identified and separately recognized.",
        "label": "Goodwill",
        "periodEndLabel": "Goodwill, ending balance",
        "periodStartLabel": "Goodwill, beginning balance",
        "terseLabel": "Goodwill"
       }
      }
     },
     "localname": "Goodwill",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.univest.net/role/CondensedConsolidatedBalanceSheets",
      "http://www.univest.net/role/GoodwillandOtherIntangibleAssetsSummaryofChangesinCarryingAmountofGoodwillDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_GoodwillAcquiredDuringPeriod": {
     "auth_ref": [
      "r284"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of increase in asset representing future economic benefits arising from other assets acquired in a business combination that are not individually identified and separately recognized resulting from a business combination.",
        "label": "Goodwill, Acquired During Period",
        "terseLabel": "Goodwill, acquired during period"
       }
      }
     },
     "localname": "GoodwillAcquiredDuringPeriod",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.univest.net/role/GoodwillandOtherIntangibleAssetsSummaryofChangesinCarryingAmountofGoodwillDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_GoodwillAndIntangibleAssetsDisclosureAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Goodwill and Intangible Assets Disclosure [Abstract]"
       }
      }
     },
     "localname": "GoodwillAndIntangibleAssetsDisclosureAbstract",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "xbrltype": "stringItemType"
    },
    "us-gaap_GoodwillAndIntangibleAssetsDisclosureTextBlock": {
     "auth_ref": [
      "r293"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The entire disclosure for goodwill and intangible assets.",
        "label": "Goodwill and Intangible Assets Disclosure [Text Block]",
        "terseLabel": "Goodwill and Other Intangible Assets"
       }
      }
     },
     "localname": "GoodwillAndIntangibleAssetsDisclosureTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.univest.net/role/GoodwillandOtherIntangibleAssets"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_GoodwillLineItems": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "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.",
        "label": "Goodwill [Line Items]",
        "terseLabel": "Goodwill [Line Items]"
       }
      }
     },
     "localname": "GoodwillLineItems",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.univest.net/role/GoodwillandOtherIntangibleAssetsSummaryofChangesinCarryingAmountofGoodwillDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_HedgingDesignationAxis": {
     "auth_ref": [
      "r505",
      "r520"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Information by designation of purpose of derivative instrument.",
        "label": "Hedging Designation [Axis]",
        "terseLabel": "Hedging Designation [Axis]"
       }
      }
     },
     "localname": "HedgingDesignationAxis",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.univest.net/role/DerivativeInstrumentsandHedgingActivitiesDerivativesDesignatedasHedgingInstrumentsDetails",
      "http://www.univest.net/role/DerivativeInstrumentsandHedgingActivitiesDerivativesNotDesignatedasHedgingInstrumentsDetails",
      "http://www.univest.net/role/DerivativeInstrumentsandHedgingActivitiesNarrativeDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_HedgingDesignationDomain": {
     "auth_ref": [
      "r505"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Designation of purpose of derivative instrument.",
        "label": "Hedging Designation [Domain]",
        "terseLabel": "Hedging Designation [Domain]"
       }
      }
     },
     "localname": "HedgingDesignationDomain",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.univest.net/role/DerivativeInstrumentsandHedgingActivitiesDerivativesDesignatedasHedgingInstrumentsDetails",
      "http://www.univest.net/role/DerivativeInstrumentsandHedgingActivitiesDerivativesNotDesignatedasHedgingInstrumentsDetails",
      "http://www.univest.net/role/DerivativeInstrumentsandHedgingActivitiesNarrativeDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_HedgingRelationshipDomain": {
     "auth_ref": [
      "r505"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Nature or intent of a hedge.",
        "label": "Hedging Relationship [Domain]",
        "terseLabel": "Hedging Relationship [Domain]"
       }
      }
     },
     "localname": "HedgingRelationshipDomain",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.univest.net/role/DerivativeInstrumentsandHedgingActivitiesDerivativesDesignatedasHedgingInstrumentsDetails",
      "http://www.univest.net/role/DerivativeInstrumentsandHedgingActivitiesNarrativeDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_HeldToMaturitySecurities": {
     "auth_ref": [
      "r194",
      "r215",
      "r249",
      "r256"
     ],
     "calculation": {
      "http://www.univest.net/role/CondensedConsolidatedBalanceSheets": {
       "order": 1.0,
       "parentTag": "us-gaap_Assets",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount, before allowance for credit loss, of investment in debt security measured at amortized cost (held-to-maturity).",
        "label": "Debt Securities, Held-to-Maturity, Amortized Cost, before Allowance for Credit Loss",
        "terseLabel": "Investment securities held-to-maturity (fair value $157,924 and $178,402 at March 31, 2022 and December 31, 2021, respectively)"
       }
      }
     },
     "localname": "HeldToMaturitySecurities",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.univest.net/role/CondensedConsolidatedBalanceSheets",
      "http://www.univest.net/role/InvestmentSecuritiesHeldtoMaturityandAvailableforSaleScheduledMaturitiesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_HeldToMaturitySecuritiesAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Debt Securities, Held-to-Maturity, Fair Value to Amortized Cost, after Allowance for Credit Loss [Abstract]",
        "terseLabel": "Debt Securities, Held-to-maturity, Fair Value to Amortized Cost [Abstract]"
       }
      }
     },
     "localname": "HeldToMaturitySecuritiesAbstract",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.univest.net/role/InvestmentSecuritiesHeldtoMaturityandAvailableforSaleScheduledMaturitiesDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_HeldToMaturitySecuritiesAccumulatedUnrecognizedHoldingGain": {
     "auth_ref": [
      "r218",
      "r226"
     ],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of accumulated unrecognized gain on investment in debt security measured at amortized cost (held-to-maturity).",
        "label": "Debt Securities, Held-to-maturity, Accumulated Unrecognized Gain",
        "terseLabel": "Securities Held-to-Maturity, Gross Unrealized Gains"
       }
      }
     },
     "localname": "HeldToMaturitySecuritiesAccumulatedUnrecognizedHoldingGain",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.univest.net/role/InvestmentSecuritiesHeldtoMaturityandAvailableforSaleScheduledMaturitiesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_HeldToMaturitySecuritiesAccumulatedUnrecognizedHoldingLoss": {
     "auth_ref": [
      "r219",
      "r227"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of accumulated unrealized loss on investment in debt security measured at amortized cost (held-to-maturity).",
        "label": "Debt Securities, Held-to-maturity, Accumulated Unrecognized Loss",
        "negatedLabel": "Securities Held-to-Maturity, Gross Unrealized Losses"
       }
      }
     },
     "localname": "HeldToMaturitySecuritiesAccumulatedUnrecognizedHoldingLoss",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.univest.net/role/InvestmentSecuritiesHeldtoMaturityandAvailableforSaleScheduledMaturitiesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_HeldToMaturitySecuritiesContinuousUnrealizedLossPosition12MonthsOrLongerAccumulatedLoss": {
     "auth_ref": [
      "r234",
      "r236"
     ],
     "calculation": {
      "http://www.univest.net/role/InvestmentSecuritiesAmountofSecuritiesinUnrealizedLossPositionDetail": {
       "order": 2.0,
       "parentTag": "us-gaap_HeldToMaturitySecuritiesContinuousUnrealizedLossPositionAccumulatedLoss",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of accumulated unrealized loss on investment in debt security measured at amortized cost (held-to-maturity), in continuous loss position for 12 months or longer.",
        "label": "Debt Securities, Held-to-maturity, Continuous Unrealized Loss Position, 12 Months or Longer, Accumulated Loss",
        "negatedTerseLabel": "Debt securities, held-to-maturity, continuous unrealized loss position, 12 months or longer, accumulated loss"
       }
      }
     },
     "localname": "HeldToMaturitySecuritiesContinuousUnrealizedLossPosition12MonthsOrLongerAccumulatedLoss",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.univest.net/role/InvestmentSecuritiesAmountofSecuritiesinUnrealizedLossPositionDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_HeldToMaturitySecuritiesContinuousUnrealizedLossPositionAccumulatedLoss": {
     "auth_ref": [
      "r234"
     ],
     "calculation": {
      "http://www.univest.net/role/InvestmentSecuritiesAmountofSecuritiesinUnrealizedLossPositionDetail": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of accumulated unrealized loss on investment in debt security measured at amortized cost (held-to-maturity), in unrealized loss position.",
        "label": "Debt Securities, Held-to-maturity, Unrealized Loss Position, Accumulated Loss",
        "negatedTotalLabel": "Debt securities, held-to-maturity, unrealized loss position, accumulated loss",
        "terseLabel": "Unrealized loss included in fair value of securities HTM in unrealized loss position for which an ACL has not been recorded"
       }
      }
     },
     "localname": "HeldToMaturitySecuritiesContinuousUnrealizedLossPositionAccumulatedLoss",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.univest.net/role/InvestmentSecuritiesAmountofSecuritiesinUnrealizedLossPositionDetail",
      "http://www.univest.net/role/InvestmentSecuritiesNarrativeDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_HeldToMaturitySecuritiesContinuousUnrealizedLossPositionFairValue": {
     "auth_ref": [
      "r233"
     ],
     "calculation": {
      "http://www.univest.net/role/InvestmentSecuritiesAmountofSecuritiesinUnrealizedLossPositionDetail": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Fair value of investment in debt security measured at amortized cost (held-to-maturity), in unrealized loss position.",
        "label": "Debt Securities, Held-to-maturity, Unrealized Loss Position, Fair Value",
        "terseLabel": "Fair value HTM in unrealized loss with no ACL",
        "totalLabel": "Total, fair value"
       }
      }
     },
     "localname": "HeldToMaturitySecuritiesContinuousUnrealizedLossPositionFairValue",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.univest.net/role/InvestmentSecuritiesAmountofSecuritiesinUnrealizedLossPositionDetail",
      "http://www.univest.net/role/InvestmentSecuritiesNarrativeDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_HeldToMaturitySecuritiesContinuousUnrealizedLossPositionFairValueAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Debt Securities, Held-to-maturity, Continuous Unrealized Loss Position, Fair Value [Abstract]",
        "terseLabel": "Debt Securities, Held-to-maturity, Continuous Unrealized Loss Position, Fair Value [Abstract]"
       }
      }
     },
     "localname": "HeldToMaturitySecuritiesContinuousUnrealizedLossPositionFairValueAbstract",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.univest.net/role/InvestmentSecuritiesAmountofSecuritiesinUnrealizedLossPositionDetail"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_HeldToMaturitySecuritiesContinuousUnrealizedLossPositionLessThan12MonthsAccumulatedLoss": {
     "auth_ref": [
      "r234",
      "r236"
     ],
     "calculation": {
      "http://www.univest.net/role/InvestmentSecuritiesAmountofSecuritiesinUnrealizedLossPositionDetail": {
       "order": 1.0,
       "parentTag": "us-gaap_HeldToMaturitySecuritiesContinuousUnrealizedLossPositionAccumulatedLoss",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of accumulated unrealized loss on investment in debt security measured at amortized cost (held-to-maturity), in continuous loss position for less than 12 months.",
        "label": "Debt Securities, Held-to-maturity, Continuous Unrealized Loss Position, Less than 12 Months, Accumulated Loss",
        "negatedTerseLabel": "Debt securities, held-to-maturity, continuous unrealized loss position, less than 12 months, accumulated loss"
       }
      }
     },
     "localname": "HeldToMaturitySecuritiesContinuousUnrealizedLossPositionLessThan12MonthsAccumulatedLoss",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.univest.net/role/InvestmentSecuritiesAmountofSecuritiesinUnrealizedLossPositionDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_HeldToMaturitySecuritiesContinuousUnrealizedLossPositionLessThanTwelveMonthsFairValue": {
     "auth_ref": [
      "r236"
     ],
     "calculation": {
      "http://www.univest.net/role/InvestmentSecuritiesAmountofSecuritiesinUnrealizedLossPositionDetail": {
       "order": 1.0,
       "parentTag": "us-gaap_HeldToMaturitySecuritiesContinuousUnrealizedLossPositionFairValue",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Fair value of investment in debt security measured at amortized cost (held-to-maturity), in continuous unrealized loss position for less than 12 months.",
        "label": "Debt Securities, Held-to-maturity, Continuous Unrealized Loss Position, Less than 12 Months, Fair Value",
        "terseLabel": "Less than twelve months, fair value"
       }
      }
     },
     "localname": "HeldToMaturitySecuritiesContinuousUnrealizedLossPositionLessThanTwelveMonthsFairValue",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.univest.net/role/InvestmentSecuritiesAmountofSecuritiesinUnrealizedLossPositionDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_HeldToMaturitySecuritiesContinuousUnrealizedLossPositionTwelveMonthsOrLongerFairValue": {
     "auth_ref": [
      "r236"
     ],
     "calculation": {
      "http://www.univest.net/role/InvestmentSecuritiesAmountofSecuritiesinUnrealizedLossPositionDetail": {
       "order": 2.0,
       "parentTag": "us-gaap_HeldToMaturitySecuritiesContinuousUnrealizedLossPositionFairValue",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Fair value of investment in debt security measured at amortized cost (held-to-maturity), in continuous unrealized loss position for 12 months or longer.",
        "label": "Debt Securities, Held-to-maturity, Continuous Unrealized Loss Position, 12 Months or Longer, Fair Value",
        "terseLabel": "Twelve months or longer, fair value"
       }
      }
     },
     "localname": "HeldToMaturitySecuritiesContinuousUnrealizedLossPositionTwelveMonthsOrLongerFairValue",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.univest.net/role/InvestmentSecuritiesAmountofSecuritiesinUnrealizedLossPositionDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_HeldToMaturitySecuritiesDebtMaturitiesAfterFiveThroughTenYearsFairValue": {
     "auth_ref": [
      "r222",
      "r231",
      "r656",
      "r661"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Fair value of investment in debt security measured at amortized cost (held-to-maturity), with single maturity date and allocated without single maturity date, maturing in sixth through tenth fiscal year following current fiscal year. Excludes interim and annual periods when interim periods are reported from current statement of financial position date (rolling approach).",
        "label": "Debt Securities, Held-to-Maturity, Fair Value, Maturity, Allocated and Single Maturity Date, after Year 5 Through 10",
        "terseLabel": "Securities Held-to-Maturity, Fair Value, After 5 Years to 10 Years"
       }
      }
     },
     "localname": "HeldToMaturitySecuritiesDebtMaturitiesAfterFiveThroughTenYearsFairValue",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.univest.net/role/InvestmentSecuritiesHeldtoMaturityandAvailableforSaleScheduledMaturitiesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_HeldToMaturitySecuritiesDebtMaturitiesAfterFiveThroughTenYearsNetCarryingAmount": {
     "auth_ref": [
      "r222",
      "r656"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount, after allowance for credit loss, of investment in debt security measured at amortized cost (held-to-maturity) with single maturity date and allocated without single maturity date, maturing in sixth through tenth fiscal year following current fiscal year. Excludes interim and annual periods when interim periods are reported from current statement of financial position date (rolling approach).",
        "label": "Debt Securities, Held-to-Maturity, Amortized Cost, after Allowance for Credit Loss, Maturity, Allocated and Single Maturity Date, after Year Five through Ten",
        "terseLabel": "Securities Held-to-Maturity, Amortized Cost, After 5 Years to 10 Years"
       }
      }
     },
     "localname": "HeldToMaturitySecuritiesDebtMaturitiesAfterFiveThroughTenYearsNetCarryingAmount",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.univest.net/role/InvestmentSecuritiesHeldtoMaturityandAvailableforSaleScheduledMaturitiesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_HeldToMaturitySecuritiesDebtMaturitiesAfterOneThroughFiveYearsFairValue": {
     "auth_ref": [
      "r221",
      "r230",
      "r655",
      "r660"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Fair value of investment in debt security measured at amortized cost (held-to-maturity), with single maturity date and allocated without single maturity date, maturing in second through fifth fiscal year following current fiscal year. Excludes interim and annual periods when interim periods are reported from current statement of financial position date (rolling approach).",
        "label": "Debt Securities, Held-to-Maturity, Fair Value, Maturity, Allocated and Single Maturity Date, after Year One Through Five",
        "terseLabel": "Securities Held-to-Maturity, Fair Value, After 1 Year to 5 Years"
       }
      }
     },
     "localname": "HeldToMaturitySecuritiesDebtMaturitiesAfterOneThroughFiveYearsFairValue",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.univest.net/role/InvestmentSecuritiesHeldtoMaturityandAvailableforSaleScheduledMaturitiesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_HeldToMaturitySecuritiesDebtMaturitiesAfterOneThroughFiveYearsNetCarryingAmount": {
     "auth_ref": [
      "r221",
      "r655"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount, after allowance for credit loss, of investment in debt security measured at amortized cost (held-to-maturity) with single maturity date and allocated without single maturity date, maturing in second through fifth fiscal year following current fiscal year. Excludes interim and annual periods when interim periods are reported from current statement of financial position date (rolling approach).",
        "label": "Debt Securities, Held-to-Maturity, Amortized Cost, after Allowance for Credit Loss, Maturity, Allocated and Single Maturity Date, after Year One through Five",
        "terseLabel": "Securities Held-to-Maturity, Amortized Cost, After 1 Year to 5 Years"
       }
      }
     },
     "localname": "HeldToMaturitySecuritiesDebtMaturitiesAfterOneThroughFiveYearsNetCarryingAmount",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.univest.net/role/InvestmentSecuritiesHeldtoMaturityandAvailableforSaleScheduledMaturitiesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_HeldToMaturitySecuritiesDebtMaturitiesAfterTenYearsFairValue": {
     "auth_ref": [
      "r223",
      "r232",
      "r657",
      "r662"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Fair value of investment in debt security measured at amortized cost (held-to-maturity), with single maturity date and allocated without single maturity date, maturing after tenth fiscal year following current fiscal year. Excludes interim and annual periods when interim periods are reported from current statement of financial position date (rolling approach).",
        "label": "Debt Securities, Held-to-Maturity, Fair Value, Maturity, Allocated and Single Maturity Date, after Year 10",
        "terseLabel": "Securities Held-to-Maturity, Fair Value, After 10 years"
       }
      }
     },
     "localname": "HeldToMaturitySecuritiesDebtMaturitiesAfterTenYearsFairValue",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.univest.net/role/InvestmentSecuritiesHeldtoMaturityandAvailableforSaleScheduledMaturitiesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_HeldToMaturitySecuritiesDebtMaturitiesAfterTenYearsNetCarryingAmount": {
     "auth_ref": [
      "r223",
      "r657"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount, after allowance for credit loss, of investment in debt security measured at amortized cost (held-to-maturity) with single maturity date and allocated without single maturity date, maturing after tenth fiscal year following current fiscal year. Excludes interim and annual periods when interim periods are reported from current statement of financial position date (rolling approach).",
        "label": "Debt Securities, Held-to-Maturity, Amortized Cost, after Allowance for Credit Loss, Maturity, Allocated and Single Maturity Date, after Year 10",
        "terseLabel": "Securities Held-to-Maturity, Amortized Cost, Over 10 Years"
       }
      }
     },
     "localname": "HeldToMaturitySecuritiesDebtMaturitiesAfterTenYearsNetCarryingAmount",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.univest.net/role/InvestmentSecuritiesHeldtoMaturityandAvailableforSaleScheduledMaturitiesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_HeldToMaturitySecuritiesDebtMaturitiesWithinOneYearFairValue": {
     "auth_ref": [
      "r220",
      "r229",
      "r654",
      "r659"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Fair value of investment in debt security measured at amortized cost (held-to-maturity), with single maturity date and allocated without single maturity date, maturing in next fiscal year following current fiscal year. Excludes interim and annual periods when interim periods are reported from current statement of financial position date (rolling approach).",
        "label": "Debt Securities, Held-to-Maturity, Fair Value, Maturity, Allocated and Single Maturity Date, Year One",
        "terseLabel": "Securities Held-to-Maturity, Fair Value, Within 1 Year"
       }
      }
     },
     "localname": "HeldToMaturitySecuritiesDebtMaturitiesWithinOneYearFairValue",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.univest.net/role/InvestmentSecuritiesHeldtoMaturityandAvailableforSaleScheduledMaturitiesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_HeldToMaturitySecuritiesDebtMaturitiesWithinOneYearNetCarryingAmount": {
     "auth_ref": [
      "r220",
      "r654"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount, after allowance for credit loss, of investment in debt security measured at amortized cost (held-to-maturity) with single maturity date and allocated without single maturity date, maturing in next fiscal year following current fiscal year. Excludes interim and annual periods when interim periods are reported from current statement of financial position date (rolling approach).",
        "label": "Debt Securities, Held-to-Maturity, Amortized Cost, after Allowance for Credit Loss, Maturity, Allocated and Single Maturity Date, Year One",
        "terseLabel": "Securities Held-to-Maturity, Amortized Cost, Within 1 Year"
       }
      }
     },
     "localname": "HeldToMaturitySecuritiesDebtMaturitiesWithinOneYearNetCarryingAmount",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.univest.net/role/InvestmentSecuritiesHeldtoMaturityandAvailableforSaleScheduledMaturitiesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_HeldToMaturitySecuritiesFairValue": {
     "auth_ref": [
      "r216",
      "r225",
      "r621"
     ],
     "calculation": {
      "http://www.univest.net/role/FairValueDisclosuresAssetsLiabilitiesandOffbalanceSheetItemsNotMeasuredatFairValueDetails": {
       "order": 5.0,
       "parentTag": "us-gaap_AssetsFairValueDisclosure",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Fair value of investment in debt security measured at amortized cost (held-to-maturity).",
        "label": "Debt Securities, Held-to-maturity, Fair Value",
        "terseLabel": "Investment securities held-to-maturity (fair value $157,924 and $178,402 at March 31, 2022 and December 31, 2021, respectively)",
        "verboseLabel": "Held-to-maturity securities"
       }
      }
     },
     "localname": "HeldToMaturitySecuritiesFairValue",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.univest.net/role/CondensedConsolidatedBalanceSheetsParenthetical",
      "http://www.univest.net/role/FairValueDisclosuresAssetsLiabilitiesandOffbalanceSheetItemsNotMeasuredatFairValueDetails",
      "http://www.univest.net/role/InvestmentSecuritiesHeldtoMaturityandAvailableforSaleScheduledMaturitiesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_HeldtomaturitySecuritiesMember": {
     "auth_ref": [
      "r238"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Investments in debt securities classified as held-to-maturity.",
        "label": "Held-to-maturity Securities [Member]",
        "terseLabel": "Held-to-maturity Securities [Member]"
       }
      }
     },
     "localname": "HeldtomaturitySecuritiesMember",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.univest.net/role/InvestmentSecuritiesAmountofSecuritiesinUnrealizedLossPositionDetail",
      "http://www.univest.net/role/InvestmentSecuritiesNarrativeDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_ImpairedFinancingReceivableRecordedInvestment": {
     "auth_ref": [
      "r184"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of investment of impaired financing receivables with related allowance for credit losses and without a related allowance for credit losses.",
        "label": "Impaired Financing Receivable, Recorded Investment",
        "verboseLabel": "Carrying value of individually analyzed loans and leases held for investment"
       }
      }
     },
     "localname": "ImpairedFinancingReceivableRecordedInvestment",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.univest.net/role/FairValueDisclosuresNarrativeDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_ImpairedFinancingReceivableRelatedAllowance": {
     "auth_ref": [
      "r185"
     ],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of allowance for credit losses related to recorded investment.",
        "label": "Impaired Financing Receivable, Related Allowance",
        "verboseLabel": "Valuation allowance of individually analyzed loans and leases held for investment"
       }
      }
     },
     "localname": "ImpairedFinancingReceivableRelatedAllowance",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.univest.net/role/FairValueDisclosuresNarrativeDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest": {
     "auth_ref": [
      "r58",
      "r153",
      "r159",
      "r163",
      "r166",
      "r169",
      "r609",
      "r630",
      "r651",
      "r684"
     ],
     "calculation": {
      "http://www.univest.net/role/CondensedConsolidatedStatementsofComprehensiveIncome": {
       "order": 1.0,
       "parentTag": "uvsp_ComprehensiveIncomeLossBeforeTax",
       "weight": 1.0
      },
      "http://www.univest.net/role/CondensedConsolidatedStatementsofIncome": {
       "order": 1.0,
       "parentTag": "us-gaap_NetIncomeLoss",
       "weight": 1.0
      },
      "http://www.univest.net/role/SegmentReportingScheduleofSegmentReportingDetails": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of income (loss) from continuing operations, including income (loss) from equity method investments, before deduction of income tax expense (benefit), and income (loss) attributable to noncontrolling interest.",
        "label": "Income (Loss) from Continuing Operations before Income Taxes, Noncontrolling Interest",
        "terseLabel": "Income (loss) before tax amount",
        "totalLabel": "Income before income taxes"
       }
      }
     },
     "localname": "IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.univest.net/role/CondensedConsolidatedStatementsofComprehensiveIncome",
      "http://www.univest.net/role/CondensedConsolidatedStatementsofIncome",
      "http://www.univest.net/role/SegmentReportingScheduleofSegmentReportingDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_IncomeStatementAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Income Statement [Abstract]"
       }
      }
     },
     "localname": "IncomeStatementAbstract",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "xbrltype": "stringItemType"
    },
    "us-gaap_IncomeStatementLocationAxis": {
     "auth_ref": [
      "r296",
      "r298"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Information by location in the income statement.",
        "label": "Income Statement Location [Axis]",
        "terseLabel": "Income Statement Location [Axis]"
       }
      }
     },
     "localname": "IncomeStatementLocationAxis",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.univest.net/role/DerivativeInstrumentsandHedgingActivitiesDerivativesDesignatedasHedgingInstrumentsDetails",
      "http://www.univest.net/role/DerivativeInstrumentsandHedgingActivitiesDerivativesNotDesignatedasHedgingInstrumentsDetails",
      "http://www.univest.net/role/InvestmentSecuritiesNarrativeDetail"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_IncomeStatementLocationDomain": {
     "auth_ref": [
      "r298"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Location in the income statement.",
        "label": "Income Statement Location [Domain]",
        "terseLabel": "Income Statement Location [Domain]"
       }
      }
     },
     "localname": "IncomeStatementLocationDomain",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.univest.net/role/DerivativeInstrumentsandHedgingActivitiesDerivativesDesignatedasHedgingInstrumentsDetails",
      "http://www.univest.net/role/DerivativeInstrumentsandHedgingActivitiesDerivativesNotDesignatedasHedgingInstrumentsDetails",
      "http://www.univest.net/role/InvestmentSecuritiesNarrativeDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_IncomeTaxExpenseBenefit": {
     "auth_ref": [
      "r99",
      "r113",
      "r114",
      "r151",
      "r478",
      "r481",
      "r483",
      "r685"
     ],
     "calculation": {
      "http://www.univest.net/role/CondensedConsolidatedStatementsofComprehensiveIncome": {
       "order": 1.0,
       "parentTag": "uvsp_ComprehensiveIncomeTaxExpenseBenefit",
       "weight": 1.0
      },
      "http://www.univest.net/role/CondensedConsolidatedStatementsofIncome": {
       "order": 2.0,
       "parentTag": "us-gaap_NetIncomeLoss",
       "weight": -1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of current income tax expense (benefit) and deferred income tax expense (benefit) pertaining to continuing operations.",
        "label": "Income Tax Expense (Benefit)",
        "terseLabel": "Income tax expense"
       }
      }
     },
     "localname": "IncomeTaxExpenseBenefit",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.univest.net/role/CondensedConsolidatedStatementsofComprehensiveIncome",
      "http://www.univest.net/role/CondensedConsolidatedStatementsofIncome",
      "http://www.univest.net/role/SegmentReportingScheduleofSegmentReportingDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_IncomeTaxesPaidNet": {
     "auth_ref": [
      "r91"
     ],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The amount of cash paid during the current period to foreign, federal, state, and local authorities as taxes on income, net of any cash received during the current period as refunds for the overpayment of taxes.",
        "label": "Income Taxes Paid, Net",
        "terseLabel": "Cash paid for income taxes, net of refunds"
       }
      }
     },
     "localname": "IncomeTaxesPaidNet",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.univest.net/role/CondensedConsolidatedStatementsofCashFlows"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_IncreaseDecreaseInDeposits": {
     "auth_ref": [
      "r90",
      "r650"
     ],
     "calculation": {
      "http://www.univest.net/role/CondensedConsolidatedStatementsofCashFlows": {
       "order": 10.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInFinancingActivities",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The net cash inflow or outflow for the increase (decrease) in the beginning and end of period deposits balances.",
        "label": "Increase (Decrease) in Deposits",
        "terseLabel": "Net (decrease) increase in deposits"
       }
      }
     },
     "localname": "IncreaseDecreaseInDeposits",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.univest.net/role/CondensedConsolidatedStatementsofCashFlows"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_IncreaseDecreaseInOtherOperatingAssets": {
     "auth_ref": [
      "r86"
     ],
     "calculation": {
      "http://www.univest.net/role/CondensedConsolidatedStatementsofCashFlows": {
       "order": 5.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": -1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of increase (decrease) in operating assets classified as other.",
        "label": "Increase (Decrease) in Other Operating Assets",
        "negatedLabel": "Decrease (increase) in accrued interest receivable and other assets"
       }
      }
     },
     "localname": "IncreaseDecreaseInOtherOperatingAssets",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.univest.net/role/CondensedConsolidatedStatementsofCashFlows"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_IncreaseDecreaseInOtherOperatingLiabilities": {
     "auth_ref": [
      "r86"
     ],
     "calculation": {
      "http://www.univest.net/role/CondensedConsolidatedStatementsofCashFlows": {
       "order": 7.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of increase (decrease) in operating liabilities classified as other.",
        "label": "Increase (Decrease) in Other Operating Liabilities",
        "terseLabel": "Decrease in accrued interest payable and other liabilities"
       }
      }
     },
     "localname": "IncreaseDecreaseInOtherOperatingLiabilities",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.univest.net/role/CondensedConsolidatedStatementsofCashFlows"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_IncreaseDecreaseInStockholdersEquityRollForward": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "A roll forward is a reconciliation of a concept from the beginning of a period to the end of a period.",
        "label": "Increase (Decrease) in Stockholders' Equity [Roll Forward]",
        "terseLabel": "Increase (Decrease) in Stockholders' Equity [Roll Forward]"
       }
      }
     },
     "localname": "IncreaseDecreaseInStockholdersEquityRollForward",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.univest.net/role/CondensedConsolidatedStatementsofChangesinShareholdersEquity"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_IncrementalCommonSharesAttributableToShareBasedPaymentArrangements": {
     "auth_ref": [
      "r119",
      "r120",
      "r121",
      "r125"
     ],
     "calculation": {
      "http://www.univest.net/role/EarningsperShareBasicandDilutedEarningsPerShareDetails": {
       "order": 2.0,
       "parentTag": "us-gaap_WeightedAverageNumberOfDilutedSharesOutstanding",
       "weight": 1.0
      }
     },
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Additional shares included in the calculation of diluted EPS as a result of the potentially dilutive effect of share based payment arrangements using the treasury stock method.",
        "label": "Incremental Common Shares Attributable to Dilutive Effect of Share-based Payment Arrangements",
        "terseLabel": "Effect of dilutive securities\u2014employee stock options and restricted stock units"
       }
      }
     },
     "localname": "IncrementalCommonSharesAttributableToShareBasedPaymentArrangements",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.univest.net/role/EarningsperShareBasicandDilutedEarningsPerShareDetails"
     ],
     "xbrltype": "sharesItemType"
    },
    "us-gaap_InformationTechnologyAndDataProcessing": {
     "auth_ref": [
      "r67"
     ],
     "calculation": {
      "http://www.univest.net/role/CondensedConsolidatedStatementsofIncome": {
       "order": 4.0,
       "parentTag": "us-gaap_NoninterestExpense",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The amount of expenses incurred in the period for information technology and data processing products and services.",
        "label": "Information Technology and Data Processing",
        "terseLabel": "Data processing"
       }
      }
     },
     "localname": "InformationTechnologyAndDataProcessing",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.univest.net/role/CondensedConsolidatedStatementsofIncome"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_InsuranceCommissionsAndFees": {
     "auth_ref": [
      "r640",
      "r686"
     ],
     "calculation": {
      "http://www.univest.net/role/CondensedConsolidatedStatementsofIncome": {
       "order": 2.0,
       "parentTag": "us-gaap_NoninterestIncome",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Income from agency and brokerage operations (includes sales of annuities and supplemental contracts); service charges, commissions, and fees from the sale of insurance and related services; and management fees from separate accounts, deferred annuities, and universal life products.",
        "label": "Insurance Commissions and Fees",
        "terseLabel": "Insurance commission and fee income"
       }
      }
     },
     "localname": "InsuranceCommissionsAndFees",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.univest.net/role/CondensedConsolidatedStatementsofIncome"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_InterestAndDividendIncomeOperating": {
     "auth_ref": [
      "r636"
     ],
     "calculation": {
      "http://www.univest.net/role/CondensedConsolidatedStatementsofIncome": {
       "order": 1.0,
       "parentTag": "us-gaap_InterestIncomeExpenseNet",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents the total of interest and dividend income, including any amortization and accretion (as applicable) of discounts and premiums, earned from (1) loans and leases whether held-for-sale or held-in-portfolio; (2) investment securities; (3) federal funds sold; (4) securities purchased under agreements to resell; (5) investments in banker's acceptances, commercial paper, or certificates of deposit; (6) dividend income; or (7) other investments not otherwise specified herein.",
        "label": "Interest and Dividend Income, Operating",
        "terseLabel": "Interest income",
        "totalLabel": "Total interest income"
       }
      }
     },
     "localname": "InterestAndDividendIncomeOperating",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.univest.net/role/CondensedConsolidatedStatementsofIncome",
      "http://www.univest.net/role/SegmentReportingScheduleofSegmentReportingDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_InterestAndDividendIncomeOperatingAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Interest and Dividend Income, Operating [Abstract]",
        "terseLabel": "Interest income"
       }
      }
     },
     "localname": "InterestAndDividendIncomeOperatingAbstract",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.univest.net/role/CondensedConsolidatedStatementsofIncome"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_InterestAndDividendIncomeSecuritiesByTaxableStatusAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Interest and Dividend Income, Securities, by Taxable Status [Abstract]",
        "terseLabel": "Interest and dividends on investment securities:"
       }
      }
     },
     "localname": "InterestAndDividendIncomeSecuritiesByTaxableStatusAbstract",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.univest.net/role/CondensedConsolidatedStatementsofIncome"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_InterestAndFeeIncomeLoansAndLeases": {
     "auth_ref": [
      "r635"
     ],
     "calculation": {
      "http://www.univest.net/role/CondensedConsolidatedStatementsofIncome": {
       "order": 1.0,
       "parentTag": "us-gaap_InterestAndDividendIncomeOperating",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The aggregate interest and fee income generated by: (1) loans the Entity has positive intent and ability to hold for the foreseeable future, or until maturity or payoff, including commercial and consumer loans, whether domestic or foreign, which may consist of: (a) industrial and agricultural; (b) real estate; and (c) real estate construction loans; (d) trade financing; (e) lease financing; (f) home equity lines-of-credit; (g) automobile and other vehicle loans; and (h) credit card and other revolving-type loans and (2) loans and leases held-for-sale which may include mortgage loans, direct financing, and sales-type leases.",
        "label": "Interest and Fee Income, Loans and Leases",
        "terseLabel": "Interest and fees on loans and leases"
       }
      }
     },
     "localname": "InterestAndFeeIncomeLoansAndLeases",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.univest.net/role/CondensedConsolidatedStatementsofIncome"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_InterestBearingDepositLiabilities": {
     "auth_ref": [
      "r623"
     ],
     "calculation": {
      "http://www.univest.net/role/CondensedConsolidatedBalanceSheets": {
       "order": 2.0,
       "parentTag": "us-gaap_Deposits",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The aggregate of all domestic and foreign interest-bearing deposit liabilities.",
        "label": "Interest-bearing Deposit Liabilities",
        "terseLabel": "Interest-bearing deposits"
       }
      }
     },
     "localname": "InterestBearingDepositLiabilities",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.univest.net/role/CondensedConsolidatedBalanceSheets"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_InterestBearingDepositsInBanks": {
     "auth_ref": [
      "r611",
      "r627"
     ],
     "calculation": {
      "http://www.univest.net/role/CondensedConsolidatedBalanceSheets": {
       "order": 1.0,
       "parentTag": "us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalents",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "For banks and other depository institutions (including Federal Reserve Banks, if applicable): Interest-bearing deposits in other financial institutions for relatively short periods of time including, for example, certificates of deposits, which are presented separately from cash on the balance sheet.",
        "label": "Interest-bearing Deposits in Banks and Other Financial Institutions",
        "terseLabel": "Interest-earning deposits with other banks"
       }
      }
     },
     "localname": "InterestBearingDepositsInBanks",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.univest.net/role/CondensedConsolidatedBalanceSheets"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_InterestBearingDomesticDepositDemand": {
     "auth_ref": [
      "r623"
     ],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of money in interest-bearing domestic accounts that entitle the depositor to withdraw funds at any time without prior notice, also known as demand deposits.",
        "label": "Interest-bearing Domestic Deposit, Demand",
        "terseLabel": "Interest-bearing Domestic Deposit, Demand"
       }
      }
     },
     "localname": "InterestBearingDomesticDepositDemand",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.univest.net/role/DepositsScheduleofComponentsofWeightedAverageInterestRateandBalanceofDepositsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_InterestExpense": {
     "auth_ref": [
      "r56",
      "r147",
      "r562",
      "r563",
      "r649"
     ],
     "calculation": {
      "http://www.univest.net/role/CondensedConsolidatedStatementsofIncome": {
       "order": 2.0,
       "parentTag": "us-gaap_InterestIncomeExpenseNet",
       "weight": -1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of the cost of borrowed funds accounted for as interest expense.",
        "label": "Interest Expense",
        "terseLabel": "Interest expense",
        "totalLabel": "Total interest expense"
       }
      }
     },
     "localname": "InterestExpense",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.univest.net/role/CondensedConsolidatedStatementsofIncome",
      "http://www.univest.net/role/SegmentReportingScheduleofSegmentReportingDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_InterestExpenseAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Interest Expense [Abstract]",
        "terseLabel": "Interest expense"
       }
      }
     },
     "localname": "InterestExpenseAbstract",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.univest.net/role/CondensedConsolidatedStatementsofIncome"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_InterestExpenseDeposits": {
     "auth_ref": [
      "r646"
     ],
     "calculation": {
      "http://www.univest.net/role/CondensedConsolidatedStatementsofIncome": {
       "order": 1.0,
       "parentTag": "us-gaap_InterestExpense",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Aggregate amount of interest expense on all deposits.",
        "label": "Interest Expense, Deposits",
        "terseLabel": "Interest on deposits"
       }
      }
     },
     "localname": "InterestExpenseDeposits",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.univest.net/role/CondensedConsolidatedStatementsofIncome"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_InterestExpenseLongTermDebt": {
     "auth_ref": [
      "r648",
      "r716",
      "r717"
     ],
     "calculation": {
      "http://www.univest.net/role/CondensedConsolidatedStatementsofIncome": {
       "order": 3.0,
       "parentTag": "us-gaap_InterestExpense",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Aggregate amount of interest paid or due on all long-term debt.",
        "label": "Interest Expense, Long-term Debt",
        "terseLabel": "Interest on long-term debt and subordinated notes"
       }
      }
     },
     "localname": "InterestExpenseLongTermDebt",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.univest.net/role/CondensedConsolidatedStatementsofIncome"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_InterestExpenseMember": {
     "auth_ref": [
      "r518"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Primary financial statement caption encompassing interest expense.",
        "label": "Interest Expense [Member]",
        "terseLabel": "Interest Expense [Member]"
       }
      }
     },
     "localname": "InterestExpenseMember",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.univest.net/role/DerivativeInstrumentsandHedgingActivitiesDerivativesDesignatedasHedgingInstrumentsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_InterestExpenseShortTermBorrowings": {
     "auth_ref": [
      "r647",
      "r716",
      "r717"
     ],
     "calculation": {
      "http://www.univest.net/role/CondensedConsolidatedStatementsofIncome": {
       "order": 2.0,
       "parentTag": "us-gaap_InterestExpense",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The aggregate interest expense incurred on short-term borrowings including commercial paper and Federal funds purchased and securities sold under agreements to repurchase.",
        "label": "Interest Expense, Short-term Borrowings",
        "terseLabel": "Interest on short-term borrowings"
       }
      }
     },
     "localname": "InterestExpenseShortTermBorrowings",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.univest.net/role/CondensedConsolidatedStatementsofIncome"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_InterestIncomeDepositsWithFinancialInstitutions": {
     "auth_ref": [
      "r645",
      "r716",
      "r717"
     ],
     "calculation": {
      "http://www.univest.net/role/CondensedConsolidatedStatementsofIncome": {
       "order": 5.0,
       "parentTag": "us-gaap_InterestAndDividendIncomeOperating",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Interest income derived from funds deposited with both domestic and foreign financial institutions including funds in money market and other accounts.",
        "label": "Interest Income, Deposits with Financial Institutions",
        "terseLabel": "Interest on deposits with other banks"
       }
      }
     },
     "localname": "InterestIncomeDepositsWithFinancialInstitutions",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.univest.net/role/CondensedConsolidatedStatementsofIncome"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_InterestIncomeExpenseAfterProvisionForLoanLoss": {
     "auth_ref": [
      "r639"
     ],
     "calculation": {
      "http://www.univest.net/role/CondensedConsolidatedStatementsofIncome": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of interest income or expense, including any amortization and accretion (as applicable) of discounts and premiums, including consideration of the provisions for loan, lease, credit, and other related losses.",
        "label": "Interest Income (Expense), after Provision for Loan Loss",
        "totalLabel": "Net interest income after provision for credit losses"
       }
      }
     },
     "localname": "InterestIncomeExpenseAfterProvisionForLoanLoss",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.univest.net/role/CondensedConsolidatedStatementsofIncome"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_InterestIncomeExpenseNet": {
     "auth_ref": [
      "r637"
     ],
     "calculation": {
      "http://www.univest.net/role/CondensedConsolidatedStatementsofIncome": {
       "order": 1.0,
       "parentTag": "us-gaap_InterestIncomeExpenseAfterProvisionForLoanLoss",
       "weight": 1.0
      },
      "http://www.univest.net/role/SegmentReportingScheduleofSegmentReportingDetails": {
       "order": 5.0,
       "parentTag": "us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The net amount of operating interest income (expense).",
        "label": "Interest Income (Expense), Net",
        "totalLabel": "Net interest income"
       }
      }
     },
     "localname": "InterestIncomeExpenseNet",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.univest.net/role/CondensedConsolidatedStatementsofIncome",
      "http://www.univest.net/role/SegmentReportingScheduleofSegmentReportingDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_InterestIncomeSecuritiesTaxExempt": {
     "auth_ref": [
      "r644",
      "r716",
      "r717"
     ],
     "calculation": {
      "http://www.univest.net/role/CondensedConsolidatedStatementsofIncome": {
       "order": 3.0,
       "parentTag": "us-gaap_InterestAndDividendIncomeOperating",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of operating interest income, including amortization and accretion of premiums and discounts, on securities exempt from state, federal and other income tax.",
        "label": "Interest Income, Securities, Operating, Tax Exempt",
        "terseLabel": "Exempt from federal income taxes"
       }
      }
     },
     "localname": "InterestIncomeSecuritiesTaxExempt",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.univest.net/role/CondensedConsolidatedStatementsofIncome"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_InterestIncomeSecuritiesTaxable": {
     "auth_ref": [
      "r644",
      "r716",
      "r717"
     ],
     "calculation": {
      "http://www.univest.net/role/CondensedConsolidatedStatementsofIncome": {
       "order": 2.0,
       "parentTag": "us-gaap_InterestAndDividendIncomeOperating",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of operating interest income, including amortization and accretion of premiums and discounts, on securities subject to state, federal and other income tax.",
        "label": "Interest Income, Securities, Operating, Taxable",
        "terseLabel": "Taxable"
       }
      }
     },
     "localname": "InterestIncomeSecuritiesTaxable",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.univest.net/role/CondensedConsolidatedStatementsofIncome"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_InterestPaidNet": {
     "auth_ref": [
      "r80",
      "r83",
      "r91"
     ],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of cash paid for interest, excluding capitalized interest, classified as operating activity. Includes, but is not limited to, payment to settle zero-coupon bond for accreted interest of debt discount and debt instrument with insignificant coupon interest rate in relation to effective interest rate of borrowing attributable to accreted interest of debt discount.",
        "label": "Interest Paid, Excluding Capitalized Interest, Operating Activities",
        "terseLabel": "Cash paid for interest"
       }
      }
     },
     "localname": "InterestPaidNet",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.univest.net/role/CondensedConsolidatedStatementsofCashFlows"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_InterestRateCashFlowHedgeGainLossToBeReclassifiedDuringNext12MonthsNet": {
     "auth_ref": [
      "r528"
     ],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The estimated net amount of unrealized gains or losses on interest rate cash flow hedges as of the balance sheet date expected to be reclassified to earnings within the next twelve months.",
        "label": "Interest Rate Cash Flow Hedge Gain (Loss) to be Reclassified During Next 12 Months, Net",
        "terseLabel": "Interest rate cash flow hedge gain (loss) to be reclassified during next 12 months"
       }
      }
     },
     "localname": "InterestRateCashFlowHedgeGainLossToBeReclassifiedDuringNext12MonthsNet",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.univest.net/role/DerivativeInstrumentsandHedgingActivitiesNarrativeDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_InterestRateSwapMember": {
     "auth_ref": [
      "r516"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Forward based contracts in which two parties agree to swap periodic payments that are fixed at the outset of the swap contract with variable payments based on a market interest rate (index rate) over a specified period.",
        "label": "Interest Rate Swap [Member]",
        "terseLabel": "Interest Rate Swap [Member]"
       }
      }
     },
     "localname": "InterestRateSwapMember",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.univest.net/role/DerivativeInstrumentsandHedgingActivitiesDerivativesDesignatedasHedgingInstrumentsDetails",
      "http://www.univest.net/role/DerivativeInstrumentsandHedgingActivitiesDerivativesNotDesignatedasHedgingInstrumentsDetails",
      "http://www.univest.net/role/DerivativeInstrumentsandHedgingActivitiesNarrativeDetails",
      "http://www.univest.net/role/FairValueDisclosuresAssetsandLiabilitiesMeasuredatFairValueonRecurringBasisDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_InterestReceivableAndOtherAssets": {
     "auth_ref": [],
     "calculation": {
      "http://www.univest.net/role/CondensedConsolidatedBalanceSheets": {
       "order": 11.0,
       "parentTag": "us-gaap_Assets",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of interest receivable and assets classified as other.",
        "label": "Interest Receivable and Other Assets",
        "terseLabel": "Accrued interest receivable and other assets"
       }
      }
     },
     "localname": "InterestReceivableAndOtherAssets",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.univest.net/role/CondensedConsolidatedBalanceSheets"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_InterestReceivableNoncurrent": {
     "auth_ref": [
      "r6"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Carrying amount as of the balance sheet date of noncurrent interest earned but not received. Also called accrued interest or accrued interest receivable.",
        "label": "Interest Receivable, Noncurrent",
        "terseLabel": "Accrued interest receivable"
       }
      }
     },
     "localname": "InterestReceivableNoncurrent",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.univest.net/role/InvestmentSecuritiesNarrativeDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_InternalCreditAssessmentAxis": {
     "auth_ref": [
      "r186",
      "r262",
      "r267",
      "r268",
      "r302",
      "r521"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Information by entity-defined rating.",
        "label": "Internal Credit Assessment [Axis]",
        "terseLabel": "Internal Credit Assessment [Axis]"
       }
      }
     },
     "localname": "InternalCreditAssessmentAxis",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.univest.net/role/LoansandLeasesCreditQualityDetails",
      "http://www.univest.net/role/LoansandLeasesCreditQualityIndicatorsDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_InternalCreditAssessmentDomain": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Entity defined credit risk rating.",
        "label": "Internal Credit Assessment [Domain]",
        "terseLabel": "Internal Credit Assessment [Domain]"
       }
      }
     },
     "localname": "InternalCreditAssessmentDomain",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.univest.net/role/LoansandLeasesCreditQualityDetails",
      "http://www.univest.net/role/LoansandLeasesCreditQualityIndicatorsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_InvestmentAdviceMember": {
     "auth_ref": [
      "r345"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Investment recommendation and research provided to customer.",
        "label": "Investment Advice [Member]",
        "terseLabel": "Investment advisory commission and fee income"
       }
      }
     },
     "localname": "InvestmentAdviceMember",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.univest.net/role/CondensedConsolidatedStatementsofIncome"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_InvestmentsClassifiedByContractualMaturityDateTableTextBlock": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Tabular disclosure of maturities of an entity's investments as well as any other information pertinent to the investments.",
        "label": "Investments Classified by Contractual Maturity Date [Table Text Block]",
        "terseLabel": "Amortized Cost, Estimated Fair Value and Allowance for Credit Losses of HTM Securities and Available For Sale securities by Contractual Maturities"
       }
      }
     },
     "localname": "InvestmentsClassifiedByContractualMaturityDateTableTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.univest.net/role/InvestmentSecuritiesTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_InvestmentsDebtAndEquitySecuritiesAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Investments, Debt and Equity Securities [Abstract]"
       }
      }
     },
     "localname": "InvestmentsDebtAndEquitySecuritiesAbstract",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "xbrltype": "stringItemType"
    },
    "us-gaap_InvestmentsInDebtAndMarketableEquitySecuritiesAndCertainTradingAssetsDisclosureTextBlock": {
     "auth_ref": [
      "r242",
      "r610",
      "r663",
      "r704",
      "r723"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The entire disclosure for  investments in certain debt and equity securities.",
        "label": "Investments in Debt and Marketable Equity Securities (and Certain Trading Assets) Disclosure [Text Block]",
        "terseLabel": "Investments Securities"
       }
      }
     },
     "localname": "InvestmentsInDebtAndMarketableEquitySecuritiesAndCertainTradingAssetsDisclosureTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.univest.net/role/InvestmentSecurities"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_LaborAndRelatedExpense": {
     "auth_ref": [
      "r65"
     ],
     "calculation": {
      "http://www.univest.net/role/CondensedConsolidatedStatementsofIncome": {
       "order": 1.0,
       "parentTag": "us-gaap_NoninterestExpense",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of expense for salary, wage, profit sharing; incentive and equity-based compensation; and other employee benefit.",
        "label": "Labor and Related Expense",
        "terseLabel": "Salaries, benefits and commissions"
       }
      }
     },
     "localname": "LaborAndRelatedExpense",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.univest.net/role/CondensedConsolidatedStatementsofIncome"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_LegalMattersAndContingenciesTextBlock": {
     "auth_ref": [
      "r301"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The entire disclosure for legal proceedings, legal contingencies, litigation, regulatory and environmental matters and other contingencies.",
        "label": "Legal Matters and Contingencies [Text Block]",
        "terseLabel": "Contingencies Disclosure"
       }
      }
     },
     "localname": "LegalMattersAndContingenciesTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.univest.net/role/Contingencies"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_LessorOperatingLeasePaymentsToBeReceived": {
     "auth_ref": [
      "r568"
     ],
     "calculation": {
      "http://www.univest.net/role/LoansandLeasesLeasePaymentsReceivablesDetails": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of lease payments to be received by lessor for operating lease.",
        "label": "Lessor, Operating Lease, Payments to be Received",
        "totalLabel": "Total future minimum lease payments receivable"
       }
      }
     },
     "localname": "LessorOperatingLeasePaymentsToBeReceived",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.univest.net/role/LoansandLeasesLeasePaymentsReceivablesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_LessorOperatingLeasePaymentsToBeReceivedFourYears": {
     "auth_ref": [
      "r568"
     ],
     "calculation": {
      "http://www.univest.net/role/LoansandLeasesLeasePaymentsReceivablesDetails": {
       "order": 4.0,
       "parentTag": "us-gaap_LessorOperatingLeasePaymentsToBeReceived",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of lease payment to be received by lessor for operating lease in fourth fiscal year following current fiscal year. Excludes interim and annual periods when interim periods are reported from current statement of financial position date (rolling approach).",
        "label": "Lessor, Operating Lease, Payment to be Received, Year Four",
        "terseLabel": "2026"
       }
      }
     },
     "localname": "LessorOperatingLeasePaymentsToBeReceivedFourYears",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.univest.net/role/LoansandLeasesLeasePaymentsReceivablesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_LessorOperatingLeasePaymentsToBeReceivedMaturityTableTextBlock": {
     "auth_ref": [
      "r568"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Tabular disclosure of maturity of undiscounted cash flows to be received by lessor on annual basis for operating lease.",
        "label": "Lessor, Operating Lease, Payment to be Received, Fiscal Year Maturity [Table Text Block]",
        "terseLabel": "Schedule of Lease Payments Receivables"
       }
      }
     },
     "localname": "LessorOperatingLeasePaymentsToBeReceivedMaturityTableTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.univest.net/role/LoansandLeasesTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_LessorOperatingLeasePaymentsToBeReceivedNextTwelveMonths": {
     "auth_ref": [
      "r568"
     ],
     "calculation": {
      "http://www.univest.net/role/LoansandLeasesLeasePaymentsReceivablesDetails": {
       "order": 1.0,
       "parentTag": "us-gaap_LessorOperatingLeasePaymentsToBeReceived",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of lease payment to be received by lessor for operating lease in next fiscal year following current fiscal year. Excludes interim and annual periods when interim periods are reported from current statement of financial position date (rolling approach).",
        "label": "Lessor, Operating Lease, Payment to be Received, Year One",
        "terseLabel": "2023"
       }
      }
     },
     "localname": "LessorOperatingLeasePaymentsToBeReceivedNextTwelveMonths",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.univest.net/role/LoansandLeasesLeasePaymentsReceivablesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_LessorOperatingLeasePaymentsToBeReceivedRemainderOfFiscalYear": {
     "auth_ref": [
      "r568"
     ],
     "calculation": {
      "http://www.univest.net/role/LoansandLeasesLeasePaymentsReceivablesDetails": {
       "order": 3.0,
       "parentTag": "us-gaap_LessorOperatingLeasePaymentsToBeReceived",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of lease payment to be received by lessor for operating lease in remainder of current fiscal year. Excludes interim and annual periods when interim periods are reported from current statement of financial position date (rolling approach).",
        "label": "Lessor, Operating Lease, Payment to be Received, Remainder of Fiscal Year",
        "terseLabel": "2022 (excluding the three months ended March 31, 2022)"
       }
      }
     },
     "localname": "LessorOperatingLeasePaymentsToBeReceivedRemainderOfFiscalYear",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.univest.net/role/LoansandLeasesLeasePaymentsReceivablesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_LessorOperatingLeasePaymentsToBeReceivedThreeYears": {
     "auth_ref": [
      "r568"
     ],
     "calculation": {
      "http://www.univest.net/role/LoansandLeasesLeasePaymentsReceivablesDetails": {
       "order": 5.0,
       "parentTag": "us-gaap_LessorOperatingLeasePaymentsToBeReceived",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of lease payment to be received by lessor for operating lease in third fiscal year following current fiscal year. Excludes interim and annual periods when interim periods are reported from current statement of financial position date (rolling approach).",
        "label": "Lessor, Operating Lease, Payment to be Received, Year Three",
        "terseLabel": "2025"
       }
      }
     },
     "localname": "LessorOperatingLeasePaymentsToBeReceivedThreeYears",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.univest.net/role/LoansandLeasesLeasePaymentsReceivablesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_LessorOperatingLeasePaymentsToBeReceivedTwoYears": {
     "auth_ref": [
      "r568"
     ],
     "calculation": {
      "http://www.univest.net/role/LoansandLeasesLeasePaymentsReceivablesDetails": {
       "order": 6.0,
       "parentTag": "us-gaap_LessorOperatingLeasePaymentsToBeReceived",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of lease payment to be received by lessor for operating lease in second fiscal year following current fiscal year. Excludes interim and annual periods when interim periods are reported from current statement of financial position date (rolling approach).",
        "label": "Lessor, Operating Lease, Payment to be Received, Year Two",
        "terseLabel": "2024"
       }
      }
     },
     "localname": "LessorOperatingLeasePaymentsToBeReceivedTwoYears",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.univest.net/role/LoansandLeasesLeasePaymentsReceivablesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_LettersOfCreditOutstandingAmount": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The total amount of the contingent obligation under letters of credit outstanding as of the reporting date.",
        "label": "Letters of Credit Outstanding, Amount",
        "terseLabel": "Outstanding short-term letters of credit"
       }
      }
     },
     "localname": "LettersOfCreditOutstandingAmount",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.univest.net/role/BorrowingsAdditionalInformationDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_Liabilities": {
     "auth_ref": [
      "r22",
      "r98",
      "r161",
      "r247",
      "r306",
      "r307",
      "r308",
      "r310",
      "r311",
      "r312",
      "r313",
      "r314",
      "r315",
      "r316",
      "r495",
      "r498",
      "r499",
      "r553",
      "r569",
      "r570"
     ],
     "calculation": {
      "http://www.univest.net/role/CondensedConsolidatedBalanceSheets": {
       "order": 1.0,
       "parentTag": "us-gaap_LiabilitiesAndStockholdersEquity",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Sum of the carrying amounts as of the balance sheet date of all liabilities that are recognized. Liabilities are probable future sacrifices of economic benefits arising from present obligations of an entity to transfer assets or provide services to other entities in the future.",
        "label": "Liabilities",
        "totalLabel": "Total liabilities"
       }
      }
     },
     "localname": "Liabilities",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.univest.net/role/CondensedConsolidatedBalanceSheets"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_LiabilitiesAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Liabilities [Abstract]",
        "terseLabel": "LIABILITIES"
       }
      }
     },
     "localname": "LiabilitiesAbstract",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.univest.net/role/CondensedConsolidatedBalanceSheets"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_LiabilitiesAndStockholdersEquity": {
     "auth_ref": [
      "r18",
      "r98",
      "r247",
      "r553",
      "r571",
      "r620",
      "r676"
     ],
     "calculation": {
      "http://www.univest.net/role/CondensedConsolidatedBalanceSheets": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of liabilities and equity items, including the portion of equity attributable to noncontrolling interests, if any.",
        "label": "Liabilities and Equity",
        "totalLabel": "Total liabilities and shareholders\u2019 equity"
       }
      }
     },
     "localname": "LiabilitiesAndStockholdersEquity",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.univest.net/role/CondensedConsolidatedBalanceSheets"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_LiabilitiesFairValueDisclosure": {
     "auth_ref": [
      "r534"
     ],
     "calculation": {
      "http://www.univest.net/role/FairValueDisclosuresAssetsLiabilitiesandOffbalanceSheetItemsNotMeasuredatFairValueDetails": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      },
      "http://www.univest.net/role/FairValueDisclosuresAssetsandLiabilitiesMeasuredatFairValueonRecurringBasisDetails": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Fair value of financial and nonfinancial obligations.",
        "label": "Financial and Nonfinancial Liabilities, Fair Value Disclosure",
        "totalLabel": "Total liabilities"
       }
      }
     },
     "localname": "LiabilitiesFairValueDisclosure",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.univest.net/role/FairValueDisclosuresAssetsLiabilitiesandOffbalanceSheetItemsNotMeasuredatFairValueDetails",
      "http://www.univest.net/role/FairValueDisclosuresAssetsandLiabilitiesMeasuredatFairValueonRecurringBasisDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_LiabilitiesFairValueDisclosureAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Liabilities, Fair Value Disclosure [Abstract]",
        "terseLabel": "Liabilities"
       }
      }
     },
     "localname": "LiabilitiesFairValueDisclosureAbstract",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.univest.net/role/FairValueDisclosuresAssetsandLiabilitiesMeasuredatFairValueonRecurringBasisDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_LineOfCreditFacilityMaximumBorrowingCapacity": {
     "auth_ref": [
      "r20"
     ],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Maximum borrowing capacity under the credit facility without consideration of any current restrictions on the amount that could be borrowed or the amounts currently outstanding under the facility.",
        "label": "Line of Credit Facility, Maximum Borrowing Capacity",
        "terseLabel": "Total committed borrowing capacity"
       }
      }
     },
     "localname": "LineOfCreditFacilityMaximumBorrowingCapacity",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.univest.net/role/BorrowingsAdditionalInformationDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_LineOfCreditFacilityRemainingBorrowingCapacity": {
     "auth_ref": [
      "r20"
     ],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of borrowing capacity currently available under the credit facility (current borrowing capacity less the amount of borrowings outstanding).",
        "label": "Line of Credit Facility, Remaining Borrowing Capacity",
        "terseLabel": "Total committed borrowing capacity available"
       }
      }
     },
     "localname": "LineOfCreditFacilityRemainingBorrowingCapacity",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.univest.net/role/BorrowingsAdditionalInformationDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_LoanRestructuringModificationAxis": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Information by concessions made to the terms of loan contracts.",
        "label": "Loan Restructuring Modification [Axis]",
        "terseLabel": "Loan Restructuring Modification [Axis]"
       }
      }
     },
     "localname": "LoanRestructuringModificationAxis",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.univest.net/role/LoansandLeasesScheduleofConcessionsGrantedonAccruingandNonaccrualTroubledLoansDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_LoanRestructuringModificationDomain": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Concessions made to the terms of loan contracts, including but not limited to, interest rate reductions, maturity extensions, principal forgiveness, and payment deferral.",
        "label": "Loan Restructuring Modification [Domain]",
        "terseLabel": "Loan Restructuring Modification [Domain]"
       }
      }
     },
     "localname": "LoanRestructuringModificationDomain",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.univest.net/role/LoansandLeasesScheduleofConcessionsGrantedonAccruingandNonaccrualTroubledLoansDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_LoansAndLeasesReceivableAllowance": {
     "auth_ref": [
      "r177",
      "r181",
      "r196",
      "r199"
     ],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of allowance to cover probable credit losses on loans and leases. Includes carryover of or adjustments to the allowance for loan losses in connection with business combinations. Excludes allowance for loans and leases covered under loss sharing agreements.",
        "label": "Loans and Leases Receivable, Allowance",
        "negatedTerseLabel": "Loans and Leases Receivable, Allowance"
       }
      }
     },
     "localname": "LoansAndLeasesReceivableAllowance",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.univest.net/role/LoansandLeasesSummaryofMajorLoanandLeaseCategoriesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_LoansAndLeasesReceivableDeferredIncome": {
     "auth_ref": [
      "r190",
      "r198",
      "r565",
      "r628"
     ],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of deferred interest and fee income, unamortized costs incurred to originate loans and leases, unamortized loan commitments and loan syndication fees, and premiums over or discounts from face amounts of acquired loans. Excludes amounts for loans and leases covered under loss sharing agreements.",
        "label": "Loans and Leases Receivable, Deferred Income",
        "terseLabel": "Net deferred costs, included in the above table"
       }
      }
     },
     "localname": "LoansAndLeasesReceivableDeferredIncome",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.univest.net/role/LoansandLeasesSummaryofMajorLoanandLeaseCategoriesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_LoansAndLeasesReceivableImpairedNonperformingNonaccrualOfInterest": {
     "auth_ref": [
      "r191"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Reflects the carrying amount of loans deemed to be questionable as to collection on which no interest is continuing to be recognized.",
        "label": "Loans and Leases Receivable, Nonperforming, Nonaccrual of Interest",
        "terseLabel": "Interest income recognized on nonaccrual loans and leases"
       }
      }
     },
     "localname": "LoansAndLeasesReceivableImpairedNonperformingNonaccrualOfInterest",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.univest.net/role/LoansandLeasesNonaccrualDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_LoansAndLeasesReceivableNetOfDeferredIncome": {
     "auth_ref": [
      "r176",
      "r190"
     ],
     "calculation": {
      "http://www.univest.net/role/CondensedConsolidatedBalanceSheets": {
       "order": 2.0,
       "parentTag": "us-gaap_LoansAndLeasesReceivableNetReportedAmount",
       "weight": 1.0
      },
      "http://www.univest.net/role/LoansandLeasesAllowanceforLoanandLeaseLossesandRecordedInvestmentinLoansandLeasesDetails": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount before allowance and after deduction of deferred interest and fees, unamortized costs and premiums and discounts from face amounts, of loans and leases held in portfolio, including but not limited to, commercial and consumer loans. Excludes loans and leases covered under loss sharing agreements.",
        "label": "Loans and Leases Receivable, Net of Deferred Income",
        "terseLabel": "Loans and leases held for investment",
        "totalLabel": "Total loans and leases held for investment"
       }
      }
     },
     "localname": "LoansAndLeasesReceivableNetOfDeferredIncome",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.univest.net/role/CondensedConsolidatedBalanceSheets",
      "http://www.univest.net/role/LoansandLeasesAgeAnalysisofPastDueLoansandLeasesDetails",
      "http://www.univest.net/role/LoansandLeasesAllowanceforLoanandLeaseLossesandRecordedInvestmentinLoansandLeasesDetails",
      "http://www.univest.net/role/LoansandLeasesCreditQualityIndicatorsDetails",
      "http://www.univest.net/role/LoansandLeasesSummaryofMajorLoanandLeaseCategoriesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_LoansAndLeasesReceivableNetReportedAmount": {
     "auth_ref": [
      "r176",
      "r628"
     ],
     "calculation": {
      "http://www.univest.net/role/CondensedConsolidatedBalanceSheets": {
       "order": 5.0,
       "parentTag": "us-gaap_Assets",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount after allowance and deduction of deferred interest and fees, unamortized costs and premiums and discounts from face amounts, of loans and leases held in portfolio, including but not limited to, commercial and consumer loans. Excludes loans and leases covered under loss sharing agreements and loans held for sale.",
        "label": "Loans and Leases Receivable, Net Amount",
        "terseLabel": "Net loans and leases held for investment",
        "totalLabel": "Net loans and leases held for investment"
       }
      }
     },
     "localname": "LoansAndLeasesReceivableNetReportedAmount",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.univest.net/role/CondensedConsolidatedBalanceSheets",
      "http://www.univest.net/role/LoansandLeasesSummaryofMajorLoanandLeaseCategoriesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_LoansHeldForSaleFairValueDisclosure": {
     "auth_ref": [],
     "calculation": {
      "http://www.univest.net/role/FairValueDisclosuresAssetsLiabilitiesandOffbalanceSheetItemsNotMeasuredatFairValueDetails": {
       "order": 6.0,
       "parentTag": "us-gaap_AssetsFairValueDisclosure",
       "weight": 1.0
      },
      "http://www.univest.net/role/FairValueDisclosuresAssetsandLiabilitiesMeasuredatFairValueonRecurringBasisDetails": {
       "order": 3.0,
       "parentTag": "us-gaap_AssetsFairValueDisclosure",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Fair value portion of loans held-for-sale including, but not limited to, mortgage loans and finance receivables.",
        "label": "Loans Held-for-sale, Fair Value Disclosure",
        "terseLabel": "Loans Held-for-sale"
       }
      }
     },
     "localname": "LoansHeldForSaleFairValueDisclosure",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.univest.net/role/FairValueDisclosuresAssetsandLiabilitiesMeasuredatFairValueonRecurringBasisDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_LoansMember": {
     "auth_ref": [
      "r100",
      "r197"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "When a lender gives money or property over other debt securities sold by the issuer. In the event the issuer goes bankrupt, senior debt holders receive priority for [must receive] repayment [prior] relative to junior and unsecured (general) creditors.",
        "label": "Loans [Member]",
        "terseLabel": "Loans"
       }
      }
     },
     "localname": "LoansMember",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.univest.net/role/FairValueDisclosuresAssetsandLiabilitiesMeasuredatFairValueonRecurringBasisDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_LoansReceivableFairValueDisclosure": {
     "auth_ref": [
      "r197"
     ],
     "calculation": {
      "http://www.univest.net/role/FairValueDisclosuresAssetsLiabilitiesandOffbalanceSheetItemsNotMeasuredatFairValueDetails": {
       "order": 1.0,
       "parentTag": "us-gaap_AssetsFairValueDisclosure",
       "weight": 1.0
      },
      "http://www.univest.net/role/FairValueDisclosuresAssetsandLiabilitiesMeasuredatFairValueonRecurringBasisDetails": {
       "order": 2.0,
       "parentTag": "us-gaap_AssetsFairValueDisclosure",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Fair value portion of loan receivable, including, but not limited to, mortgage loans held for investment, finance receivables held for investment, policy loans on insurance contracts.",
        "label": "Loans Receivable, Fair Value Disclosure",
        "terseLabel": "Net loans and leases held for investment",
        "verboseLabel": "Loans"
       }
      }
     },
     "localname": "LoansReceivableFairValueDisclosure",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.univest.net/role/FairValueDisclosuresAssetsLiabilitiesandOffbalanceSheetItemsNotMeasuredatFairValueDetails",
      "http://www.univest.net/role/FairValueDisclosuresAssetsandLiabilitiesMeasuredatFairValueonRecurringBasisDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_LoansReceivableHeldForSaleNetNotPartOfDisposalGroup": {
     "auth_ref": [
      "r176",
      "r705"
     ],
     "calculation": {
      "http://www.univest.net/role/CondensedConsolidatedBalanceSheets": {
       "order": 4.0,
       "parentTag": "us-gaap_Assets",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount, after valuation allowance, of financing receivable held for sale and not part of disposal group. Excludes loan covered under loss sharing agreement and loan classified as investment in debt security.",
        "label": "Financing Receivable, Held-for-Sale, Not Part of Disposal Group, after Valuation Allowance",
        "terseLabel": "Loans held for sale"
       }
      }
     },
     "localname": "LoansReceivableHeldForSaleNetNotPartOfDisposalGroup",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.univest.net/role/CondensedConsolidatedBalanceSheets"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_LoansReceivableMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "An amount of money or property, or a portion thereof, leant to a borrower (debtor) in exchange for a promise to repay the amount borrowed plus interest at a date certain in the future.",
        "label": "Loans Receivable [Member]",
        "terseLabel": "Loans [Member]"
       }
      }
     },
     "localname": "LoansReceivableMember",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.univest.net/role/FairValueDisclosuresLevel3RollForwardDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_LoansReceivableWithFixedRatesOfInterest1": {
     "auth_ref": [
      "r176"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of loan with fixed rate of interest.",
        "label": "Loans Receivable with Fixed Rates of Interest",
        "terseLabel": "Loans receivable with fixed rates"
       }
      }
     },
     "localname": "LoansReceivableWithFixedRatesOfInterest1",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.univest.net/role/DerivativeInstrumentsandHedgingActivitiesNarrativeDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_LongTermDebt": {
     "auth_ref": [
      "r10",
      "r325",
      "r332",
      "r333",
      "r334",
      "r619",
      "r673"
     ],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount, after unamortized (discount) premium and debt issuance costs, of long-term debt. Includes, but not limited to, notes payable, bonds payable, debentures, mortgage loans and commercial paper. Excludes capital lease obligations.",
        "label": "Long-term Debt",
        "verboseLabel": "Balance at end of period"
       }
      }
     },
     "localname": "LongTermDebt",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.univest.net/role/BorrowingsSummaryofBorrowingsByTypeDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_LongTermDebtFairValue": {
     "auth_ref": [],
     "calculation": {
      "http://www.univest.net/role/FairValueDisclosuresAssetsLiabilitiesandOffbalanceSheetItemsNotMeasuredatFairValueDetails": {
       "order": 3.0,
       "parentTag": "us-gaap_LiabilitiesFairValueDisclosure",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The fair value amount of long-term debt whether such amount is presented as a separate caption or as a parenthetical disclosure. Additionally, this element may be used in connection with the fair value disclosures required in the footnote disclosures to the financial statements. The element may be used in both the balance sheet and disclosure in the same submission.",
        "label": "Long-term Debt, Fair Value",
        "terseLabel": "Long-term debt"
       }
      }
     },
     "localname": "LongTermDebtFairValue",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.univest.net/role/FairValueDisclosuresAssetsLiabilitiesandOffbalanceSheetItemsNotMeasuredatFairValueDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_LongtermDebtTypeAxis": {
     "auth_ref": [
      "r24"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Information by type of long-term debt.",
        "label": "Long-term Debt, Type [Axis]",
        "terseLabel": "Long-term Debt, Type [Axis]"
       }
      }
     },
     "localname": "LongtermDebtTypeAxis",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.univest.net/role/BorrowingsSummaryofBorrowingsByTypeDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_LongtermDebtTypeDomain": {
     "auth_ref": [
      "r24",
      "r305"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Type of long-term debt arrangement, such as notes, line of credit, commercial paper, asset-based financing, project financing, letter of credit financing. These are debt arrangements that originally required repayment more than twelve months after issuance or greater than the normal operating cycle of the company, if longer.",
        "label": "Long-term Debt, Type [Domain]",
        "terseLabel": "Long-term Debt, Type [Domain]"
       }
      }
     },
     "localname": "LongtermDebtTypeDomain",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.univest.net/role/BorrowingsSummaryofBorrowingsByTypeDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_MarketableSecuritiesRealizedGainLoss": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of realized gain (loss) on investment in marketable security, including other-than-temporary impairment (OTTI).",
        "label": "Marketable Securities, Realized Gain (Loss)",
        "terseLabel": "Net realized gain on investment securities"
       }
      }
     },
     "localname": "MarketableSecuritiesRealizedGainLoss",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.univest.net/role/InvestmentSecuritiesNarrativeDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_MarketingAndAdvertisingExpense": {
     "auth_ref": [
      "r66"
     ],
     "calculation": {
      "http://www.univest.net/role/CondensedConsolidatedStatementsofIncome": {
       "order": 6.0,
       "parentTag": "us-gaap_NoninterestExpense",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The total expense recognized in the period for promotion, public relations, and brand or product advertising.",
        "label": "Marketing and Advertising Expense",
        "terseLabel": "Marketing and advertising"
       }
      }
     },
     "localname": "MarketingAndAdvertisingExpense",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.univest.net/role/CondensedConsolidatedStatementsofIncome"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_MoneyMarketFundsMember": {
     "auth_ref": [
      "r378"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Fund that invests in short-term money-market instruments, for example, but not limited to, commercial paper, banker's acceptances, repurchase agreements, government securities, certificates of deposit, and other highly liquid securities.",
        "label": "Money Market Funds [Member]",
        "terseLabel": "Money Market Mutual Funds [Member]"
       }
      }
     },
     "localname": "MoneyMarketFundsMember",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.univest.net/role/FairValueDisclosuresAssetsandLiabilitiesMeasuredatFairValueonRecurringBasisDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_NetCashProvidedByUsedInFinancingActivities": {
     "auth_ref": [
      "r82"
     ],
     "calculation": {
      "http://www.univest.net/role/CondensedConsolidatedStatementsofCashFlows": {
       "order": 3.0,
       "parentTag": "us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseExcludingExchangeRateEffect",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of cash inflow (outflow) from financing activities, including discontinued operations. Financing activity cash flows include obtaining resources from owners and providing them with a return on, and a return of, their investment; borrowing money and repaying amounts borrowed, or settling the obligation; and obtaining and paying for other resources obtained from creditors on long-term credit.",
        "label": "Net Cash Provided by (Used in) Financing Activities",
        "totalLabel": "Net cash (used in) provided by financing activities"
       }
      }
     },
     "localname": "NetCashProvidedByUsedInFinancingActivities",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.univest.net/role/CondensedConsolidatedStatementsofCashFlows"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_NetCashProvidedByUsedInFinancingActivitiesAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Net Cash Provided by (Used in) Financing Activities [Abstract]",
        "terseLabel": "Cash flows from financing activities:"
       }
      }
     },
     "localname": "NetCashProvidedByUsedInFinancingActivitiesAbstract",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.univest.net/role/CondensedConsolidatedStatementsofCashFlows"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_NetCashProvidedByUsedInInvestingActivities": {
     "auth_ref": [
      "r82"
     ],
     "calculation": {
      "http://www.univest.net/role/CondensedConsolidatedStatementsofCashFlows": {
       "order": 2.0,
       "parentTag": "us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseExcludingExchangeRateEffect",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of cash inflow (outflow) from investing activities, including discontinued operations. Investing activity cash flows include making and collecting loans and acquiring and disposing of debt or equity instruments and property, plant, and equipment and other productive assets.",
        "label": "Net Cash Provided by (Used in) Investing Activities",
        "totalLabel": "Net cash used in investing activities"
       }
      }
     },
     "localname": "NetCashProvidedByUsedInInvestingActivities",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.univest.net/role/CondensedConsolidatedStatementsofCashFlows"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_NetCashProvidedByUsedInInvestingActivitiesAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Net Cash Provided by (Used in) Investing Activities [Abstract]",
        "terseLabel": "Cash flows from investing activities:"
       }
      }
     },
     "localname": "NetCashProvidedByUsedInInvestingActivitiesAbstract",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.univest.net/role/CondensedConsolidatedStatementsofCashFlows"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_NetCashProvidedByUsedInOperatingActivities": {
     "auth_ref": [
      "r82",
      "r85",
      "r88"
     ],
     "calculation": {
      "http://www.univest.net/role/CondensedConsolidatedStatementsofCashFlows": {
       "order": 1.0,
       "parentTag": "us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseExcludingExchangeRateEffect",
       "weight": 1.0
      }
     },
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of cash inflow (outflow) from operating activities, including discontinued operations. Operating activity cash flows include transactions, adjustments, and changes in value not defined as investing or financing activities.",
        "label": "Net Cash Provided by (Used in) Operating Activities",
        "totalLabel": "Net cash provided by operating activities"
       }
      }
     },
     "localname": "NetCashProvidedByUsedInOperatingActivities",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.univest.net/role/CondensedConsolidatedStatementsofCashFlows"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_NetCashProvidedByUsedInOperatingActivitiesAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Net Cash Provided by (Used in) Operating Activities [Abstract]",
        "terseLabel": "Cash flows from operating activities:"
       }
      }
     },
     "localname": "NetCashProvidedByUsedInOperatingActivitiesAbstract",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.univest.net/role/CondensedConsolidatedStatementsofCashFlows"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_NetIncomeLoss": {
     "auth_ref": [
      "r2",
      "r45",
      "r48",
      "r53",
      "r59",
      "r88",
      "r98",
      "r105",
      "r107",
      "r108",
      "r109",
      "r110",
      "r113",
      "r114",
      "r122",
      "r153",
      "r159",
      "r163",
      "r166",
      "r169",
      "r247",
      "r306",
      "r307",
      "r308",
      "r310",
      "r311",
      "r312",
      "r313",
      "r314",
      "r315",
      "r316",
      "r532",
      "r553",
      "r631",
      "r679"
     ],
     "calculation": {
      "http://www.univest.net/role/CondensedConsolidatedStatementsofCashFlows": {
       "order": 14.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": 1.0
      },
      "http://www.univest.net/role/CondensedConsolidatedStatementsofComprehensiveIncome": {
       "order": 1.0,
       "parentTag": "us-gaap_ComprehensiveIncomeNetOfTax",
       "weight": 1.0
      },
      "http://www.univest.net/role/CondensedConsolidatedStatementsofIncome": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      },
      "http://www.univest.net/role/EarningsperShareBasicandDilutedEarningsPerShareDetails": {
       "order": 1.0,
       "parentTag": "us-gaap_NetIncomeLossAttributableToParentDiluted",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The portion of profit or loss for the period, net of income taxes, which is attributable to the parent.",
        "label": "Net Income (Loss) Attributable to Parent",
        "netLabel": "Net income",
        "totalLabel": "Net income",
        "verboseLabel": "Net income"
       }
      }
     },
     "localname": "NetIncomeLoss",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.univest.net/role/CondensedConsolidatedStatementsofCashFlows",
      "http://www.univest.net/role/CondensedConsolidatedStatementsofChangesinShareholdersEquity",
      "http://www.univest.net/role/CondensedConsolidatedStatementsofComprehensiveIncome",
      "http://www.univest.net/role/CondensedConsolidatedStatementsofIncome",
      "http://www.univest.net/role/EarningsperShareBasicandDilutedEarningsPerShareDetails",
      "http://www.univest.net/role/SegmentReportingScheduleofSegmentReportingDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_NetIncomeLossAttributableToParentDiluted": {
     "auth_ref": [],
     "calculation": {
      "http://www.univest.net/role/EarningsperShareBasicandDilutedEarningsPerShareDetails": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The portion of profit or loss for the period, net of income taxes, which is attributable to the parent, and includes adjustments resulting from the assumption that dilutive convertible securities were converted, options or warrants were exercised, or that other shares were issued upon the satisfaction of certain conditions.",
        "label": "Net Income (Loss) Attributable to Parent, Diluted",
        "totalLabel": "Net income allocated to common shares"
       }
      }
     },
     "localname": "NetIncomeLossAttributableToParentDiluted",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.univest.net/role/EarningsperShareBasicandDilutedEarningsPerShareDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_NewAccountingPronouncementsPolicyPolicyTextBlock": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Disclosure of accounting policy pertaining to new accounting pronouncements that may impact the entity's financial reporting. Includes, but is not limited to, quantification of the expected or actual impact.",
        "label": "New Accounting Pronouncements, Policy [Policy Text Block]",
        "terseLabel": "Recent Accounting Pronouncements"
       }
      }
     },
     "localname": "NewAccountingPronouncementsPolicyPolicyTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.univest.net/role/SummaryofSignificantAccountingPoliciesPolicies"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_NondesignatedMember": {
     "auth_ref": [
      "r505"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Derivative instrument not designated as hedging instrument under Generally Accepted Accounting Principles (GAAP).",
        "label": "Not Designated as Hedging Instrument [Member]",
        "terseLabel": "Not Designated as Hedging Instrument [Member]"
       }
      }
     },
     "localname": "NondesignatedMember",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.univest.net/role/DerivativeInstrumentsandHedgingActivitiesDerivativesNotDesignatedasHedgingInstrumentsDetails",
      "http://www.univest.net/role/DerivativeInstrumentsandHedgingActivitiesNarrativeDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_NoninterestBearingDepositLiabilities": {
     "auth_ref": [
      "r623"
     ],
     "calculation": {
      "http://www.univest.net/role/CondensedConsolidatedBalanceSheets": {
       "order": 1.0,
       "parentTag": "us-gaap_Deposits",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The aggregate amount of all domestic and foreign noninterest-bearing deposits liabilities held by the entity.",
        "label": "Noninterest-bearing Deposit Liabilities",
        "terseLabel": "Noninterest-bearing deposits"
       }
      }
     },
     "localname": "NoninterestBearingDepositLiabilities",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.univest.net/role/CondensedConsolidatedBalanceSheets",
      "http://www.univest.net/role/DepositsScheduleofComponentsofWeightedAverageInterestRateandBalanceofDepositsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_NoninterestExpense": {
     "auth_ref": [
      "r643"
     ],
     "calculation": {
      "http://www.univest.net/role/CondensedConsolidatedStatementsofIncome": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      },
      "http://www.univest.net/role/SegmentReportingScheduleofSegmentReportingDetails": {
       "order": 1.0,
       "parentTag": "us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest",
       "weight": -1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Total aggregate amount of all noninterest expense.",
        "label": "Noninterest Expense",
        "terseLabel": "Noninterest Expense",
        "totalLabel": "Total noninterest expense"
       }
      }
     },
     "localname": "NoninterestExpense",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.univest.net/role/CondensedConsolidatedStatementsofIncome",
      "http://www.univest.net/role/SegmentReportingScheduleofSegmentReportingDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_NoninterestExpenseAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Noninterest Expense [Abstract]",
        "terseLabel": "Noninterest expense"
       }
      }
     },
     "localname": "NoninterestExpenseAbstract",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.univest.net/role/CondensedConsolidatedStatementsofIncome"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_NoninterestIncome": {
     "auth_ref": [
      "r641"
     ],
     "calculation": {
      "http://www.univest.net/role/CondensedConsolidatedStatementsofIncome": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      },
      "http://www.univest.net/role/SegmentReportingScheduleofSegmentReportingDetails": {
       "order": 3.0,
       "parentTag": "us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The total amount of noninterest income which may be derived from: (1) fees and commissions; (2) premiums earned; (3) insurance policy charges; (4) the sale or disposal of assets; and (5) other sources not otherwise specified.",
        "label": "Noninterest Income",
        "terseLabel": "Noninterest income",
        "totalLabel": "Noninterest income"
       }
      }
     },
     "localname": "NoninterestIncome",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.univest.net/role/CondensedConsolidatedStatementsofIncome",
      "http://www.univest.net/role/SegmentReportingScheduleofSegmentReportingDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_NoninterestIncomeAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Noninterest Income [Abstract]",
        "terseLabel": "Noninterest income"
       }
      }
     },
     "localname": "NoninterestIncomeAbstract",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.univest.net/role/CondensedConsolidatedStatementsofIncome"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_NoninterestIncomeOtherOperatingIncome": {
     "auth_ref": [
      "r55",
      "r629",
      "r683"
     ],
     "calculation": {
      "http://www.univest.net/role/CondensedConsolidatedStatementsofIncome": {
       "order": 4.0,
       "parentTag": "us-gaap_NoninterestIncome",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of revenue earned, classified as other, excluding interest income.",
        "label": "Noninterest Income, Other Operating Income",
        "terseLabel": "Other income"
       }
      }
     },
     "localname": "NoninterestIncomeOtherOperatingIncome",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.univest.net/role/CondensedConsolidatedStatementsofIncome"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_NonperformingFinancingReceivableMember": {
     "auth_ref": [
      "r186",
      "r262"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Category status of financial instruments in which payments are past due in accordance with the terms of the contract. Financial instruments include, but are not limited to, financing receivables, loans, debt, and investments.",
        "label": "Nonperforming Financial Instruments [Member]",
        "terseLabel": "Nonperforming Financial Instruments [Member]"
       }
      }
     },
     "localname": "NonperformingFinancingReceivableMember",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.univest.net/role/LoansandLeasesCreditQualityDetails",
      "http://www.univest.net/role/LoansandLeasesCreditQualityIndicatorsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_NonqualifiedPlanMember": {
     "auth_ref": [
      "r356",
      "r357",
      "r358",
      "r359",
      "r360",
      "r361",
      "r362",
      "r363",
      "r364",
      "r365",
      "r366",
      "r367",
      "r368",
      "r369",
      "r370",
      "r371",
      "r372",
      "r373",
      "r374",
      "r375",
      "r376",
      "r377",
      "r378",
      "r380",
      "r381",
      "r382",
      "r383",
      "r384",
      "r385",
      "r386",
      "r387",
      "r388",
      "r389",
      "r390",
      "r391",
      "r392",
      "r393",
      "r394",
      "r395",
      "r396",
      "r397",
      "r398",
      "r399",
      "r400",
      "r401",
      "r402",
      "r404",
      "r407",
      "r411",
      "r412",
      "r413",
      "r416",
      "r417",
      "r418",
      "r419",
      "r420",
      "r421",
      "r422",
      "r423",
      "r424",
      "r425"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Plan without tax-exempt status in accordance with applicable tax provision of designated taxing authority. Taxing authority includes, but is not limited to, U.S. Internal Revenue Service (IRS). Includes, but is not limited to, defined benefit and defined contribution plans.",
        "label": "Nonqualified Plan [Member]",
        "terseLabel": "Nonqualified Plan [Member]"
       }
      }
     },
     "localname": "NonqualifiedPlanMember",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.univest.net/role/RetirementPlansandOtherPostRetirementBenefitsNarrativeDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_NotesReceivableGross": {
     "auth_ref": [
      "r194",
      "r249",
      "r256",
      "r261",
      "r268",
      "r269",
      "r724",
      "r726",
      "r727"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount, before allowance for credit loss, of financing receivable.",
        "label": "Financing Receivable, before Allowance for Credit Loss",
        "terseLabel": "Total",
        "verboseLabel": "Financial receivables, gross"
       }
      }
     },
     "localname": "NotesReceivableGross",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.univest.net/role/LoansandLeasesAgeAnalysisofPastDueLoansandLeasesDetails",
      "http://www.univest.net/role/LoansandLeasesCreditQualityDetails",
      "http://www.univest.net/role/LoansandLeasesCreditQualityIndicatorsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_NumberOfReportableSegments": {
     "auth_ref": [
      "r141"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Number of segments reported by the entity. A reportable segment is a component of an entity for which there is an accounting requirement to report separate financial information on that component in the entity's financial statements.",
        "label": "Number of Reportable Segments",
        "terseLabel": "Reportable business segments"
       }
      }
     },
     "localname": "NumberOfReportableSegments",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.univest.net/role/SegmentReportingScheduleofSegmentReportingDetails"
     ],
     "xbrltype": "integerItemType"
    },
    "us-gaap_OccupancyNet": {
     "auth_ref": [
      "r67",
      "r564",
      "r642"
     ],
     "calculation": {
      "http://www.univest.net/role/CondensedConsolidatedStatementsofIncome": {
       "order": 2.0,
       "parentTag": "us-gaap_NoninterestExpense",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of net occupancy expense that may include items, such as depreciation of facilities and equipment, lease expenses, property taxes and property and casualty insurance expense.",
        "label": "Occupancy, Net",
        "terseLabel": "Net occupancy"
       }
      }
     },
     "localname": "OccupancyNet",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.univest.net/role/CondensedConsolidatedStatementsofIncome"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_OciBeforeReclassificationsBeforeTaxAttributableToParent": {
     "auth_ref": [
      "r42"
     ],
     "calculation": {
      "http://www.univest.net/role/CondensedConsolidatedStatementsofComprehensiveIncome": {
       "order": 2.0,
       "parentTag": "us-gaap_OciBeforeReclassificationsNetOfTaxAttributableToParent",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount before tax and reclassification adjustments of other comprehensive income (loss) attributable to parent.",
        "label": "OCI, before Reclassifications, before Tax, Attributable to Parent",
        "terseLabel": "Net unrealized holding gains arising during the period"
       }
      }
     },
     "localname": "OciBeforeReclassificationsBeforeTaxAttributableToParent",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.univest.net/role/CondensedConsolidatedStatementsofComprehensiveIncome"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_OciBeforeReclassificationsNetOfTaxAttributableToParent": {
     "auth_ref": [
      "r42",
      "r54"
     ],
     "calculation": {
      "http://www.univest.net/role/CondensedConsolidatedStatementsofComprehensiveIncome": {
       "order": 1.0,
       "parentTag": "us-gaap_OtherComprehensiveIncomeLossCashFlowHedgeGainLossAfterReclassificationAndTax",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount after tax, before reclassification adjustments, of other comprehensive income (loss), attributable to parent.",
        "label": "OCI, before Reclassifications, Net of Tax, Attributable to Parent",
        "totalLabel": "Net unrealized holding gains arising during the period"
       }
      }
     },
     "localname": "OciBeforeReclassificationsNetOfTaxAttributableToParent",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.univest.net/role/CondensedConsolidatedStatementsofComprehensiveIncome"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_OperatingLeaseLiability": {
     "auth_ref": [
      "r567"
     ],
     "calculation": {
      "http://www.univest.net/role/CondensedConsolidatedBalanceSheets": {
       "order": 4.0,
       "parentTag": "us-gaap_Liabilities",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Present value of lessee's discounted obligation for lease payments from operating lease.",
        "label": "Operating Lease, Liability",
        "terseLabel": "Operating lease liabilities"
       }
      }
     },
     "localname": "OperatingLeaseLiability",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.univest.net/role/CondensedConsolidatedBalanceSheets"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_OperatingLeaseRightOfUseAsset": {
     "auth_ref": [
      "r566"
     ],
     "calculation": {
      "http://www.univest.net/role/CondensedConsolidatedBalanceSheets": {
       "order": 7.0,
       "parentTag": "us-gaap_Assets",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of lessee's right to use underlying asset under operating lease.",
        "label": "Operating Lease, Right-of-Use Asset",
        "terseLabel": "Operating lease right-of-use assets"
       }
      }
     },
     "localname": "OperatingLeaseRightOfUseAsset",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.univest.net/role/CondensedConsolidatedBalanceSheets"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_OtherAssetsMember": {
     "auth_ref": [
      "r507",
      "r525"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Primary financial statement caption encompassing other assets.",
        "label": "Other Assets [Member]",
        "terseLabel": "Other Assets [Member]"
       }
      }
     },
     "localname": "OtherAssetsMember",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.univest.net/role/DerivativeInstrumentsandHedgingActivitiesDerivativesDesignatedasHedgingInstrumentsDetails",
      "http://www.univest.net/role/DerivativeInstrumentsandHedgingActivitiesDerivativesNotDesignatedasHedgingInstrumentsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_OtherComprehensiveIncomeAvailableForSaleSecuritiesAdjustmentNetOfTaxPeriodIncreaseDecreaseAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "OCI, Debt Securities, Available-for-Sale, Gain (Loss), after Adjustment and Tax [Abstract]",
        "terseLabel": "Net unrealized gains (losses) on available-for-sale investment securities, net of tax amount"
       }
      }
     },
     "localname": "OtherComprehensiveIncomeAvailableForSaleSecuritiesAdjustmentNetOfTaxPeriodIncreaseDecreaseAbstract",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.univest.net/role/CondensedConsolidatedStatementsofComprehensiveIncome"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_OtherComprehensiveIncomeAvailableForSaleSecuritiesTaxAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "OCI, Debt Securities, Available-for-Sale, Gain (Loss), after Adjustment, Tax [Abstract]",
        "terseLabel": "Net unrealized gains (losses) on available-for-sale investment securities, tax expense (benefit)"
       }
      }
     },
     "localname": "OtherComprehensiveIncomeAvailableForSaleSecuritiesTaxAbstract",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.univest.net/role/CondensedConsolidatedStatementsofComprehensiveIncome"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_OtherComprehensiveIncomeDefinedBenefitPlansAdjustmentBeforeTaxPeriodIncreaseDecreaseAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Other Comprehensive (Income) Loss, Defined Benefit Plan, after Reclassification Adjustment, before Tax [Abstract]",
        "terseLabel": "Defined benefit pension plans, Before Tax Amount"
       }
      }
     },
     "localname": "OtherComprehensiveIncomeDefinedBenefitPlansAdjustmentBeforeTaxPeriodIncreaseDecreaseAbstract",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.univest.net/role/CondensedConsolidatedStatementsofComprehensiveIncome"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_OtherComprehensiveIncomeDefinedBenefitPlansAdjustmentNetOfTaxPeriodIncreaseDecreaseAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Other Comprehensive (Income) Loss, Defined Benefit Plan, after Reclassification Adjustment, after Tax [Abstract]",
        "terseLabel": "Defined benefit pension plans, net of tax amount"
       }
      }
     },
     "localname": "OtherComprehensiveIncomeDefinedBenefitPlansAdjustmentNetOfTaxPeriodIncreaseDecreaseAbstract",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.univest.net/role/CondensedConsolidatedStatementsofComprehensiveIncome"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_OtherComprehensiveIncomeDefinedBenefitPlansTaxAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Other Comprehensive (Income) Loss, Defined Benefit Plan, after Reclassification Adjustment, Tax [Abstract]",
        "terseLabel": "Defined benefit pension plans, tax expense (benefit)"
       }
      }
     },
     "localname": "OtherComprehensiveIncomeDefinedBenefitPlansTaxAbstract",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.univest.net/role/CondensedConsolidatedStatementsofComprehensiveIncome"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_OtherComprehensiveIncomeDerivativesQualifyingAsHedgesBeforeTaxPeriodIncreaseDecreaseAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Other Comprehensive Income (Loss), Cash Flow Hedge, Gain (Loss), after Reclassification, before Tax [Abstract]",
        "terseLabel": "Net unrealized gains (losses) on interest rate swaps used in cash flow hedges, before tax amount"
       }
      }
     },
     "localname": "OtherComprehensiveIncomeDerivativesQualifyingAsHedgesBeforeTaxPeriodIncreaseDecreaseAbstract",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.univest.net/role/CondensedConsolidatedStatementsofComprehensiveIncome"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_OtherComprehensiveIncomeDerivativesQualifyingAsHedgesNetOfTaxPeriodIncreaseDecreaseAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Other Comprehensive Income (Loss), Cash Flow Hedge, Gain (Loss), after Reclassification and Tax [Abstract]",
        "terseLabel": "Net unrealized gains (losses) on interest rate swaps used in cash flow hedges, net of tax amount"
       }
      }
     },
     "localname": "OtherComprehensiveIncomeDerivativesQualifyingAsHedgesNetOfTaxPeriodIncreaseDecreaseAbstract",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.univest.net/role/CondensedConsolidatedStatementsofComprehensiveIncome"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_OtherComprehensiveIncomeDerivativesQualifyingAsHedgesTaxEffectPeriodIncreaseDecreaseAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Other Comprehensive Income (Loss), Cash Flow Hedge, Gain (Loss), after Reclassification, Tax [Abstract]",
        "terseLabel": "Net unrealized gains (losses) on interest rate swaps used in cash flow hedges, tax expense (benefit)"
       }
      }
     },
     "localname": "OtherComprehensiveIncomeDerivativesQualifyingAsHedgesTaxEffectPeriodIncreaseDecreaseAbstract",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.univest.net/role/CondensedConsolidatedStatementsofComprehensiveIncome"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_OtherComprehensiveIncomeLossAvailableForSaleSecuritiesAdjustmentBeforeReclassificationAdjustmentsAndTaxAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "OCI, Debt Securities, Available-for-Sale, Gain (Loss), before Adjustment and Tax [Abstract]",
        "terseLabel": "Net unrealized gains (losses) on available-for-sale investment securities, before tax amount"
       }
      }
     },
     "localname": "OtherComprehensiveIncomeLossAvailableForSaleSecuritiesAdjustmentBeforeReclassificationAdjustmentsAndTaxAbstract",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.univest.net/role/CondensedConsolidatedStatementsofComprehensiveIncome"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_OtherComprehensiveIncomeLossAvailableForSaleSecuritiesAdjustmentBeforeTax": {
     "auth_ref": [
      "r33",
      "r34",
      "r39"
     ],
     "calculation": {
      "http://www.univest.net/role/CondensedConsolidatedStatementsofComprehensiveIncome": {
       "order": 1.0,
       "parentTag": "us-gaap_OtherComprehensiveIncomeLossBeforeTax",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount, before tax and after adjustment, of unrealized gain (loss) on investment in debt security measured at fair value with change in fair value recognized in other comprehensive income (available-for-sale) and unrealized gain (loss) on investment in debt security measured at amortized cost (held-to-maturity) from transfer to available-for-sale.",
        "label": "OCI, Debt Securities, Available-for-Sale, Gain (Loss), after Adjustment, before Tax",
        "totalLabel": "Other comprehensive income (loss), securities, available-for-sale, adjustment, before tax"
       }
      }
     },
     "localname": "OtherComprehensiveIncomeLossAvailableForSaleSecuritiesAdjustmentBeforeTax",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.univest.net/role/CondensedConsolidatedStatementsofComprehensiveIncome"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_OtherComprehensiveIncomeLossAvailableForSaleSecuritiesAdjustmentNetOfTax": {
     "auth_ref": [
      "r33",
      "r34",
      "r39"
     ],
     "calculation": {
      "http://www.univest.net/role/CondensedConsolidatedStatementsofComprehensiveIncome": {
       "order": 1.0,
       "parentTag": "us-gaap_OtherComprehensiveIncomeLossNetOfTax",
       "weight": 1.0
      },
      "http://www.univest.net/role/CondensedConsolidatedStatementsofComprehensiveIncome_1": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount, after tax and adjustment, of unrealized gain (loss) on investment in debt security measured at fair value with change in fair value recognized in other comprehensive income (available-for-sale) and unrealized gain (loss) on investment in debt security measured at amortized cost (held-to-maturity) from transfer to available-for-sale.",
        "label": "OCI, Debt Securities, Available-for-Sale, Gain (Loss), after Adjustment and Tax",
        "totalLabel": "Other comprehensive income (loss), securities, available-for-sale, adjustment, after tax"
       }
      }
     },
     "localname": "OtherComprehensiveIncomeLossAvailableForSaleSecuritiesAdjustmentNetOfTax",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.univest.net/role/CondensedConsolidatedStatementsofComprehensiveIncome"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_OtherComprehensiveIncomeLossAvailableForSaleSecuritiesTax": {
     "auth_ref": [
      "r33",
      "r34",
      "r40"
     ],
     "calculation": {
      "http://www.univest.net/role/CondensedConsolidatedStatementsofComprehensiveIncome": {
       "order": 2.0,
       "parentTag": "us-gaap_OtherComprehensiveIncomeLossAvailableForSaleSecuritiesAdjustmentNetOfTax",
       "weight": -1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount, after adjustment, of tax expense (benefit) for unrealized gain (loss) on investment in debt security measured at fair value with change in fair value recognized in other comprehensive income (available-for-sale) and tax expense (benefit) for unrealized gain (loss) on investment in debt security measured at amortized cost (held-to-maturity) from transfer to available-for-sale.",
        "label": "OCI, Debt Securities, Available-for-Sale, Gain (Loss), after Adjustment, Tax",
        "totalLabel": "Total net unrealized (losses) gains on available-for-sale investment securities"
       }
      }
     },
     "localname": "OtherComprehensiveIncomeLossAvailableForSaleSecuritiesTax",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.univest.net/role/CondensedConsolidatedStatementsofComprehensiveIncome"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_OtherComprehensiveIncomeLossBeforeReclassificationsTax": {
     "auth_ref": [
      "r40",
      "r51"
     ],
     "calculation": {
      "http://www.univest.net/role/CondensedConsolidatedStatementsofComprehensiveIncome": {
       "order": 1.0,
       "parentTag": "us-gaap_OtherComprehensiveIncomeLossCashFlowHedgeGainLossAfterReclassificationTax",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of tax expense (benefit) allocated to other comprehensive income (loss) before reclassification adjustment from accumulated other comprehensive income (loss).",
        "label": "Other Comprehensive Income (Loss) before Reclassifications, Tax",
        "terseLabel": "Net unrealized holding gains arising during the period"
       }
      }
     },
     "localname": "OtherComprehensiveIncomeLossBeforeReclassificationsTax",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.univest.net/role/CondensedConsolidatedStatementsofComprehensiveIncome"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_OtherComprehensiveIncomeLossBeforeTax": {
     "auth_ref": [
      "r51",
      "r52",
      "r60",
      "r246",
      "r555",
      "r560",
      "r561",
      "r632",
      "r680"
     ],
     "calculation": {
      "http://www.univest.net/role/CondensedConsolidatedStatementsofComprehensiveIncome": {
       "order": 2.0,
       "parentTag": "uvsp_ComprehensiveIncomeLossBeforeTax",
       "weight": 1.0
      },
      "http://www.univest.net/role/CondensedConsolidatedStatementsofComprehensiveIncome_1": {
       "order": 1.0,
       "parentTag": "us-gaap_OtherComprehensiveIncomeLossNetOfTax",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount before tax, after reclassification adjustments of other comprehensive income (loss).",
        "label": "Other Comprehensive Income (Loss), before Tax",
        "totalLabel": "Other comprehensive income (loss), before tax amount"
       }
      }
     },
     "localname": "OtherComprehensiveIncomeLossBeforeTax",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.univest.net/role/CondensedConsolidatedStatementsofComprehensiveIncome"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_OtherComprehensiveIncomeLossBeforeTaxPeriodIncreaseDecreaseAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Other Comprehensive Income (Loss), before Tax [Abstract]",
        "terseLabel": "Before Tax Amount"
       }
      }
     },
     "localname": "OtherComprehensiveIncomeLossBeforeTaxPeriodIncreaseDecreaseAbstract",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.univest.net/role/CondensedConsolidatedStatementsofComprehensiveIncome"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_OtherComprehensiveIncomeLossCashFlowHedgeGainLossAfterReclassificationAndTax": {
     "auth_ref": [
      "r32",
      "r39"
     ],
     "calculation": {
      "http://www.univest.net/role/CondensedConsolidatedStatementsofComprehensiveIncome": {
       "order": 3.0,
       "parentTag": "us-gaap_OtherComprehensiveIncomeLossNetOfTax",
       "weight": 1.0
      },
      "http://www.univest.net/role/CondensedConsolidatedStatementsofComprehensiveIncome_1": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount, after tax and reclassification, of gain (loss) from derivative instrument designated and qualifying as cash flow hedge included in assessment of hedge effectiveness.",
        "label": "Other Comprehensive Income (Loss), Cash Flow Hedge, Gain (Loss), after Reclassification and Tax",
        "totalLabel": "Total net unrealized gains on interest rate swaps used in cash flow hedges",
        "verboseLabel": "Gain (loss) recognized in other comprehensive income (loss)"
       }
      }
     },
     "localname": "OtherComprehensiveIncomeLossCashFlowHedgeGainLossAfterReclassificationAndTax",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.univest.net/role/CondensedConsolidatedStatementsofComprehensiveIncome",
      "http://www.univest.net/role/DerivativeInstrumentsandHedgingActivitiesDerivativesDesignatedasHedgingInstrumentsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_OtherComprehensiveIncomeLossCashFlowHedgeGainLossAfterReclassificationBeforeTax": {
     "auth_ref": [
      "r32",
      "r39"
     ],
     "calculation": {
      "http://www.univest.net/role/CondensedConsolidatedStatementsofComprehensiveIncome": {
       "order": 3.0,
       "parentTag": "us-gaap_OtherComprehensiveIncomeLossBeforeTax",
       "weight": 1.0
      },
      "http://www.univest.net/role/CondensedConsolidatedStatementsofComprehensiveIncome_1": {
       "order": 2.0,
       "parentTag": "us-gaap_OtherComprehensiveIncomeLossCashFlowHedgeGainLossAfterReclassificationAndTax",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount, before tax and after reclassification, of gain (loss) from derivative instrument designated and qualifying cash flow hedge included in assessment of hedge effectiveness.",
        "label": "Other Comprehensive Income (Loss), Cash Flow Hedge, Gain (Loss), after Reclassification, before Tax",
        "totalLabel": "Total net unrealized gains on interest rate swaps used in cash flow hedges"
       }
      }
     },
     "localname": "OtherComprehensiveIncomeLossCashFlowHedgeGainLossAfterReclassificationBeforeTax",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.univest.net/role/CondensedConsolidatedStatementsofComprehensiveIncome"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_OtherComprehensiveIncomeLossCashFlowHedgeGainLossAfterReclassificationTax": {
     "auth_ref": [
      "r40"
     ],
     "calculation": {
      "http://www.univest.net/role/CondensedConsolidatedStatementsofComprehensiveIncome": {
       "order": 3.0,
       "parentTag": "us-gaap_OtherComprehensiveIncomeLossTax",
       "weight": 1.0
      },
      "http://www.univest.net/role/CondensedConsolidatedStatementsofComprehensiveIncome_1": {
       "order": 1.0,
       "parentTag": "us-gaap_OtherComprehensiveIncomeLossCashFlowHedgeGainLossAfterReclassificationAndTax",
       "weight": -1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount, after reclassification, of tax expense (benefit) for gain (loss) from derivative instrument designated and qualifying as cash flow hedge included in assessment of hedge effectiveness.",
        "label": "Other Comprehensive Income (Loss), Cash Flow Hedge, Gain (Loss), after Reclassification, Tax",
        "totalLabel": "Total net unrealized gains on interest rate swaps used in cash flow hedges"
       }
      }
     },
     "localname": "OtherComprehensiveIncomeLossCashFlowHedgeGainLossAfterReclassificationTax",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.univest.net/role/CondensedConsolidatedStatementsofComprehensiveIncome"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_OtherComprehensiveIncomeLossNetOfTax": {
     "auth_ref": [
      "r46",
      "r49",
      "r51",
      "r52",
      "r54",
      "r60",
      "r338",
      "r555",
      "r560",
      "r561",
      "r632",
      "r680"
     ],
     "calculation": {
      "http://www.univest.net/role/CondensedConsolidatedStatementsofComprehensiveIncome": {
       "order": 2.0,
       "parentTag": "us-gaap_ComprehensiveIncomeNetOfTax",
       "weight": 1.0
      },
      "http://www.univest.net/role/CondensedConsolidatedStatementsofComprehensiveIncome_1": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount after tax and reclassification adjustments of other comprehensive income (loss).",
        "label": "Other Comprehensive Income (Loss), Net of Tax",
        "terseLabel": "Other comprehensive (loss) income",
        "totalLabel": "Other comprehensive income (loss), net of tax amount",
        "verboseLabel": "Other comprehensive income, net of income tax"
       }
      }
     },
     "localname": "OtherComprehensiveIncomeLossNetOfTax",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.univest.net/role/AccumulatedOtherComprehensiveLossIncomeComponentsofAccumulatedOtherComprehensiveLossIncomeNetofTaxesDetails",
      "http://www.univest.net/role/CondensedConsolidatedStatementsofChangesinShareholdersEquity",
      "http://www.univest.net/role/CondensedConsolidatedStatementsofComprehensiveIncome"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_OtherComprehensiveIncomeLossNetOfTaxPeriodIncreaseDecreaseAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Other Comprehensive Income (Loss), Net of Tax [Abstract]",
        "terseLabel": "Net of Tax Amount"
       }
      }
     },
     "localname": "OtherComprehensiveIncomeLossNetOfTaxPeriodIncreaseDecreaseAbstract",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.univest.net/role/CondensedConsolidatedStatementsofComprehensiveIncome"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_OtherComprehensiveIncomeLossPensionAndOtherPostretirementBenefitPlansAdjustmentBeforeTax": {
     "auth_ref": [
      "r37",
      "r39",
      "r397",
      "r426"
     ],
     "calculation": {
      "http://www.univest.net/role/CondensedConsolidatedStatementsofComprehensiveIncome": {
       "order": 2.0,
       "parentTag": "us-gaap_OtherComprehensiveIncomeLossBeforeTax",
       "weight": -1.0
      },
      "http://www.univest.net/role/CondensedConsolidatedStatementsofComprehensiveIncome_1": {
       "order": 1.0,
       "parentTag": "us-gaap_OtherComprehensiveIncomeLossPensionAndOtherPostretirementBenefitPlansAdjustmentNetOfTax",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount, before tax, after reclassification adjustment, of (increase) decrease in accumulated other comprehensive income for defined benefit plan.",
        "label": "Other Comprehensive (Income) Loss, Defined Benefit Plan, after Reclassification Adjustment, before Tax",
        "negatedTotalLabel": "Total defined benefit pension plans"
       }
      }
     },
     "localname": "OtherComprehensiveIncomeLossPensionAndOtherPostretirementBenefitPlansAdjustmentBeforeTax",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.univest.net/role/CondensedConsolidatedStatementsofComprehensiveIncome"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_OtherComprehensiveIncomeLossPensionAndOtherPostretirementBenefitPlansAdjustmentNetOfTax": {
     "auth_ref": [
      "r37",
      "r39"
     ],
     "calculation": {
      "http://www.univest.net/role/CondensedConsolidatedStatementsofComprehensiveIncome": {
       "order": 2.0,
       "parentTag": "us-gaap_OtherComprehensiveIncomeLossNetOfTax",
       "weight": -1.0
      },
      "http://www.univest.net/role/CondensedConsolidatedStatementsofComprehensiveIncome_1": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount, after tax and reclassification adjustment, of (increase) decrease in accumulated other comprehensive income for defined benefit plan.",
        "label": "Other Comprehensive (Income) Loss, Defined Benefit Plan, after Reclassification Adjustment, after Tax",
        "negatedTotalLabel": "Other comprehensive (income) loss, defined benefit plan, after reclassification adjustment, after tax"
       }
      }
     },
     "localname": "OtherComprehensiveIncomeLossPensionAndOtherPostretirementBenefitPlansAdjustmentNetOfTax",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.univest.net/role/CondensedConsolidatedStatementsofComprehensiveIncome"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_OtherComprehensiveIncomeLossPensionAndOtherPostretirementBenefitPlansTax": {
     "auth_ref": [
      "r37",
      "r40",
      "r493"
     ],
     "calculation": {
      "http://www.univest.net/role/CondensedConsolidatedStatementsofComprehensiveIncome": {
       "order": 2.0,
       "parentTag": "us-gaap_OtherComprehensiveIncomeLossTax",
       "weight": -1.0
      },
      "http://www.univest.net/role/CondensedConsolidatedStatementsofComprehensiveIncome_1": {
       "order": 2.0,
       "parentTag": "us-gaap_OtherComprehensiveIncomeLossPensionAndOtherPostretirementBenefitPlansAdjustmentNetOfTax",
       "weight": -1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount, after reclassification adjustment, of tax (expense) benefit for (increase) decrease in accumulated other comprehensive income of defined benefit plan.",
        "label": "Other Comprehensive (Income) Loss, Defined Benefit Plan, after Reclassification Adjustment, Tax",
        "negatedTotalLabel": "Other comprehensive (income) loss, defined benefit plan, after reclassification adjustment, tax"
       }
      }
     },
     "localname": "OtherComprehensiveIncomeLossPensionAndOtherPostretirementBenefitPlansTax",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.univest.net/role/CondensedConsolidatedStatementsofComprehensiveIncome"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_OtherComprehensiveIncomeLossReclassificationAdjustmentFromAOCIForSaleOfSecuritiesBeforeTax": {
     "auth_ref": [
      "r39",
      "r43",
      "r44",
      "r241"
     ],
     "calculation": {
      "http://www.univest.net/role/CondensedConsolidatedStatementsofComprehensiveIncome": {
       "order": 2.0,
       "parentTag": "us-gaap_OtherComprehensiveIncomeLossAvailableForSaleSecuritiesAdjustmentBeforeTax",
       "weight": -1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount before tax of reclassification adjustment from accumulated other comprehensive income for unrealized gain (loss) realized upon the sale of available-for-sale securities.",
        "label": "Other Comprehensive Income (Loss), Reclassification Adjustment from AOCI for Sale of Securities, before Tax",
        "negatedLabel": "Less: reclassification adjustment for net gains on sales realized in net income"
       }
      }
     },
     "localname": "OtherComprehensiveIncomeLossReclassificationAdjustmentFromAOCIForSaleOfSecuritiesBeforeTax",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.univest.net/role/CondensedConsolidatedStatementsofComprehensiveIncome"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_OtherComprehensiveIncomeLossReclassificationAdjustmentFromAOCIForSaleOfSecuritiesNetOfTax": {
     "auth_ref": [
      "r39",
      "r43",
      "r44",
      "r241"
     ],
     "calculation": {
      "http://www.univest.net/role/CondensedConsolidatedStatementsofComprehensiveIncome": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      },
      "http://www.univest.net/role/CondensedConsolidatedStatementsofComprehensiveIncome_1": {
       "order": 2.0,
       "parentTag": "us-gaap_OtherComprehensiveIncomeLossAvailableForSaleSecuritiesAdjustmentNetOfTax",
       "weight": -1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount after tax of reclassification adjustment from accumulated other comprehensive income for unrealized gain (loss) realized upon the sale of available-for-sale securities.",
        "label": "Other Comprehensive Income (Loss), Reclassification Adjustment from AOCI for Sale of Securities, Net of Tax",
        "negatedTotalLabel": "Less: reclassification adjustment for net gains on sales realized in net income"
       }
      }
     },
     "localname": "OtherComprehensiveIncomeLossReclassificationAdjustmentFromAOCIForSaleOfSecuritiesNetOfTax",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.univest.net/role/CondensedConsolidatedStatementsofComprehensiveIncome"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_OtherComprehensiveIncomeLossReclassificationAdjustmentFromAOCIForSaleOfSecuritiesTax": {
     "auth_ref": [
      "r40",
      "r241"
     ],
     "calculation": {
      "http://www.univest.net/role/CondensedConsolidatedStatementsofComprehensiveIncome": {
       "order": 2.0,
       "parentTag": "us-gaap_OtherComprehensiveIncomeLossReclassificationAdjustmentFromAOCIForSaleOfSecuritiesNetOfTax",
       "weight": -1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of tax expense (benefit) of reclassification adjustment from accumulated other comprehensive income for unrealized gain (loss) realized upon the sale of available-for-sale securities.",
        "label": "Other Comprehensive Income (Loss), Reclassification Adjustment from AOCI for Sale of Securities, Tax",
        "negatedLabel": "Less: reclassification adjustment for net gains on sales realized in net income"
       }
      }
     },
     "localname": "OtherComprehensiveIncomeLossReclassificationAdjustmentFromAOCIForSaleOfSecuritiesTax",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.univest.net/role/CondensedConsolidatedStatementsofComprehensiveIncome"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_OtherComprehensiveIncomeLossReclassificationAdjustmentFromAOCIPensionAndOtherPostretirementBenefitPlansForNetGainLossBeforeTax": {
     "auth_ref": [
      "r39",
      "r43",
      "r44",
      "r397"
     ],
     "calculation": {
      "http://www.univest.net/role/CondensedConsolidatedStatementsofComprehensiveIncome": {
       "order": 1.0,
       "parentTag": "us-gaap_OtherComprehensiveIncomeLossPensionAndOtherPostretirementBenefitPlansAdjustmentBeforeTax",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount, before tax, of reclassification adjustment from accumulated other comprehensive income (loss) for gain (loss) of defined benefit plan.",
        "label": "Other Comprehensive Income (Loss), Defined Benefit Plan, Gain (Loss), Reclassification Adjustment from AOCI, before Tax",
        "negatedLabel": "Amortization of net actuarial loss included in net periodic pension costs"
       }
      }
     },
     "localname": "OtherComprehensiveIncomeLossReclassificationAdjustmentFromAOCIPensionAndOtherPostretirementBenefitPlansForNetGainLossBeforeTax",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.univest.net/role/CondensedConsolidatedStatementsofComprehensiveIncome"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_OtherComprehensiveIncomeLossReclassificationAdjustmentFromAOCIPensionAndOtherPostretirementBenefitPlansForNetGainLossNetOfTax": {
     "auth_ref": [
      "r39",
      "r43",
      "r44",
      "r397"
     ],
     "calculation": {
      "http://www.univest.net/role/CondensedConsolidatedStatementsofComprehensiveIncome": {
       "order": 1.0,
       "parentTag": "us-gaap_OtherComprehensiveIncomeLossPensionAndOtherPostretirementBenefitPlansAdjustmentNetOfTax",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount, after tax, of reclassification adjustment from accumulated other comprehensive income (loss) for gain (loss) of defined benefit plan.",
        "label": "Other Comprehensive Income (Loss), Defined Benefit Plan, Gain (Loss), Reclassification Adjustment from AOCI, after Tax",
        "negatedTotalLabel": "Amortization of net actuarial loss included in net periodic pension costs"
       }
      }
     },
     "localname": "OtherComprehensiveIncomeLossReclassificationAdjustmentFromAOCIPensionAndOtherPostretirementBenefitPlansForNetGainLossNetOfTax",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.univest.net/role/CondensedConsolidatedStatementsofComprehensiveIncome"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_OtherComprehensiveIncomeLossReclassificationAdjustmentFromAOCIPensionAndOtherPostretirementBenefitPlansForNetGainLossTax": {
     "auth_ref": [
      "r40"
     ],
     "calculation": {
      "http://www.univest.net/role/CondensedConsolidatedStatementsofComprehensiveIncome": {
       "order": 2.0,
       "parentTag": "us-gaap_OtherComprehensiveIncomeLossReclassificationAdjustmentFromAOCIPensionAndOtherPostretirementBenefitPlansForNetGainLossNetOfTax",
       "weight": -1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of tax expense (benefit) of reclassification adjustment from accumulated other comprehensive income (loss) for gain (loss) of defined benefit plan.",
        "label": "Other Comprehensive Income (Loss), Defined Benefit Plan, Gain (Loss), Reclassification Adjustment from AOCI, Tax",
        "negatedLabel": "Amortization of net actuarial loss included in net periodic pension costs"
       }
      }
     },
     "localname": "OtherComprehensiveIncomeLossReclassificationAdjustmentFromAOCIPensionAndOtherPostretirementBenefitPlansForNetGainLossTax",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.univest.net/role/CondensedConsolidatedStatementsofComprehensiveIncome"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_OtherComprehensiveIncomeLossTax": {
     "auth_ref": [
      "r40",
      "r51",
      "r60",
      "r478",
      "r482",
      "r484",
      "r555",
      "r558",
      "r561",
      "r632",
      "r680"
     ],
     "calculation": {
      "http://www.univest.net/role/CondensedConsolidatedStatementsofComprehensiveIncome": {
       "order": 2.0,
       "parentTag": "uvsp_ComprehensiveIncomeTaxExpenseBenefit",
       "weight": 1.0
      },
      "http://www.univest.net/role/CondensedConsolidatedStatementsofComprehensiveIncome_1": {
       "order": 2.0,
       "parentTag": "us-gaap_OtherComprehensiveIncomeLossNetOfTax",
       "weight": -1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of tax expense (benefit) allocated to other comprehensive income (loss).",
        "label": "Other Comprehensive Income (Loss), Tax",
        "totalLabel": "Other comprehensive income (loss), tax expense (benefit)"
       }
      }
     },
     "localname": "OtherComprehensiveIncomeLossTax",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.univest.net/role/CondensedConsolidatedStatementsofComprehensiveIncome"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_OtherComprehensiveIncomeLossTaxAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Other Comprehensive Income (Loss), Tax [Abstract]",
        "terseLabel": "Tax Expense (Benefit)"
       }
      }
     },
     "localname": "OtherComprehensiveIncomeLossTaxAbstract",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.univest.net/role/CondensedConsolidatedStatementsofComprehensiveIncome"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_OtherComprehensiveIncomeUnrealizedHoldingGainLossOnSecuritiesArisingDuringPeriodBeforeTax": {
     "auth_ref": [
      "r33",
      "r39",
      "r241"
     ],
     "calculation": {
      "http://www.univest.net/role/CondensedConsolidatedStatementsofComprehensiveIncome": {
       "order": 1.0,
       "parentTag": "us-gaap_OtherComprehensiveIncomeLossAvailableForSaleSecuritiesAdjustmentBeforeTax",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount, before tax and adjustment, of unrealized holding gain (loss) on investment in debt security measured at fair value with change in fair value recognized in other comprehensive income (available-for-sale). Excludes unrealized gain (loss) on investment in debt security measured at amortized cost (held-to-maturity) from transfer to available-for-sale.",
        "label": "OCI, Debt Securities, Available-for-Sale, Unrealized Holding Gain (Loss), before Adjustment and Tax",
        "terseLabel": "Net unrealized holding (losses) gains arising during the period"
       }
      }
     },
     "localname": "OtherComprehensiveIncomeUnrealizedHoldingGainLossOnSecuritiesArisingDuringPeriodBeforeTax",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.univest.net/role/CondensedConsolidatedStatementsofComprehensiveIncome"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_OtherComprehensiveIncomeUnrealizedHoldingGainLossOnSecuritiesArisingDuringPeriodNetOfTax": {
     "auth_ref": [
      "r33",
      "r39"
     ],
     "calculation": {
      "http://www.univest.net/role/CondensedConsolidatedStatementsofComprehensiveIncome": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      },
      "http://www.univest.net/role/CondensedConsolidatedStatementsofComprehensiveIncome_1": {
       "order": 1.0,
       "parentTag": "us-gaap_OtherComprehensiveIncomeLossAvailableForSaleSecuritiesAdjustmentNetOfTax",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount, after tax and before adjustment, of unrealized holding gain (loss) on investment in debt security measured at fair value with change in fair value recognized in other comprehensive income (available-for-sale). Excludes unrealized gain (loss) on investment in debt security measured at amortized cost (held-to-maturity) from transfer to available-for-sale.",
        "label": "OCI, Debt Securities, Available-for-Sale, Unrealized Holding Gain (Loss), before Adjustment, after Tax",
        "totalLabel": "Net unrealized holding (losses) gains arising during the period"
       }
      }
     },
     "localname": "OtherComprehensiveIncomeUnrealizedHoldingGainLossOnSecuritiesArisingDuringPeriodNetOfTax",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.univest.net/role/CondensedConsolidatedStatementsofComprehensiveIncome"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_OtherComprehensiveIncomeUnrealizedHoldingGainLossOnSecuritiesArisingDuringPeriodTax": {
     "auth_ref": [
      "r34",
      "r40"
     ],
     "calculation": {
      "http://www.univest.net/role/CondensedConsolidatedStatementsofComprehensiveIncome": {
       "order": 2.0,
       "parentTag": "us-gaap_OtherComprehensiveIncomeUnrealizedHoldingGainLossOnSecuritiesArisingDuringPeriodNetOfTax",
       "weight": -1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount, before adjustment, of tax expense (benefit) for unrealized holding gain (loss) on investment in debt security measured at fair value with change in fair value recognized in other comprehensive income (available-for-sale). Excludes tax expense (benefit) for unrealized gain (loss) on investment in debt security measured at amortized cost (held-to-maturity) from transfer to available-for-sale.",
        "label": "OCI, Debt Securities, Available-for-Sale, Unrealized Holding Gain (Loss), before Adjustment, Tax",
        "terseLabel": "Other comprehensive income (loss), securities, available-for-sale, unrealized holding gain (loss) arising during period, tax"
       }
      }
     },
     "localname": "OtherComprehensiveIncomeUnrealizedHoldingGainLossOnSecuritiesArisingDuringPeriodTax",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.univest.net/role/CondensedConsolidatedStatementsofComprehensiveIncome"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_OtherInterestAndDividendIncome": {
     "auth_ref": [
      "r645"
     ],
     "calculation": {
      "http://www.univest.net/role/CondensedConsolidatedStatementsofIncome": {
       "order": 4.0,
       "parentTag": "us-gaap_InterestAndDividendIncomeOperating",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount, after discount, accretion and premium amortization, of interest income and dividend income classified as other.",
        "label": "Other Interest and Dividend Income",
        "terseLabel": "Interest and dividends on other earning assets"
       }
      }
     },
     "localname": "OtherInterestAndDividendIncome",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.univest.net/role/CondensedConsolidatedStatementsofIncome"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_OtherLiabilitiesMember": {
     "auth_ref": [
      "r507",
      "r525"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Primary financial statement caption encompassing other liabilities.",
        "label": "Other Liabilities [Member]",
        "terseLabel": "Other Liabilities [Member]"
       }
      }
     },
     "localname": "OtherLiabilitiesMember",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.univest.net/role/DerivativeInstrumentsandHedgingActivitiesDerivativesDesignatedasHedgingInstrumentsDetails",
      "http://www.univest.net/role/DerivativeInstrumentsandHedgingActivitiesDerivativesNotDesignatedasHedgingInstrumentsDetails",
      "http://www.univest.net/role/DerivativeInstrumentsandHedgingActivitiesNarrativeDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_OtherNoncashIncomeExpense": {
     "auth_ref": [
      "r88"
     ],
     "calculation": {
      "http://www.univest.net/role/CondensedConsolidatedStatementsofCashFlows": {
       "order": 15.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": -1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of income (expense) included in net income that results in no cash inflow (outflow), classified as other.",
        "label": "Other Noncash Income (Expense)",
        "negatedLabel": "Other adjustments to reconcile net income to cash used in operating activities"
       }
      }
     },
     "localname": "OtherNoncashIncomeExpense",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.univest.net/role/CondensedConsolidatedStatementsofCashFlows"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_OtherNoninterestExpense": {
     "auth_ref": [
      "r643"
     ],
     "calculation": {
      "http://www.univest.net/role/CondensedConsolidatedStatementsofIncome": {
       "order": 9.0,
       "parentTag": "us-gaap_NoninterestExpense",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of noninterest expense classified as other.",
        "label": "Other Noninterest Expense",
        "terseLabel": "Other expense"
       }
      }
     },
     "localname": "OtherNoninterestExpense",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.univest.net/role/CondensedConsolidatedStatementsofIncome"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_OtherPostretirementBenefitPlansDefinedBenefitMember": {
     "auth_ref": [
      "r353",
      "r354",
      "r356",
      "r357",
      "r358",
      "r359",
      "r360",
      "r361",
      "r362",
      "r363",
      "r364",
      "r365",
      "r366",
      "r367",
      "r368",
      "r369",
      "r370",
      "r371",
      "r372",
      "r373",
      "r374",
      "r375",
      "r376",
      "r377",
      "r378",
      "r380",
      "r381",
      "r382",
      "r383",
      "r384",
      "r385",
      "r387",
      "r388",
      "r389",
      "r390",
      "r391",
      "r392",
      "r393",
      "r394",
      "r395",
      "r396",
      "r397",
      "r398",
      "r399",
      "r401",
      "r402",
      "r404",
      "r407",
      "r411",
      "r416",
      "r417",
      "r418",
      "r419",
      "r420",
      "r421",
      "r422",
      "r423",
      "r424",
      "r425",
      "r426",
      "r427",
      "r431",
      "r432",
      "r433",
      "r434",
      "r435",
      "r436"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Plan designed to provide other postretirement benefits. Includes, but is not limited to, defined benefit and defined contribution plans. Excludes pension benefits.",
        "label": "Other Postretirement Benefits Plan [Member]",
        "terseLabel": "Other Post Retirement Benefits [Member]"
       }
      }
     },
     "localname": "OtherPostretirementBenefitPlansDefinedBenefitMember",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.univest.net/role/RetirementPlansandOtherPostRetirementBenefitsNarrativeDetails",
      "http://www.univest.net/role/RetirementPlansandOtherPostretirementBenefitsComponentsofNetPeriodicBenefitCostIncomeDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_PassMember": {
     "auth_ref": [
      "r186",
      "r262"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "A category of financing receivables not considered to be special mention, substandard, doubtful, and loss receivables.",
        "label": "Pass [Member]",
        "terseLabel": "Pass"
       }
      }
     },
     "localname": "PassMember",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.univest.net/role/LoansandLeasesCreditQualityDetails",
      "http://www.univest.net/role/LoansandLeasesCreditQualityIndicatorsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_PastDueFinancingReceivablesTableTextBlock": {
     "auth_ref": [
      "r193",
      "r194",
      "r256",
      "r269"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Tabular disclosure of aging analysis for financing receivable.",
        "label": "Financing Receivable, Past Due [Table Text Block]",
        "terseLabel": "Schedule of Age Analysis of Past Due Loans and Leases"
       }
      }
     },
     "localname": "PastDueFinancingReceivablesTableTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.univest.net/role/LoansandLeasesTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_PaymentForContingentConsiderationLiabilityFinancingActivities": {
     "auth_ref": [
      "r78"
     ],
     "calculation": {
      "http://www.univest.net/role/CondensedConsolidatedStatementsofCashFlows": {
       "order": 5.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInFinancingActivities",
       "weight": -1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of cash outflow, not made soon after acquisition date of business combination, to settle contingent consideration liability up to amount recognized at acquisition date, including, but not limited to, measurement period adjustment and less amount paid soon after acquisition date.",
        "label": "Payment for Contingent Consideration Liability, Financing Activities",
        "negatedTerseLabel": "Payment of contingent consideration on acquisitions"
       }
      }
     },
     "localname": "PaymentForContingentConsiderationLiabilityFinancingActivities",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.univest.net/role/CondensedConsolidatedStatementsofCashFlows"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_PaymentsForOriginationAndPurchasesOfLoansHeldForSale": {
     "auth_ref": [
      "r81"
     ],
     "calculation": {
      "http://www.univest.net/role/CondensedConsolidatedStatementsofCashFlows": {
       "order": 6.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": -1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The aggregate amount of cash outflow for loans purchased and created with the intention to resell them in the near future.",
        "label": "Payments for Origination and Purchases of Loans Held-for-sale",
        "negatedLabel": "Originations of loans held for sale"
       }
      }
     },
     "localname": "PaymentsForOriginationAndPurchasesOfLoansHeldForSale",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.univest.net/role/CondensedConsolidatedStatementsofCashFlows"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_PaymentsForRepurchaseOfCommonStock": {
     "auth_ref": [
      "r76"
     ],
     "calculation": {
      "http://www.univest.net/role/CondensedConsolidatedStatementsofCashFlows": {
       "order": 6.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInFinancingActivities",
       "weight": -1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The cash outflow to reacquire common stock during the period.",
        "label": "Payments for Repurchase of Common Stock",
        "negatedLabel": "Purchases of treasury stock"
       }
      }
     },
     "localname": "PaymentsForRepurchaseOfCommonStock",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.univest.net/role/CondensedConsolidatedStatementsofCashFlows"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_PaymentsOfDividendsCommonStock": {
     "auth_ref": [
      "r76"
     ],
     "calculation": {
      "http://www.univest.net/role/CondensedConsolidatedStatementsofCashFlows": {
       "order": 4.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInFinancingActivities",
       "weight": -1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of cash outflow in the form of ordinary dividends to common shareholders of the parent entity.",
        "label": "Payments of Ordinary Dividends, Common Stock",
        "negatedLabel": "Cash dividends paid"
       }
      }
     },
     "localname": "PaymentsOfDividendsCommonStock",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.univest.net/role/CondensedConsolidatedStatementsofCashFlows"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_PaymentsRelatedToTaxWithholdingForShareBasedCompensation": {
     "auth_ref": [
      "r76"
     ],
     "calculation": {
      "http://www.univest.net/role/CondensedConsolidatedStatementsofCashFlows": {
       "order": 8.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInFinancingActivities",
       "weight": -1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of cash outflow to satisfy grantee's tax withholding obligation for award under share-based payment arrangement.",
        "label": "Payment, Tax Withholding, Share-based Payment Arrangement",
        "negatedTerseLabel": "Payment, Tax Withholding, Share-based Payment Arrangement"
       }
      }
     },
     "localname": "PaymentsRelatedToTaxWithholdingForShareBasedCompensation",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.univest.net/role/CondensedConsolidatedStatementsofCashFlows"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_PaymentsToAcquireAvailableForSaleSecuritiesDebt": {
     "auth_ref": [
      "r69",
      "r72",
      "r201"
     ],
     "calculation": {
      "http://www.univest.net/role/CondensedConsolidatedStatementsofCashFlows": {
       "order": 11.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInInvestingActivities",
       "weight": -1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of cash outflow to acquire investment in debt security measured at fair value with change in fair value recognized in other comprehensive income (available-for-sale).",
        "label": "Payments to Acquire Debt Securities, Available-for-sale",
        "negatedLabel": "Purchases of investment securities available-for-sale"
       }
      }
     },
     "localname": "PaymentsToAcquireAvailableForSaleSecuritiesDebt",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.univest.net/role/CondensedConsolidatedStatementsofCashFlows"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_PaymentsToAcquireHeldToMaturitySecurities": {
     "auth_ref": [
      "r72",
      "r201"
     ],
     "calculation": {
      "http://www.univest.net/role/CondensedConsolidatedStatementsofCashFlows": {
       "order": 5.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInInvestingActivities",
       "weight": -1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of cash outflow through purchase of long-term held-to-maturity securities.",
        "label": "Payments to Acquire Held-to-maturity Securities",
        "negatedTerseLabel": "Purchases of investment securities held-to-maturity"
       }
      }
     },
     "localname": "PaymentsToAcquireHeldToMaturitySecurities",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.univest.net/role/CondensedConsolidatedStatementsofCashFlows"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_PaymentsToAcquireProductiveAssets": {
     "auth_ref": [
      "r73",
      "r490",
      "r491",
      "r492"
     ],
     "calculation": {
      "http://www.univest.net/role/CondensedConsolidatedStatementsofCashFlows": {
       "order": 10.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInInvestingActivities",
       "weight": -1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The cash outflow for purchases of and capital improvements on property, plant and equipment (capital expenditures), software, and other intangible assets.",
        "label": "Payments to Acquire Productive Assets",
        "negatedLabel": "Purchases of premises and equipment"
       }
      }
     },
     "localname": "PaymentsToAcquireProductiveAssets",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.univest.net/role/CondensedConsolidatedStatementsofCashFlows"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_PaymentsToAcquireTradingSecuritiesHeldforinvestment": {
     "auth_ref": [
      "r74"
     ],
     "calculation": {
      "http://www.univest.net/role/CondensedConsolidatedStatementsofCashFlows": {
       "order": 7.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInInvestingActivities",
       "weight": -1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The cash outflow to acquire securities classified as trading securities and held for investment purposes. Excludes payments for trading securities purchased and held principally for the purpose of selling them in the near term (thus held for only a short period of time).",
        "label": "Payments to Acquire Trading Securities Held-for-investment",
        "negatedLabel": "Purchases of money market mutual funds"
       }
      }
     },
     "localname": "PaymentsToAcquireTradingSecuritiesHeldforinvestment",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.univest.net/role/CondensedConsolidatedStatementsofCashFlows"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_PensionAndOtherPostretirementBenefitContributions": {
     "auth_ref": [
      "r84"
     ],
     "calculation": {
      "http://www.univest.net/role/CondensedConsolidatedStatementsofCashFlows": {
       "order": 11.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": -1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of cash outflow for pension and other postretirement benefits. Includes, but is not limited to, employer contribution to fund plan asset and payment to retiree.",
        "label": "Payment for Pension and Other Postretirement Benefits",
        "negatedLabel": "Contributions to pension and other postretirement benefit plans"
       }
      }
     },
     "localname": "PensionAndOtherPostretirementBenefitContributions",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.univest.net/role/CondensedConsolidatedStatementsofCashFlows"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_PensionAndOtherPostretirementBenefitsDisclosureTextBlock": {
     "auth_ref": [
      "r377",
      "r379",
      "r385",
      "r403",
      "r405",
      "r406",
      "r407",
      "r408",
      "r409",
      "r426",
      "r428",
      "r429",
      "r431",
      "r443"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The entire disclosure for retirement benefits.",
        "label": "Retirement Benefits [Text Block]",
        "terseLabel": "Retirement Plans and Other Postretirement Benefits"
       }
      }
     },
     "localname": "PensionAndOtherPostretirementBenefitsDisclosureTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.univest.net/role/RetirementPlansandOtherPostretirementBenefits"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_PensionPlansDefinedBenefitMember": {
     "auth_ref": [
      "r352",
      "r354",
      "r356",
      "r357",
      "r358",
      "r359",
      "r360",
      "r361",
      "r362",
      "r363",
      "r364",
      "r365",
      "r366",
      "r367",
      "r368",
      "r369",
      "r370",
      "r371",
      "r372",
      "r373",
      "r374",
      "r375",
      "r376",
      "r377",
      "r378",
      "r380",
      "r381",
      "r382",
      "r383",
      "r384",
      "r385",
      "r386",
      "r387",
      "r388",
      "r389",
      "r390",
      "r391",
      "r392",
      "r393",
      "r394",
      "r395",
      "r396",
      "r397",
      "r398",
      "r399",
      "r401",
      "r402",
      "r404",
      "r407",
      "r411",
      "r416",
      "r417",
      "r418",
      "r419",
      "r420",
      "r421",
      "r422",
      "r423",
      "r424",
      "r425",
      "r426",
      "r427",
      "r431",
      "r432",
      "r438",
      "r439",
      "r440",
      "r441"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Plan designed to provide participant with pension benefits. Includes, but is not limited to, defined benefit and defined contribution plans. Excludes other postretirement benefits.",
        "label": "Pension Plan [Member]",
        "terseLabel": "Retirement Plans [Member]"
       }
      }
     },
     "localname": "PensionPlansDefinedBenefitMember",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.univest.net/role/RetirementPlansandOtherPostRetirementBenefitsNarrativeDetails",
      "http://www.univest.net/role/RetirementPlansandOtherPostretirementBenefitsComponentsofNetPeriodicBenefitCostIncomeDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_PerformingFinancingReceivableMember": {
     "auth_ref": [
      "r186",
      "r262"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Category status of financial instruments in which payments are received or paid on a timely basis in accordance with the terms of the contract. Financial instruments include, but are not limited to, financing receivables, loans, debt instruments, and investments.",
        "label": "Performing Financial Instruments [Member]",
        "terseLabel": "Performing Financial Instruments [Member]"
       }
      }
     },
     "localname": "PerformingFinancingReceivableMember",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.univest.net/role/LoansandLeasesCreditQualityDetails",
      "http://www.univest.net/role/LoansandLeasesCreditQualityIndicatorsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_PortionAtFairValueFairValueDisclosureMember": {
     "auth_ref": [
      "r549"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Measured at fair value for financial reporting purposes.",
        "label": "Portion at Fair Value Measurement [Member]",
        "terseLabel": "Portion at Fair Value Measurement [Member]"
       }
      }
     },
     "localname": "PortionAtFairValueFairValueDisclosureMember",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.univest.net/role/FairValueDisclosuresAssetsLiabilitiesandOffbalanceSheetItemsNotMeasuredatFairValueDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_ProceedsFromMaturitiesPrepaymentsAndCallsOfAvailableForSaleSecurities": {
     "auth_ref": [
      "r69",
      "r70",
      "r201"
     ],
     "calculation": {
      "http://www.univest.net/role/CondensedConsolidatedStatementsofCashFlows": {
       "order": 1.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInInvestingActivities",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of cash inflow from maturity, prepayment and call of investment in debt security measured at fair value with change in fair value recognized in other comprehensive income (available-for-sale).",
        "label": "Proceeds from Maturities, Prepayments and Calls of Debt Securities, Available-for-sale",
        "terseLabel": "Proceeds from maturities, calls and principal repayments of securities available-for-sale"
       }
      }
     },
     "localname": "ProceedsFromMaturitiesPrepaymentsAndCallsOfAvailableForSaleSecurities",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.univest.net/role/CondensedConsolidatedStatementsofCashFlows"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_ProceedsFromMaturitiesPrepaymentsAndCallsOfHeldToMaturitySecurities": {
     "auth_ref": [
      "r70",
      "r201"
     ],
     "calculation": {
      "http://www.univest.net/role/CondensedConsolidatedStatementsofCashFlows": {
       "order": 4.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInInvestingActivities",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The cash inflow associated with the maturity, prepayments and calls (requests for early payments) of debt securities designated as held-to-maturity.",
        "label": "Proceeds from Maturities, Prepayments and Calls of Held-to-maturity Securities",
        "terseLabel": "Proceeds from maturities, calls and principal repayments of securities held-to-maturity"
       }
      }
     },
     "localname": "ProceedsFromMaturitiesPrepaymentsAndCallsOfHeldToMaturitySecurities",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.univest.net/role/CondensedConsolidatedStatementsofCashFlows"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_ProceedsFromRepaymentsOfShortTermDebt": {
     "auth_ref": [],
     "calculation": {
      "http://www.univest.net/role/CondensedConsolidatedStatementsofCashFlows": {
       "order": 7.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInFinancingActivities",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The net cash inflow or outflow for borrowing having initial term of repayment within one year or the normal operating cycle, if longer.",
        "label": "Proceeds from (Repayments of) Short-term Debt",
        "terseLabel": "Net (decrease) increase in short-term borrowings"
       }
      }
     },
     "localname": "ProceedsFromRepaymentsOfShortTermDebt",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.univest.net/role/CondensedConsolidatedStatementsofCashFlows"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_ProceedsFromSaleOfAvailableForSaleSecuritiesDebt": {
     "auth_ref": [
      "r69",
      "r70",
      "r201"
     ],
     "calculation": {
      "http://www.univest.net/role/CondensedConsolidatedStatementsofCashFlows": {
       "order": 2.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInInvestingActivities",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of cash inflow from sale of investment in debt security measured at fair value with change in fair value recognized in other comprehensive income (available-for-sale).",
        "label": "Proceeds from Sale of Debt Securities, Available-for-sale",
        "terseLabel": "Proceeds from sales",
        "verboseLabel": "Proceeds from sales of securities available-for-sale"
       }
      }
     },
     "localname": "ProceedsFromSaleOfAvailableForSaleSecuritiesDebt",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.univest.net/role/CondensedConsolidatedStatementsofCashFlows",
      "http://www.univest.net/role/InvestmentSecuritiesInformationRelatedtoSalesofSecuritiesAvailableforSaleDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_ProceedsFromSaleOfLoansHeldForSale": {
     "auth_ref": [
      "r79",
      "r81"
     ],
     "calculation": {
      "http://www.univest.net/role/CondensedConsolidatedStatementsofCashFlows": {
       "order": 9.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The cash inflow resulting from the sale of loans classified as held-for-sale, including proceeds from loans sold through mortgage securitization.",
        "label": "Proceeds from Sale of Loans Held-for-sale",
        "terseLabel": "Proceeds from the sale of loans held for sale"
       }
      }
     },
     "localname": "ProceedsFromSaleOfLoansHeldForSale",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.univest.net/role/CondensedConsolidatedStatementsofCashFlows"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_ProceedsFromSaleOfPropertyPlantAndEquipment": {
     "auth_ref": [
      "r71"
     ],
     "calculation": {
      "http://www.univest.net/role/CondensedConsolidatedStatementsofCashFlows": {
       "order": 3.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInInvestingActivities",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The cash inflow from the sale of long-lived, physical assets that are used in the normal conduct of business to produce goods and services and not intended for resale.",
        "label": "Proceeds from Sale of Property, Plant, and Equipment",
        "terseLabel": "Proceeds from sale of premises and equipment"
       }
      }
     },
     "localname": "ProceedsFromSaleOfPropertyPlantAndEquipment",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.univest.net/role/CondensedConsolidatedStatementsofCashFlows"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_ProceedsFromSaleOfTradingSecuritiesHeldforinvestment": {
     "auth_ref": [],
     "calculation": {
      "http://www.univest.net/role/CondensedConsolidatedStatementsofCashFlows": {
       "order": 8.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInInvestingActivities",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The cash inflow associated with the sale of securities classified as trading securities and held for investment purposes. Excludes proceeds from trading securities purchased and held principally for the purpose of selling them in the near term (thus held for only a short period of time).",
        "label": "Proceeds from Sale of Debt and Equity Securities, FV-NI, Held-for-investment",
        "terseLabel": "Proceeds from sales of money market mutual funds"
       }
      }
     },
     "localname": "ProceedsFromSaleOfTradingSecuritiesHeldforinvestment",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.univest.net/role/CondensedConsolidatedStatementsofCashFlows"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_ProceedsFromStockOptionsExercised": {
     "auth_ref": [
      "r75",
      "r469"
     ],
     "calculation": {
      "http://www.univest.net/role/CondensedConsolidatedStatementsofCashFlows": {
       "order": 3.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInFinancingActivities",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of cash inflow from exercise of option under share-based payment arrangement.",
        "label": "Proceeds from Stock Options Exercised",
        "terseLabel": "Proceeds from exercise of stock options"
       }
      }
     },
     "localname": "ProceedsFromStockOptionsExercised",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.univest.net/role/CondensedConsolidatedStatementsofCashFlows"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_ProfessionalFees": {
     "auth_ref": [
      "r699",
      "r700"
     ],
     "calculation": {
      "http://www.univest.net/role/CondensedConsolidatedStatementsofIncome": {
       "order": 5.0,
       "parentTag": "us-gaap_NoninterestExpense",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "A fee charged for services from professionals such as doctors, lawyers and accountants. The term is often expanded to include other professions, for example, pharmacists charging to maintain a medicinal profile of a client or customer.",
        "label": "Professional Fees",
        "terseLabel": "Professional fees"
       }
      }
     },
     "localname": "ProfessionalFees",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.univest.net/role/CondensedConsolidatedStatementsofIncome"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_PropertyPlantAndEquipmentAdditions": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of acquisition of long-lived, physical assets used in the normal conduct of business and not intended for resale. Examples include, but are not limited to, land, buildings, machinery and equipment, office equipment, furniture and fixtures, and computer equipment.",
        "label": "Property, Plant and Equipment, Additions",
        "negatedTerseLabel": "Net capital expenditures"
       }
      }
     },
     "localname": "PropertyPlantAndEquipmentAdditions",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.univest.net/role/SegmentReportingScheduleofSegmentReportingDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_PropertyPlantAndEquipmentNet": {
     "auth_ref": [
      "r4",
      "r5",
      "r295",
      "r571",
      "r664",
      "r677"
     ],
     "calculation": {
      "http://www.univest.net/role/CondensedConsolidatedBalanceSheets": {
       "order": 6.0,
       "parentTag": "us-gaap_Assets",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount after accumulated depreciation, depletion and amortization of physical assets used in the normal conduct of business to produce goods and services and not intended for resale. Examples include, but are not limited to, land, buildings, machinery and equipment, office equipment, and furniture and fixtures.",
        "label": "Property, Plant and Equipment, Net",
        "terseLabel": "Premises and equipment, net"
       }
      }
     },
     "localname": "PropertyPlantAndEquipmentNet",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.univest.net/role/CondensedConsolidatedBalanceSheets"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_ProvisionForLoanAndLeaseLosses": {
     "auth_ref": [
      "r86",
      "r178",
      "r638"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of expense related to estimated loss from loan and lease transactions.",
        "label": "Provision for Loan and Lease Losses",
        "negatedTerseLabel": "Provision (reversal of provision) for loan and lease losses"
       }
      }
     },
     "localname": "ProvisionForLoanAndLeaseLosses",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.univest.net/role/LoansandLeasesAllowanceforCreditLossesLoansandLeasesRollForwardDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_ProvisionForLoanLeaseAndOtherLosses": {
     "auth_ref": [
      "r86",
      "r178",
      "r638"
     ],
     "calculation": {
      "http://www.univest.net/role/CondensedConsolidatedStatementsofCashFlows": {
       "order": 13.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": 1.0
      },
      "http://www.univest.net/role/CondensedConsolidatedStatementsofIncome": {
       "order": 2.0,
       "parentTag": "us-gaap_InterestIncomeExpenseAfterProvisionForLoanLoss",
       "weight": -1.0
      },
      "http://www.univest.net/role/SegmentReportingScheduleofSegmentReportingDetails": {
       "order": 4.0,
       "parentTag": "us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest",
       "weight": -1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of expense related loan transactions, lease transactions, credit loss from transactions other than loan and lease transactions, and other loss based on assessment of uncollectability from the counterparty to reduce the account to their net realizable value.",
        "label": "Provision for Loan, Lease, and Other Losses",
        "terseLabel": "Reversal of provision for credit losses",
        "verboseLabel": "Provision (reversal of provision) for credit losses"
       }
      }
     },
     "localname": "ProvisionForLoanLeaseAndOtherLosses",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.univest.net/role/CondensedConsolidatedStatementsofCashFlows",
      "http://www.univest.net/role/CondensedConsolidatedStatementsofIncome",
      "http://www.univest.net/role/SegmentReportingScheduleofSegmentReportingDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_RealEstateMember": {
     "auth_ref": [
      "r345"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Property consisting of land, land improvement and buildings.",
        "label": "Real Estate [Member]",
        "terseLabel": "Real Estate"
       }
      }
     },
     "localname": "RealEstateMember",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.univest.net/role/LoansandLeasesCollateralDependentLoansDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_ReceivablesAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Receivables [Abstract]"
       }
      }
     },
     "localname": "ReceivablesAbstract",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "xbrltype": "stringItemType"
    },
    "us-gaap_ReclassificationFromAccumulatedOtherComprehensiveIncomeCurrentPeriodNetOfTaxAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "A roll forward is a reconciliation of a concept from the beginning of a period to the end of a period.",
        "label": "AOCI Including Portion Attributable to Noncontrolling Interest, Net of Tax [Roll Forward]",
        "terseLabel": "Reclassification from Accumulated Other Comprehensive Income, Current Period, Net of Tax [Abstract]"
       }
      }
     },
     "localname": "ReclassificationFromAccumulatedOtherComprehensiveIncomeCurrentPeriodNetOfTaxAbstract",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.univest.net/role/AccumulatedOtherComprehensiveLossIncomeComponentsofAccumulatedOtherComprehensiveLossIncomeNetofTaxesDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_ReclassificationFromAociCurrentPeriodBeforeTaxAttributableToParent": {
     "auth_ref": [
      "r42"
     ],
     "calculation": {
      "http://www.univest.net/role/CondensedConsolidatedStatementsofComprehensiveIncome": {
       "order": 1.0,
       "parentTag": "us-gaap_ReclassificationFromAociCurrentPeriodNetOfTaxAttributableToParent",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount before tax of reclassification adjustments of other comprehensive income (loss) attributable to parent.",
        "label": "Reclassification from AOCI, Current Period, before Tax, Attributable to Parent",
        "negatedTerseLabel": "Less: reclassification adjustment for net losses realized in net income (2)"
       }
      }
     },
     "localname": "ReclassificationFromAociCurrentPeriodBeforeTaxAttributableToParent",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.univest.net/role/CondensedConsolidatedStatementsofComprehensiveIncome"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_ReclassificationFromAociCurrentPeriodNetOfTaxAttributableToParent": {
     "auth_ref": [
      "r42",
      "r54"
     ],
     "calculation": {
      "http://www.univest.net/role/CondensedConsolidatedStatementsofComprehensiveIncome": {
       "order": 2.0,
       "parentTag": "us-gaap_OtherComprehensiveIncomeLossCashFlowHedgeGainLossAfterReclassificationAndTax",
       "weight": -1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount after tax of reclassification adjustments of other comprehensive income (loss) attributable to parent.",
        "label": "Reclassification from AOCI, Current Period, Net of Tax, Attributable to Parent",
        "negatedTotalLabel": "Less: reclassification adjustment for net losses realized in net income (2)"
       }
      }
     },
     "localname": "ReclassificationFromAociCurrentPeriodNetOfTaxAttributableToParent",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.univest.net/role/CondensedConsolidatedStatementsofComprehensiveIncome"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_ReclassificationFromAociCurrentPeriodTax": {
     "auth_ref": [
      "r40",
      "r44",
      "r51"
     ],
     "calculation": {
      "http://www.univest.net/role/CondensedConsolidatedStatementsofComprehensiveIncome": {
       "order": 2.0,
       "parentTag": "us-gaap_ReclassificationFromAociCurrentPeriodNetOfTaxAttributableToParent",
       "weight": -1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of tax expense (benefit) of reclassification adjustment from accumulated other comprehensive income (loss).",
        "label": "Reclassification from AOCI, Current Period, Tax",
        "negatedTerseLabel": "Less: reclassification adjustment for net losses realized in net income (2)"
       }
      }
     },
     "localname": "ReclassificationFromAociCurrentPeriodTax",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.univest.net/role/CondensedConsolidatedStatementsofComprehensiveIncome"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_RepaymentsOfOtherLongTermDebt": {
     "auth_ref": [
      "r77"
     ],
     "calculation": {
      "http://www.univest.net/role/CondensedConsolidatedStatementsofCashFlows": {
       "order": 2.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInFinancingActivities",
       "weight": -1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of cash outflow for the payment of debt classified as other, maturing after one year or the operating cycle, if longer.",
        "label": "Repayments of Other Long-term Debt",
        "negatedTerseLabel": "Repayment of long-term debt"
       }
      }
     },
     "localname": "RepaymentsOfOtherLongTermDebt",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.univest.net/role/CondensedConsolidatedStatementsofCashFlows"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_ResidentialMortgageBackedSecuritiesMember": {
     "auth_ref": [
      "r202",
      "r378"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Securities collateralized by residential real estate mortgage loans.",
        "label": "Residential Mortgage Backed Securities [Member]",
        "terseLabel": "Residential Mortgage-Backed Securities [Member]"
       }
      }
     },
     "localname": "ResidentialMortgageBackedSecuritiesMember",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.univest.net/role/FairValueDisclosuresAssetsandLiabilitiesMeasuredatFairValueonRecurringBasisDetails",
      "http://www.univest.net/role/InvestmentSecuritiesAmountofSecuritiesinUnrealizedLossPositionDetail",
      "http://www.univest.net/role/InvestmentSecuritiesHeldtoMaturityandAvailableforSaleScheduledMaturitiesDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_RestrictedInvestments": {
     "auth_ref": [
      "r707",
      "r708"
     ],
     "calculation": {
      "http://www.univest.net/role/CondensedConsolidatedBalanceSheets": {
       "order": 3.0,
       "parentTag": "us-gaap_Assets",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Investments which are not defined as or included in marketable (debt, equity, or other) securities whose use is restricted in whole or in part, generally by contractual agreements or regulatory requirements. For use in an unclassified balance sheet.",
        "label": "Restricted Investments",
        "terseLabel": "Federal Home Loan Bank, Federal Reserve Bank and other stock, at cost"
       }
      }
     },
     "localname": "RestrictedInvestments",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.univest.net/role/CondensedConsolidatedBalanceSheets"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_RestrictedStockUnitsRSUMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Share instrument which is convertible to stock or an equivalent amount of cash, after a specified period of time or when specified performance conditions are met.",
        "label": "Restricted Stock Units (RSUs) [Member]",
        "terseLabel": "Restricted Stock Units (RSUs) [Member]"
       }
      }
     },
     "localname": "RestrictedStockUnitsRSUMember",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.univest.net/role/StockBasedIncentivePlanCertainInformationRegardingRestrictedStockUnitsDetail",
      "http://www.univest.net/role/StockBasedIncentivePlanCompensationExpenseRelatedtoStockIncentivePlansRecognizedDetail",
      "http://www.univest.net/role/StockBasedIncentivePlanScheduleofUnrecognizedCompensationCostNonvestedUnitsDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_RetainedEarningsAccumulatedDeficit": {
     "auth_ref": [
      "r14",
      "r340",
      "r473",
      "r571",
      "r675",
      "r695",
      "r697"
     ],
     "calculation": {
      "http://www.univest.net/role/CondensedConsolidatedBalanceSheets": {
       "order": 3.0,
       "parentTag": "us-gaap_StockholdersEquity",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The cumulative amount of the reporting entity's undistributed earnings or deficit.",
        "label": "Retained Earnings (Accumulated Deficit)",
        "terseLabel": "Retained earnings"
       }
      }
     },
     "localname": "RetainedEarningsAccumulatedDeficit",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.univest.net/role/CondensedConsolidatedBalanceSheets"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_RetainedEarningsMember": {
     "auth_ref": [
      "r0",
      "r102",
      "r103",
      "r104",
      "r106",
      "r112",
      "r114",
      "r248",
      "r470",
      "r471",
      "r472",
      "r479",
      "r480",
      "r530",
      "r692",
      "r694"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The cumulative amount of the reporting entity's undistributed earnings or deficit.",
        "label": "Retained Earnings [Member]",
        "terseLabel": "Retained Earnings [Member]"
       }
      }
     },
     "localname": "RetainedEarningsMember",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.univest.net/role/CondensedConsolidatedStatementsofChangesinShareholdersEquity"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_RetirementPlanTaxStatusAxis": {
     "auth_ref": [
      "r356",
      "r357",
      "r358",
      "r359",
      "r360",
      "r361",
      "r362",
      "r363",
      "r364",
      "r365",
      "r366",
      "r367",
      "r368",
      "r369",
      "r370",
      "r371",
      "r372",
      "r373",
      "r374",
      "r375",
      "r376",
      "r377",
      "r378",
      "r380",
      "r381",
      "r382",
      "r383",
      "r384",
      "r385",
      "r386",
      "r387",
      "r388",
      "r389",
      "r390",
      "r391",
      "r392",
      "r393",
      "r394",
      "r395",
      "r396",
      "r397",
      "r398",
      "r399",
      "r400",
      "r401",
      "r402",
      "r404",
      "r407",
      "r411",
      "r412",
      "r413",
      "r416",
      "r417",
      "r418",
      "r419",
      "r420",
      "r421",
      "r422",
      "r423",
      "r424",
      "r425"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Information by tax status of plan designed to provide retirement benefits. Includes, but is not limited to, defined benefit and defined contribution plans.",
        "label": "Retirement Plan Tax Status [Axis]",
        "terseLabel": "Retirement Plan Tax Status [Axis]"
       }
      }
     },
     "localname": "RetirementPlanTaxStatusAxis",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.univest.net/role/RetirementPlansandOtherPostRetirementBenefitsNarrativeDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_RetirementPlanTaxStatusDomain": {
     "auth_ref": [
      "r356",
      "r357",
      "r358",
      "r359",
      "r360",
      "r361",
      "r362",
      "r363",
      "r364",
      "r365",
      "r366",
      "r367",
      "r368",
      "r369",
      "r370",
      "r371",
      "r372",
      "r373",
      "r374",
      "r375",
      "r376",
      "r377",
      "r378",
      "r380",
      "r381",
      "r382",
      "r383",
      "r384",
      "r385",
      "r386",
      "r387",
      "r388",
      "r389",
      "r390",
      "r391",
      "r392",
      "r393",
      "r394",
      "r395",
      "r396",
      "r397",
      "r398",
      "r399",
      "r400",
      "r401",
      "r402",
      "r404",
      "r407",
      "r411",
      "r412",
      "r413",
      "r416",
      "r417",
      "r418",
      "r419",
      "r420",
      "r421",
      "r422",
      "r423",
      "r424",
      "r425"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Tax status of plan designed to provide retirement benefits. Includes, but is not limited to, defined benefit and defined contribution plans.",
        "label": "Retirement Plan Tax Status [Domain]",
        "terseLabel": "Retirement Plan Tax Status [Domain]"
       }
      }
     },
     "localname": "RetirementPlanTaxStatusDomain",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.univest.net/role/RetirementPlansandOtherPostRetirementBenefitsNarrativeDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_RetirementPlanTypeAxis": {
     "auth_ref": [
      "r352",
      "r353",
      "r354",
      "r356",
      "r357",
      "r358",
      "r359",
      "r360",
      "r361",
      "r362",
      "r363",
      "r364",
      "r365",
      "r366",
      "r367",
      "r368",
      "r369",
      "r370",
      "r371",
      "r372",
      "r373",
      "r374",
      "r375",
      "r376",
      "r377",
      "r378",
      "r380",
      "r381",
      "r382",
      "r383",
      "r384",
      "r385",
      "r386",
      "r387",
      "r388",
      "r389",
      "r390",
      "r391",
      "r392",
      "r393",
      "r394",
      "r395",
      "r396",
      "r397",
      "r398",
      "r399",
      "r401",
      "r402",
      "r404",
      "r407",
      "r411",
      "r416",
      "r417",
      "r418",
      "r419",
      "r420",
      "r421",
      "r422",
      "r423",
      "r424",
      "r425",
      "r426",
      "r427",
      "r431",
      "r432",
      "r433",
      "r434",
      "r435",
      "r436",
      "r438",
      "r439",
      "r440",
      "r441"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Information by type of retirement benefit plan. Includes, but is not limited to, retirement benefit arrangement for defined benefit pension and other postretirement plans, retirement benefit arrangement for defined contribution pension and other postretirement plans, and special and contractual termination benefits payable upon retirement.",
        "label": "Retirement Plan Type [Axis]",
        "terseLabel": "Retirement Plan Type [Axis]"
       }
      }
     },
     "localname": "RetirementPlanTypeAxis",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.univest.net/role/RetirementPlansandOtherPostRetirementBenefitsNarrativeDetails",
      "http://www.univest.net/role/RetirementPlansandOtherPostretirementBenefitsComponentsofNetPeriodicBenefitCostIncomeDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_RetirementPlanTypeDomain": {
     "auth_ref": [
      "r352",
      "r353",
      "r354",
      "r356",
      "r357",
      "r358",
      "r359",
      "r360",
      "r361",
      "r362",
      "r363",
      "r364",
      "r365",
      "r366",
      "r367",
      "r368",
      "r369",
      "r370",
      "r371",
      "r372",
      "r373",
      "r374",
      "r375",
      "r376",
      "r377",
      "r378",
      "r380",
      "r381",
      "r382",
      "r383",
      "r384",
      "r385",
      "r386",
      "r387",
      "r388",
      "r389",
      "r390",
      "r391",
      "r392",
      "r393",
      "r394",
      "r395",
      "r396",
      "r397",
      "r398",
      "r399",
      "r401",
      "r402",
      "r404",
      "r407",
      "r411",
      "r416",
      "r417",
      "r418",
      "r419",
      "r420",
      "r421",
      "r422",
      "r423",
      "r424",
      "r425",
      "r426",
      "r427",
      "r431",
      "r432",
      "r433",
      "r434",
      "r435",
      "r436",
      "r438",
      "r439",
      "r440",
      "r441"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Type of plan designed to provide participants with retirement benefits. Includes, but is not limited to, retirement benefit arrangement for defined benefit pension and other postretirement plans, retirement benefit arrangement for defined contribution pension and other postretirement plans, and special and contractual termination benefits payable upon retirement.",
        "label": "Retirement Plan Type [Domain]",
        "terseLabel": "Retirement Plan Type [Domain]"
       }
      }
     },
     "localname": "RetirementPlanTypeDomain",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.univest.net/role/RetirementPlansandOtherPostRetirementBenefitsNarrativeDetails",
      "http://www.univest.net/role/RetirementPlansandOtherPostretirementBenefitsComponentsofNetPeriodicBenefitCostIncomeDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_RevenueFromContractWithCustomerIncludingAssessedTax": {
     "auth_ref": [
      "r144",
      "r145",
      "r158",
      "r164",
      "r165",
      "r171",
      "r172",
      "r174",
      "r343",
      "r344",
      "r606"
     ],
     "calculation": {
      "http://www.univest.net/role/CondensedConsolidatedStatementsofIncome": {
       "order": 3.0,
       "parentTag": "us-gaap_NoninterestIncome",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount, including tax collected from customer, of revenue from satisfaction of performance obligation by transferring promised good or service to customer. Tax collected from customer is tax assessed by governmental authority that is both imposed on and concurrent with specific revenue-producing transaction, including, but not limited to, sales, use, value-added and excise.",
        "label": "Revenue from Contract with Customer, Including Assessed Tax",
        "terseLabel": "Noninterest income"
       }
      }
     },
     "localname": "RevenueFromContractWithCustomerIncludingAssessedTax",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.univest.net/role/CondensedConsolidatedStatementsofIncome"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_Revenues": {
     "auth_ref": [
      "r57",
      "r98",
      "r144",
      "r145",
      "r158",
      "r164",
      "r165",
      "r171",
      "r172",
      "r174",
      "r247",
      "r306",
      "r307",
      "r308",
      "r310",
      "r311",
      "r312",
      "r313",
      "r314",
      "r315",
      "r316",
      "r553",
      "r651"
     ],
     "calculation": {
      "http://www.univest.net/role/SegmentReportingScheduleofSegmentReportingDetails": {
       "order": 2.0,
       "parentTag": "us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of revenue recognized from goods sold, services rendered, insurance premiums, or other activities that constitute an earning process. Includes, but is not limited to, investment and interest income before deduction of interest expense when recognized as a component of revenue, and sales and trading gain (loss).",
        "label": "Revenues",
        "negatedTerseLabel": "Intersegment (revenues) expense"
       }
      }
     },
     "localname": "Revenues",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.univest.net/role/SegmentReportingScheduleofSegmentReportingDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_ScheduleOfAccountsNotesLoansAndFinancingReceivableTable": {
     "auth_ref": [
      "r27"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Schedule itemizing specific types of trade accounts and notes receivable, and for each the gross carrying value, allowance, and net carrying value as of the balance sheet date. Presentation is categorized by current, noncurrent and unclassified receivables.",
        "label": "Schedule of Accounts, Notes, Loans and Financing Receivable [Table]",
        "terseLabel": "Schedule of Accounts, Notes, Loans and Financing Receivable"
       }
      }
     },
     "localname": "ScheduleOfAccountsNotesLoansAndFinancingReceivableTable",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.univest.net/role/LoansandLeasesAgeAnalysisofPastDueLoansandLeasesDetails",
      "http://www.univest.net/role/LoansandLeasesSummaryofMajorLoanandLeaseCategoriesDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_ScheduleOfAccumulatedOtherComprehensiveIncomeLossTableTextBlock": {
     "auth_ref": [
      "r42",
      "r560",
      "r561"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Tabular disclosure of the components of accumulated other comprehensive income (loss).",
        "label": "Schedule of Accumulated Other Comprehensive Income (Loss) [Table Text Block]",
        "terseLabel": "Components of Accumulated Other Comprehensive (Loss) Income, Net of Taxes"
       }
      }
     },
     "localname": "ScheduleOfAccumulatedOtherComprehensiveIncomeLossTableTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.univest.net/role/AccumulatedOtherComprehensiveLossIncomeTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_ScheduleOfAvailableForSaleSecuritiesLineItems": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "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.",
        "label": "Debt Securities, Available-for-sale [Line Items]",
        "terseLabel": "Debt Securities, Available-for-sale [Line Items]"
       }
      }
     },
     "localname": "ScheduleOfAvailableForSaleSecuritiesLineItems",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.univest.net/role/InvestmentSecuritiesAllowanceforCreditLossRollforwardDetails",
      "http://www.univest.net/role/InvestmentSecuritiesAmountofSecuritiesinUnrealizedLossPositionDetail",
      "http://www.univest.net/role/InvestmentSecuritiesNarrativeDetail"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_ScheduleOfAvailableForSaleSecuritiesTable": {
     "auth_ref": [
      "r209",
      "r214",
      "r235",
      "r236",
      "r237",
      "r240",
      "r653",
      "r658"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Schedule of available-for-sale securities which includes, but is not limited to, changes in the cost basis and fair value, fair value and gross unrealized gain (loss), fair values by type of security, contractual maturity and classification, amortized cost basis, contracts to acquire securities to be accounted for as available-for-sale, debt maturities, transfers to trading, change in net unrealized holding gain (loss) net of tax, continuous unrealized loss position fair value, aggregate losses qualitative disclosures, other than temporary impairment (OTTI) losses or other disclosures related to available for sale securities.",
        "label": "Schedule of Available-for-sale Securities [Table]",
        "terseLabel": "Schedule of Available-for-sale Securities"
       }
      }
     },
     "localname": "ScheduleOfAvailableForSaleSecuritiesTable",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.univest.net/role/InvestmentSecuritiesAmountofSecuritiesinUnrealizedLossPositionDetail",
      "http://www.univest.net/role/InvestmentSecuritiesHeldtoMaturityandAvailableforSaleScheduledMaturitiesDetails",
      "http://www.univest.net/role/InvestmentSecuritiesNarrativeDetail"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_ScheduleOfBusinessAcquisitionsByAcquisitionContingentConsiderationTable": {
     "auth_ref": [
      "r488"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Schedule of information about a contingent payment arrangement including the terms that will result in payment and the accounting treatment that will be followed if such contingency occurs, including the potential impact on earnings per share if the contingency is to be settled in shares of common stock of the entity. The description also may include the period over which amounts are expected to be paid, and changes in the amount since the previous reporting period. This also includes contingent options and commitments.",
        "label": "Schedule of Business Acquisitions by Acquisition, Contingent Consideration [Table]",
        "terseLabel": "Schedule of Business Acquisitions by Acquisition, Contingent Consideration"
       }
      }
     },
     "localname": "ScheduleOfBusinessAcquisitionsByAcquisitionContingentConsiderationTable",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.univest.net/role/FairValueDisclosuresChangeinContingentConsiderationLiabilityDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_ScheduleOfCashFlowHedgesIncludedInAccumulatedOtherComprehensiveIncomeLossTableTextBlock": {
     "auth_ref": [
      "r512"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Tabular disclosure of gain (loss) on derivative and nonderivative instruments designated and qualifying as cash flow hedge recorded in accumulated other comprehensive income (AOCI) and reclassified into earnings.",
        "label": "Schedule of Cash Flow Hedges Included in Accumulated Other Comprehensive Income (Loss) [Table Text Block]",
        "terseLabel": "Schedule of Cash Flow Hedges Included in Accumulated Other Comprehensive Income (Loss)"
       }
      }
     },
     "localname": "ScheduleOfCashFlowHedgesIncludedInAccumulatedOtherComprehensiveIncomeLossTableTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.univest.net/role/DerivativeInstrumentsandHedgingActivitiesTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_ScheduleOfCompensationCostForShareBasedPaymentArrangementsAllocationOfShareBasedCompensationCostsByPlanTableTextBlock": {
     "auth_ref": [
      "r465"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Tabular disclosure of cost recognized for award under share-based payment arrangement by plan. Includes, but is not limited to, related tax benefit.",
        "label": "Share-based Payment Arrangement, Cost by Plan [Table Text Block]",
        "terseLabel": "Compensation Expense Related to Stock Incentive Plans Recognized"
       }
      }
     },
     "localname": "ScheduleOfCompensationCostForShareBasedPaymentArrangementsAllocationOfShareBasedCompensationCostsByPlanTableTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.univest.net/role/StockBasedIncentivePlanTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_ScheduleOfDebtTableTextBlock": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Tabular disclosure of information pertaining to short-term and long-debt instruments or arrangements, including but not limited to identification of terms, features, collateral requirements and other information necessary to a fair presentation.",
        "label": "Schedule of Debt [Table Text Block]",
        "terseLabel": "Summary of Borrowings by Type"
       }
      }
     },
     "localname": "ScheduleOfDebtTableTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.univest.net/role/BorrowingsTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_ScheduleOfDefinedBenefitPlansDisclosuresTable": {
     "auth_ref": [
      "r410",
      "r411",
      "r414",
      "r415",
      "r426"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Disclosures about an individual defined benefit pension plan or an other postretirement defined benefit plan. It may be appropriate to group certain similar plans.  Also includes schedule for fair value of plan assets by major categories of plan assets by the level within the fair value hierarchy in which the fair value measurements in their entirety fall, segregating fair value measurements using quoted prices in active markets for identical assets or liabilities (Level 1), Significant other observable inputs (Level 2), and significant unobservable inputs (Level 3).",
        "label": "Schedule of Defined Benefit Plans Disclosures [Table]",
        "terseLabel": "Schedule of Defined Benefit Plans Disclosures"
       }
      }
     },
     "localname": "ScheduleOfDefinedBenefitPlansDisclosuresTable",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.univest.net/role/RetirementPlansandOtherPostRetirementBenefitsNarrativeDetails",
      "http://www.univest.net/role/RetirementPlansandOtherPostretirementBenefitsComponentsofNetPeriodicBenefitCostIncomeDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_ScheduleOfEarningsPerShareBasicAndDilutedTableTextBlock": {
     "auth_ref": [
      "r125"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Tabular disclosure of an entity's basic and diluted earnings per share calculations, including a reconciliation of numerators and denominators of the basic and diluted per-share computations for income from continuing operations.",
        "label": "Schedule of Earnings Per Share, Basic and Diluted [Table Text Block]",
        "terseLabel": "Summary of Computation for Basic and Diluted Earnings per Share"
       }
      }
     },
     "localname": "ScheduleOfEarningsPerShareBasicAndDilutedTableTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.univest.net/role/EarningsperShareTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_ScheduleOfFairValueAssetsAndLiabilitiesMeasuredOnRecurringBasisTableTextBlock": {
     "auth_ref": [
      "r534",
      "r535"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Tabular disclosure of assets and liabilities, including [financial] instruments measured at fair value that are classified in stockholders' equity, if any, that are measured at fair value on a recurring basis. The disclosures contemplated herein include the fair value measurements at the reporting date by the level within the fair value hierarchy in which the fair value measurements in their entirety fall, segregating fair value measurements using quoted prices in active markets for identical assets (Level 1), significant other observable inputs (Level 2), and significant unobservable inputs (Level 3).",
        "label": "Schedule of Fair Value, Assets and Liabilities Measured on Recurring Basis [Table Text Block]",
        "terseLabel": "Assets and Liabilities Measured at Fair Value on Recurring Basis"
       }
      }
     },
     "localname": "ScheduleOfFairValueAssetsAndLiabilitiesMeasuredOnRecurringBasisTableTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.univest.net/role/FairValueDisclosuresTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_ScheduleOfFinancingReceivableAllowanceForCreditLossesTable": {
     "auth_ref": [
      "r255",
      "r730"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Disclosure of information about allowance for credit loss on financing receivable.",
        "label": "Financing Receivable, Allowance for Credit Loss [Table]",
        "terseLabel": "Schedule of Financing Receivable, Allowance for Credit Losses"
       }
      }
     },
     "localname": "ScheduleOfFinancingReceivableAllowanceForCreditLossesTable",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.univest.net/role/LoansandLeasesAllowanceforCreditLossesLoansandLeasesRollForwardDetails",
      "http://www.univest.net/role/LoansandLeasesAllowanceforLoanandLeaseLossesandRecordedInvestmentinLoansandLeasesDetails",
      "http://www.univest.net/role/LoansandLeasesCollateralDependentLoansDetails",
      "http://www.univest.net/role/LoansandLeasesNonaccrualDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_ScheduleOfFinancingReceivableRecordedInvestmentCreditQualityIndicatorTable": {
     "auth_ref": [
      "r262",
      "r268"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Disclosure of information about credit quality indicator for financing receivable.",
        "label": "Financing Receivable, Credit Quality Indicator [Table]",
        "terseLabel": "Schedule of Financing Receivable, Recorded Investment, Credit Quality Indicator"
       }
      }
     },
     "localname": "ScheduleOfFinancingReceivableRecordedInvestmentCreditQualityIndicatorTable",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.univest.net/role/LoansandLeasesCreditQualityDetails",
      "http://www.univest.net/role/LoansandLeasesCreditQualityIndicatorsDetails",
      "http://www.univest.net/role/LoansandLeasesNarrativeDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_ScheduleOfFinancingReceivableTroubledDebtRestructuringsTable": {
     "auth_ref": [
      "r188",
      "r189"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Disclosure of information about financing receivable modified as troubled debt restructuring.",
        "label": "Financing Receivable, Troubled Debt Restructuring [Table]",
        "terseLabel": "Financing Receivable, Troubled Debt Restructuring"
       }
      }
     },
     "localname": "ScheduleOfFinancingReceivableTroubledDebtRestructuringsTable",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.univest.net/role/LoansandLeasesAccruingandNonaccruingTroubledDebtRestructuredLoanswithPaymentDefaultsDetails",
      "http://www.univest.net/role/LoansandLeasesNonperformingLoansandLeasesDetails",
      "http://www.univest.net/role/LoansandLeasesScheduleofConcessionsGrantedonAccruingandNonaccrualTroubledLoansDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_ScheduleOfFinancingReceivablesNonAccrualStatusTableTextBlock": {
     "auth_ref": [
      "r193",
      "r260"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Tabular disclosure of financing receivable on nonaccrual status.",
        "label": "Financing Receivable, Nonaccrual [Table Text Block]",
        "terseLabel": "Nonaccrual Loan and Lease Data"
       }
      }
     },
     "localname": "ScheduleOfFinancingReceivablesNonAccrualStatusTableTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.univest.net/role/LoansandLeasesTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_ScheduleOfFiniteLivedIntangibleAssetsTable": {
     "auth_ref": [
      "r287",
      "r289",
      "r607"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Schedule of assets, excluding financial assets and goodwill, lacking physical substance with a finite life.",
        "label": "Schedule of Finite-Lived Intangible Assets [Table]",
        "terseLabel": "Schedule of Finite-Lived Intangible Assets"
       }
      }
     },
     "localname": "ScheduleOfFiniteLivedIntangibleAssetsTable",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.univest.net/role/GoodwillandOtherIntangibleAssetsActivityInValuationAllowanceForServicingRightsDetails",
      "http://www.univest.net/role/GoodwillandOtherIntangibleAssetsComponentsofIntangibleAssetsDetails",
      "http://www.univest.net/role/GoodwillandOtherIntangibleAssetsEstimatedAmortizationExpenseforCoreDepositandCustomerRelatedIntangiblesDetails",
      "http://www.univest.net/role/GoodwillandOtherIntangibleAssetsEstimatedAmortizationExpenseofServicingRightsDetails",
      "http://www.univest.net/role/GoodwillandOtherIntangibleAssetsNarrativeDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_ScheduleOfFiniteLivedIntangibleAssetsTableTextBlock": {
     "auth_ref": [
      "r287",
      "r289"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Tabular disclosure of assets, excluding financial assets and goodwill, lacking physical substance with a finite life, by either major class or business segment.",
        "label": "Schedule of Finite-Lived Intangible Assets [Table Text Block]",
        "terseLabel": "Components of Intangible Assets"
       }
      }
     },
     "localname": "ScheduleOfFiniteLivedIntangibleAssetsTableTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.univest.net/role/GoodwillandOtherIntangibleAssetsTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_ScheduleOfGoodwillTable": {
     "auth_ref": [
      "r285",
      "r286"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Schedule of goodwill and the changes during the year due to acquisition, sale, impairment or for other reasons.",
        "label": "Schedule of Goodwill [Table]"
       }
      }
     },
     "localname": "ScheduleOfGoodwillTable",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "xbrltype": "stringItemType"
    },
    "us-gaap_ScheduleOfGoodwillTextBlock": {
     "auth_ref": [
      "r285",
      "r286"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Tabular disclosure of goodwill by reportable segment and in total which includes a rollforward schedule.",
        "label": "Schedule of Goodwill [Table Text Block]",
        "terseLabel": "Summary of Changes in Carrying Amount of Goodwill"
       }
      }
     },
     "localname": "ScheduleOfGoodwillTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.univest.net/role/GoodwillandOtherIntangibleAssetsTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_ScheduleOfHeldToMaturitySecuritiesLineItems": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "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.",
        "label": "Schedule of Held-to-maturity Securities [Line Items]",
        "terseLabel": "Schedule of Held-to-maturity Securities [Line Items]"
       }
      }
     },
     "localname": "ScheduleOfHeldToMaturitySecuritiesLineItems",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.univest.net/role/InvestmentSecuritiesHeldtoMaturityandAvailableforSaleScheduledMaturitiesDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_ScheduleOfMaturitiesOfLongTermDebtTableTextBlock": {
     "auth_ref": [
      "r304"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Tabular disclosure of maturity and sinking fund requirement for long-term debt.",
        "label": "Schedule of Maturities of Long-term Debt [Table Text Block]",
        "terseLabel": "Schedule of Maturities of Long-Term FHLB Advances"
       }
      }
     },
     "localname": "ScheduleOfMaturitiesOfLongTermDebtTableTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.univest.net/role/BorrowingsTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_ScheduleOfNetBenefitCostsTableTextBlock": {
     "auth_ref": [
      "r389"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Tabular disclosure of the components of net benefit costs for pension plans and/or other employee benefit plans including service cost, interest cost, expected return on plan assets, gain (loss), prior service cost or credit, transition asset or obligation, and gain (loss) recognized due to settlements or curtailments.",
        "label": "Schedule of Net Benefit Costs [Table Text Block]",
        "terseLabel": "Components of Net Periodic Benefit Cost (Income)"
       }
      }
     },
     "localname": "ScheduleOfNetBenefitCostsTableTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.univest.net/role/RetirementPlansandOtherPostretirementBenefitsTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_ScheduleOfNonvestedRestrictedStockUnitsActivityTableTextBlock": {
     "auth_ref": [
      "r456"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Tabular disclosure of the changes in outstanding nonvested restricted stock units.",
        "label": "Schedule of Nonvested Restricted Stock Units Activity [Table Text Block]",
        "terseLabel": "Summary of Nonvested Restricted Stock Units"
       }
      }
     },
     "localname": "ScheduleOfNonvestedRestrictedStockUnitsActivityTableTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.univest.net/role/StockBasedIncentivePlanTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_ScheduleOfRealizedGainLossTableTextBlock": {
     "auth_ref": [
      "r239"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Tabular disclosure of the proceeds from sales of available-for-sale securities and the gross realized gains and gross realized losses that have been included in earnings as a result of those sales.",
        "label": "Schedule of Realized Gain (Loss) [Table Text Block]",
        "terseLabel": "Information Related to Sales of Securities Available-for-Sale"
       }
      }
     },
     "localname": "ScheduleOfRealizedGainLossTableTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.univest.net/role/InvestmentSecuritiesTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_ScheduleOfSegmentReportingInformationBySegmentTable": {
     "auth_ref": [
      "r153",
      "r156",
      "r162",
      "r285"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "A table disclosing the profit or loss and total assets for each reportable segment of the entity. An entity discloses certain information on each reportable segment if the amounts (a) are included in the measure of segment profit or loss reviewed by the chief operating decision maker or (b) are otherwise regularly provided to the chief operating decision maker, even if not included in that measure of segment profit or loss.",
        "label": "Schedule of Segment Reporting Information, by Segment [Table]",
        "terseLabel": "Schedule of Segment Reporting Information, by Segment"
       }
      }
     },
     "localname": "ScheduleOfSegmentReportingInformationBySegmentTable",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.univest.net/role/SegmentReportingScheduleofSegmentReportingDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_ScheduleOfSegmentReportingInformationBySegmentTextBlock": {
     "auth_ref": [
      "r153",
      "r156",
      "r162",
      "r285"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Tabular disclosure of the profit or loss and total assets for each reportable segment. An entity discloses certain information on each reportable segment if the amounts (a) are included in the measure of segment profit or loss reviewed by the chief operating decision maker or (b) are otherwise regularly provided to the chief operating decision maker, even if not included in that measure of segment profit or loss.",
        "label": "Schedule of Segment Reporting Information, by Segment [Table Text Block]",
        "terseLabel": "Schedule of Segment Reporting"
       }
      }
     },
     "localname": "ScheduleOfSegmentReportingInformationBySegmentTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.univest.net/role/SegmentReportingTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable": {
     "auth_ref": [
      "r447",
      "r468"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Disclosure of information about share-based payment arrangement.",
        "label": "Schedule of Share-based Compensation Arrangements by Share-based Payment Award [Table]",
        "terseLabel": "Schedule of Share-based Compensation Arrangements by Share-based Payment Award"
       }
      }
     },
     "localname": "ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.univest.net/role/StockBasedIncentivePlanCertainInformationRegardingRestrictedStockUnitsDetail",
      "http://www.univest.net/role/StockBasedIncentivePlanCompensationExpenseRelatedtoStockIncentivePlansRecognizedDetail",
      "http://www.univest.net/role/StockBasedIncentivePlanScheduleofUnrecognizedCompensationCostNonvestedUnitsDetail"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_ScheduleOfShareBasedCompensationStockOptionsActivityTableTextBlock": {
     "auth_ref": [
      "r449",
      "r461",
      "r462"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Tabular disclosure for stock option plans. Includes, but is not limited to, outstanding awards at beginning and end of year, grants, exercises, forfeitures, and weighted-average grant date fair value.",
        "label": "Share-based Payment Arrangement, Option, Activity [Table Text Block]",
        "terseLabel": "Status of Options Granted Under Long-Term Incentive Plan"
       }
      }
     },
     "localname": "ScheduleOfShareBasedCompensationStockOptionsActivityTableTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.univest.net/role/StockBasedIncentivePlanTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_ScheduleOfUnrealizedLossOnInvestmentsTableTextBlock": {
     "auth_ref": [
      "r235"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "For all investments in an unrealized loss position, including those for which other-than-temporary impairments have not been recognized in earnings (including investments for which a portion of an other-than-temporary impairment has been recognized in other comprehensive income), a tabular disclosure of the aggregate related fair value of investments with unrealized losses and the aggregate amount of unrealized losses (that is, the amount by which amortized cost basis exceeds fair value).",
        "label": "Schedule of Unrealized Loss on Investments [Table Text Block]",
        "terseLabel": "Amount of Securities in Unrealized Loss Position"
       }
      }
     },
     "localname": "ScheduleOfUnrealizedLossOnInvestmentsTableTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.univest.net/role/InvestmentSecuritiesTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_ScheduleOfUnrecognizedCompensationCostNonvestedAwardsTableTextBlock": {
     "auth_ref": [
      "r467"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Tabular disclosure of cost not yet recognized and weighted-average period over which cost is expected to be recognized for nonvested award under share-based payment arrangement.",
        "label": "Share-based Payment Arrangement, Nonvested Award, Cost [Table Text Block]",
        "terseLabel": "Schedule of Unrecognized Compensation Cost, Nonvested Restricted Stock Units"
       }
      }
     },
     "localname": "ScheduleOfUnrecognizedCompensationCostNonvestedAwardsTableTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.univest.net/role/StockBasedIncentivePlanTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_ScheduleofFiniteLivedIntangibleAssetsFutureAmortizationExpenseTableTextBlock": {
     "auth_ref": [
      "r289"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Tabular disclosure of the amount of amortization expense expected to be recorded in succeeding fiscal years for finite-lived intangible assets.",
        "label": "Schedule of Finite-Lived Intangible Assets, Future Amortization Expense [Table Text Block]",
        "terseLabel": "Estimated Aggregate Amortization Expense"
       }
      }
     },
     "localname": "ScheduleofFiniteLivedIntangibleAssetsFutureAmortizationExpenseTableTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.univest.net/role/GoodwillandOtherIntangibleAssetsTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_SecuritiesSoldUnderAgreementsToRepurchaseMember": {
     "auth_ref": [
      "r550"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The securities that an institution sells and agrees to repurchase (the identical or substantially the same securities) as a seller-borrower at a specified date for a specified price, also known as a repurchase agreement, or repo. Most repos involve obligations of the federal government or its agencies, but other financial instruments, such as commercial paper, banker's acceptances, and negotiable certificates of deposit, are sometimes used in repos.",
        "label": "Securities Sold under Agreements to Repurchase [Member]",
        "verboseLabel": "Customer Repurchase Agreements [Member]"
       }
      }
     },
     "localname": "SecuritiesSoldUnderAgreementsToRepurchaseMember",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.univest.net/role/BorrowingsSummaryofBorrowingsByTypeDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_SegmentDomain": {
     "auth_ref": [
      "r140",
      "r144",
      "r145",
      "r146",
      "r147",
      "r148",
      "r149",
      "r150",
      "r151",
      "r152",
      "r153",
      "r154",
      "r155",
      "r158",
      "r159",
      "r160",
      "r161",
      "r163",
      "r164",
      "r165",
      "r166",
      "r167",
      "r169",
      "r174",
      "r299",
      "r300",
      "r687"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Components of an entity that engage in business activities from which they may earn revenue and incur expenses, including transactions with other components of the same entity.",
        "label": "Segments [Domain]",
        "terseLabel": "Segments [Domain]"
       }
      }
     },
     "localname": "SegmentDomain",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.univest.net/role/GoodwillandOtherIntangibleAssetsSummaryofChangesinCarryingAmountofGoodwillDetails",
      "http://www.univest.net/role/SegmentReportingScheduleofSegmentReportingDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_SegmentReportingAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Segment Reporting [Abstract]"
       }
      }
     },
     "localname": "SegmentReportingAbstract",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "xbrltype": "stringItemType"
    },
    "us-gaap_SegmentReportingDisclosureTextBlock": {
     "auth_ref": [
      "r140",
      "r142",
      "r143",
      "r153",
      "r157",
      "r163",
      "r167",
      "r168",
      "r169",
      "r170",
      "r171",
      "r173",
      "r174",
      "r175"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The entire disclosure for reporting segments including data and tables. Reportable segments include those that meet any of the following quantitative thresholds a) it's reported revenue, including sales to external customers and intersegment sales or transfers is 10 percent or more of the combined revenue, internal and external, of all operating segments b) the absolute amount of its reported profit or loss is 10 percent or more of the greater, in absolute amount of 1) the combined reported profit of all operating segments that did not report a loss or 2) the combined reported loss of all operating segments that did report a loss c) its assets are 10 percent or more of the combined assets of all operating segments.",
        "label": "Segment Reporting Disclosure [Text Block]",
        "terseLabel": "Segment Reporting"
       }
      }
     },
     "localname": "SegmentReportingDisclosureTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.univest.net/role/SegmentReporting"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_SegmentReportingInformationLineItems": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "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.",
        "label": "Segment Reporting Information [Line Items]",
        "terseLabel": "Segment Reporting Information [Line Items]"
       }
      }
     },
     "localname": "SegmentReportingInformationLineItems",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.univest.net/role/SegmentReportingScheduleofSegmentReportingDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_ServicingAssetAtAmortizedValue": {
     "auth_ref": [
      "r587",
      "r588",
      "r594"
     ],
     "calculation": {
      "http://www.univest.net/role/GoodwillandOtherIntangibleAssetsEstimatedAmortizationExpenseofServicingRightsDetails": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amortized amount of contract to service financial assets under which the benefits of servicing are expected to more than adequately compensate the servicer.",
        "label": "Servicing Asset at Amortized Cost",
        "periodEndLabel": "End of period",
        "periodStartLabel": "Beginning of period",
        "totalLabel": "Total: Estimated amortization expense of servicing rights"
       }
      }
     },
     "localname": "ServicingAssetAtAmortizedValue",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.univest.net/role/GoodwillandOtherIntangibleAssetsChangesinServicingRightsDetails",
      "http://www.univest.net/role/GoodwillandOtherIntangibleAssetsEstimatedAmortizationExpenseofServicingRightsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_ServicingAssetAtAmortizedValueAdditions": {
     "auth_ref": [
      "r595"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of additions from purchases, assumption or transfer to contract to service financial assets under which the benefits of servicing are expected to more than adequately compensate the servicer.",
        "label": "Servicing Asset at Amortized Cost, Additions",
        "terseLabel": "Servicing rights capitalized"
       }
      }
     },
     "localname": "ServicingAssetAtAmortizedValueAdditions",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.univest.net/role/GoodwillandOtherIntangibleAssetsChangesinServicingRightsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_ServicingAssetAtAmortizedValueAmortization1": {
     "auth_ref": [
      "r597"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of amortization of contract to service financial assets under which the benefits of servicing are expected to more than adequately compensate the servicer.",
        "label": "Servicing Asset at Amortized Cost, Amortization",
        "negatedLabel": "Amortization of servicing rights"
       }
      }
     },
     "localname": "ServicingAssetAtAmortizedValueAmortization1",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.univest.net/role/GoodwillandOtherIntangibleAssetsChangesinServicingRightsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_ServicingAssetAtAmortizedValueBalanceRollForward": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "A roll forward is a reconciliation of a concept from the beginning of a period to the end of a period.",
        "label": "Servicing Asset at Amortized Cost, Balance [Roll Forward]",
        "terseLabel": "Servicing Asset at Amortized Cost, Balance [Roll Forward]"
       }
      }
     },
     "localname": "ServicingAssetAtAmortizedValueBalanceRollForward",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.univest.net/role/GoodwillandOtherIntangibleAssetsChangesinServicingRightsDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_ServicingAssetAtAmortizedValueFairValue": {
     "auth_ref": [
      "r526",
      "r601"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Fair value of contract to service financial assets under which the benefits of servicing are expected to more than adequately compensate the servicer.",
        "label": "Servicing Asset at Amortized Cost, Fair Value",
        "terseLabel": "Aggregate fair value of servicing rights"
       }
      }
     },
     "localname": "ServicingAssetAtAmortizedValueFairValue",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.univest.net/role/GoodwillandOtherIntangibleAssetsNarrativeDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_ServicingAssetAtAmortizedValueValuationAllowance": {
     "auth_ref": [
      "r598"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of increase (decrease) in the amortized amount from a decrease (increase) in the valuation allowance applied to the servicing asset for a contract to service financial assets under which the benefits of servicing are expected to more than adequately compensate the servicer.",
        "label": "Servicing Asset at Amortized Cost, Increase (Decrease) for Valuation Allowance Adjustment",
        "terseLabel": "Changes in valuation allowance"
       }
      }
     },
     "localname": "ServicingAssetAtAmortizedValueValuationAllowance",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.univest.net/role/GoodwillandOtherIntangibleAssetsChangesinServicingRightsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_ServicingAssetsAndServicingLiabilitiesAtFairValueAssumptionsUsedToEstimateFairValueDiscountRate": {
     "auth_ref": [
      "r589"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Discount rate used to estimate the fair value of servicing assets and servicing liabilities.",
        "label": "Servicing Assets and Servicing Liabilities at Fair Value, Assumptions Used to Estimate Fair Value, Discount Rate",
        "terseLabel": "Range of discount rates used for valuation of servicing rights"
       }
      }
     },
     "localname": "ServicingAssetsAndServicingLiabilitiesAtFairValueAssumptionsUsedToEstimateFairValueDiscountRate",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.univest.net/role/GoodwillandOtherIntangibleAssetsNarrativeDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "us-gaap_ServicingAssetsAtAmortizedValueLineItems": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "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.",
        "label": "Servicing Asset at Amortized Cost [Line Items]",
        "terseLabel": "Servicing Asset at Amortized Cost [Line Items]"
       }
      }
     },
     "localname": "ServicingAssetsAtAmortizedValueLineItems",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.univest.net/role/GoodwillandOtherIntangibleAssetsChangesinServicingRightsDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_ServicingAssetsAtAmortizedValueTable": {
     "auth_ref": [
      "r594",
      "r595",
      "r596",
      "r597",
      "r598",
      "r599",
      "r600"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Disclosure of information about activity in the balance of servicing assets subsequently measured at amortized cost. Includes, but is not limited to, beginning and ending balances, additions, disposals, and amortization.",
        "label": "Servicing Asset at Amortized Cost [Table]",
        "terseLabel": "Servicing Asset at Amortized Cost"
       }
      }
     },
     "localname": "ServicingAssetsAtAmortizedValueTable",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.univest.net/role/GoodwillandOtherIntangibleAssetsChangesinServicingRightsDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_ShareBasedCompensation": {
     "auth_ref": [
      "r86"
     ],
     "calculation": {
      "http://www.univest.net/role/CondensedConsolidatedStatementsofCashFlows": {
       "order": 10.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of noncash expense for share-based payment arrangement.",
        "label": "Share-based Payment Arrangement, Noncash Expense",
        "terseLabel": "Stock-based compensation"
       }
      }
     },
     "localname": "ShareBasedCompensation",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.univest.net/role/CondensedConsolidatedStatementsofCashFlows"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsForfeitedInPeriod": {
     "auth_ref": [
      "r454"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The number of equity-based payment instruments, excluding stock (or unit) options, that were forfeited during the reporting period.",
        "label": "Share-based Compensation Arrangement by Share-based Payment Award, Equity Instruments Other than Options, Forfeited in Period",
        "negatedLabel": "Nonvested share units, cancelled or forfeited"
       }
      }
     },
     "localname": "ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsForfeitedInPeriod",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.univest.net/role/StockBasedIncentivePlanSummaryofNonvestedRestrictedStockUnitsDetail"
     ],
     "xbrltype": "sharesItemType"
    },
    "us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsForfeituresWeightedAverageGrantDateFairValue": {
     "auth_ref": [
      "r460"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Weighted average fair value as of the grant date of equity-based award plans other than stock (unit) option plans that were not exercised or put into effect as a result of the occurrence of a terminating event.",
        "label": "Share-based Compensation Arrangement by Share-based Payment Award, Equity Instruments Other than Options, Forfeitures, Weighted Average Grant Date Fair Value",
        "terseLabel": "Weighted average grant date fair value, cancelled or forfeited"
       }
      }
     },
     "localname": "ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsForfeituresWeightedAverageGrantDateFairValue",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.univest.net/role/StockBasedIncentivePlanSummaryofNonvestedRestrictedStockUnitsDetail"
     ],
     "xbrltype": "perShareItemType"
    },
    "us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriod": {
     "auth_ref": [
      "r458"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The number of grants made during the period on other than stock (or unit) option plans (for example, phantom stock or unit plan, stock or unit appreciation rights plan, performance target plan).",
        "label": "Share-based Compensation Arrangement by Share-based Payment Award, Equity Instruments Other than Options, Grants in Period",
        "terseLabel": "Nonvested share units, granted",
        "verboseLabel": "Restricted stock units granted"
       }
      }
     },
     "localname": "ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriod",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.univest.net/role/StockBasedIncentivePlanCertainInformationRegardingRestrictedStockUnitsDetail",
      "http://www.univest.net/role/StockBasedIncentivePlanSummaryofNonvestedRestrictedStockUnitsDetail"
     ],
     "xbrltype": "sharesItemType"
    },
    "us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriodWeightedAverageGrantDateFairValue": {
     "auth_ref": [
      "r458"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The weighted average fair value at grant date for nonvested equity-based awards issued during the period on other than stock (or unit) option plans (for example, phantom stock or unit plan, stock or unit appreciation rights plan, performance target plan).",
        "label": "Share-based Compensation Arrangement by Share-based Payment Award, Equity Instruments Other than Options, Grants in Period, Weighted Average Grant Date Fair Value",
        "terseLabel": "Weighted average grant date fair value",
        "verboseLabel": "Weighted average grant date fair value, granted"
       }
      }
     },
     "localname": "ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriodWeightedAverageGrantDateFairValue",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.univest.net/role/StockBasedIncentivePlanCertainInformationRegardingRestrictedStockUnitsDetail",
      "http://www.univest.net/role/StockBasedIncentivePlanSummaryofNonvestedRestrictedStockUnitsDetail"
     ],
     "xbrltype": "perShareItemType"
    },
    "us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedNumber": {
     "auth_ref": [
      "r457"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The number of non-vested equity-based payment instruments, excluding stock (or unit) options, that validly exist and are outstanding as of the balance sheet date.",
        "label": "Share-based Compensation Arrangement by Share-based Payment Award, Equity Instruments Other than Options, Nonvested, Number",
        "periodEndLabel": "Nonvested share units, ending balance",
        "periodStartLabel": "Nonvested share units, beginning balance"
       }
      }
     },
     "localname": "ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedNumber",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.univest.net/role/StockBasedIncentivePlanSummaryofNonvestedRestrictedStockUnitsDetail"
     ],
     "xbrltype": "sharesItemType"
    },
    "us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedRollForward": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "A roll forward is a reconciliation of a concept from the beginning of a period to the end of a period.",
        "label": "Share-based Compensation Arrangement by Share-based Payment Award, Equity Instruments Other than Options, Nonvested, Number of Shares [Roll Forward]",
        "terseLabel": "Share-based Compensation Arrangement by Share-based Payment Award, Equity Instruments Other than Options, Nonvested, Number of Shares [Roll Forward]"
       }
      }
     },
     "localname": "ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedRollForward",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.univest.net/role/StockBasedIncentivePlanSummaryofNonvestedRestrictedStockUnitsDetail"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValue": {
     "auth_ref": [
      "r457"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Per share or unit weighted-average fair value of nonvested award under share-based payment arrangement. Excludes share and unit options.",
        "label": "Share-based Compensation Arrangement by Share-based Payment Award, Equity Instruments Other than Options, Nonvested, Weighted Average Grant Date Fair Value",
        "periodEndLabel": "Weighted average grant date fair value, ending balance",
        "periodStartLabel": "Weighted average grant date fair value, beginning balance"
       }
      }
     },
     "localname": "ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValue",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.univest.net/role/StockBasedIncentivePlanSummaryofNonvestedRestrictedStockUnitsDetail"
     ],
     "xbrltype": "perShareItemType"
    },
    "us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValueRollForward": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "A roll forward is a reconciliation of a concept from the beginning of a period to the end of a period.",
        "label": "Share-based Compensation Arrangement by Share-based Payment Award, Equity Instruments Other than Options, Nonvested, Weighted Average Grant Date Fair Value [Abstract]",
        "terseLabel": "Share-based Compensation Arrangement by Share-based Payment Award, Equity Instruments Other than Options, Nonvested, Weighted Average Grant Date Fair Value [Abstract]"
       }
      }
     },
     "localname": "ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValueRollForward",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.univest.net/role/StockBasedIncentivePlanSummaryofNonvestedRestrictedStockUnitsDetail"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedInPeriod": {
     "auth_ref": [
      "r459"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The number of equity-based payment instruments, excluding stock (or unit) options, that vested during the reporting period.",
        "label": "Share-based Compensation Arrangement by Share-based Payment Award, Equity Instruments Other than Options, Vested in Period",
        "negatedLabel": "Nonvested share units, vested",
        "terseLabel": "Restricted stock units vested"
       }
      }
     },
     "localname": "ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedInPeriod",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.univest.net/role/StockBasedIncentivePlanCertainInformationRegardingRestrictedStockUnitsDetail",
      "http://www.univest.net/role/StockBasedIncentivePlanSummaryofNonvestedRestrictedStockUnitsDetail"
     ],
     "xbrltype": "sharesItemType"
    },
    "us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedInPeriodWeightedAverageGrantDateFairValue": {
     "auth_ref": [
      "r459"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The weighted average fair value as of grant date pertaining to an equity-based award plan other than a stock (or unit) option plan for which the grantee gained the right during the reporting period, by satisfying service and performance requirements, to receive or retain shares or units, other instruments, or cash in accordance with the terms of the arrangement.",
        "label": "Share-based Compensation Arrangement by Share-based Payment Award, Equity Instruments Other than Options, Vested in Period, Weighted Average Grant Date Fair Value",
        "terseLabel": "Weighted average grant date fair value, vested",
        "verboseLabel": "Weighted average grant date fair value"
       }
      }
     },
     "localname": "ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedInPeriodWeightedAverageGrantDateFairValue",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.univest.net/role/StockBasedIncentivePlanCertainInformationRegardingRestrictedStockUnitsDetail",
      "http://www.univest.net/role/StockBasedIncentivePlanSummaryofNonvestedRestrictedStockUnitsDetail"
     ],
     "xbrltype": "perShareItemType"
    },
    "us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "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.",
        "label": "Share-based Compensation Arrangement by Share-based Payment Award [Line Items]",
        "terseLabel": "Share-based Compensation Arrangement by Share-based Payment Award [Line Items]"
       }
      }
     },
     "localname": "ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.univest.net/role/StockBasedIncentivePlanCertainInformationRegardingRestrictedStockUnitsDetail",
      "http://www.univest.net/role/StockBasedIncentivePlanCompensationExpenseRelatedtoStockIncentivePlansRecognizedDetail",
      "http://www.univest.net/role/StockBasedIncentivePlanScheduleofUnrecognizedCompensationCostNonvestedUnitsDetail"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsExercisableNumber": {
     "auth_ref": [
      "r452"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The number of shares into which fully or partially vested stock options outstanding as of the balance sheet date can be currently converted under the option plan.",
        "label": "Share-based Compensation Arrangement by Share-based Payment Award, Options, Exercisable, Number",
        "terseLabel": "Shares under options, exercisable at March 31, 2022"
       }
      }
     },
     "localname": "ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsExercisableNumber",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.univest.net/role/StockBasedIncentivePlanStatusofOptionsGrantedUnderLongTermIncentivePlanDetail"
     ],
     "xbrltype": "sharesItemType"
    },
    "us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsExercisableWeightedAverageExercisePrice": {
     "auth_ref": [
      "r452"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The weighted-average price as of the balance sheet date at which grantees can acquire the shares reserved for issuance on vested portions of options outstanding and currently exercisable under the stock option plan.",
        "label": "Share-based Compensation Arrangement by Share-based Payment Award, Options, Exercisable, Weighted Average Exercise Price",
        "terseLabel": "Weighted average exercise price per share, exercisable at March 31, 2022"
       }
      }
     },
     "localname": "ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsExercisableWeightedAverageExercisePrice",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.univest.net/role/StockBasedIncentivePlanStatusofOptionsGrantedUnderLongTermIncentivePlanDetail"
     ],
     "xbrltype": "perShareItemType"
    },
    "us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsExpirationsInPeriod": {
     "auth_ref": [
      "r455"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Number of options or other stock instruments for which the right to exercise has lapsed under the terms of the plan agreements.",
        "label": "Share-based Compensation Arrangement by Share-based Payment Award, Options, Expirations in Period",
        "negatedTerseLabel": "Shares under option, expired"
       }
      }
     },
     "localname": "ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsExpirationsInPeriod",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.univest.net/role/StockBasedIncentivePlanStatusofOptionsGrantedUnderLongTermIncentivePlanDetail"
     ],
     "xbrltype": "sharesItemType"
    },
    "us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsForfeituresInPeriod": {
     "auth_ref": [
      "r454"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The number of shares under options that were cancelled during the reporting period as a result of occurrence of a terminating event specified in contractual agreements pertaining to the stock option plan.",
        "label": "Share-based Compensation Arrangement by Share-based Payment Award, Options, Forfeitures in Period",
        "negatedLabel": "Shares under option, forfeited"
       }
      }
     },
     "localname": "ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsForfeituresInPeriod",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.univest.net/role/StockBasedIncentivePlanStatusofOptionsGrantedUnderLongTermIncentivePlanDetail"
     ],
     "xbrltype": "sharesItemType"
    },
    "us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingIntrinsicValue": {
     "auth_ref": [
      "r468"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount by which the current fair value of the underlying stock exceeds the exercise price of options outstanding.",
        "label": "Share-based Compensation Arrangement by Share-based Payment Award, Options, Outstanding, Intrinsic Value",
        "terseLabel": "Aggregated intrinsic value, outstanding at March 31, 2022"
       }
      }
     },
     "localname": "ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingIntrinsicValue",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.univest.net/role/StockBasedIncentivePlanStatusofOptionsGrantedUnderLongTermIncentivePlanDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingNumber": {
     "auth_ref": [
      "r451",
      "r468"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Number of options outstanding, including both vested and non-vested options.",
        "label": "Share-based Compensation Arrangement by Share-based Payment Award, Options, Outstanding, Number",
        "periodEndLabel": "Shares under option, outstanding, ending balance",
        "periodStartLabel": "Shares under option, outstanding, beginning balance"
       }
      }
     },
     "localname": "ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingNumber",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.univest.net/role/StockBasedIncentivePlanStatusofOptionsGrantedUnderLongTermIncentivePlanDetail"
     ],
     "xbrltype": "sharesItemType"
    },
    "us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingRollForward": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "A roll forward is a reconciliation of a concept from the beginning of a period to the end of a period.",
        "label": "Share-based Compensation Arrangement by Share-based Payment Award, Options, Outstanding [Roll Forward]",
        "terseLabel": "Shares Under Option"
       }
      }
     },
     "localname": "ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingRollForward",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.univest.net/role/StockBasedIncentivePlanStatusofOptionsGrantedUnderLongTermIncentivePlanDetail"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingWeightedAverageExercisePrice": {
     "auth_ref": [
      "r450"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Weighted average price at which grantees can acquire the shares reserved for issuance under the stock option plan.",
        "label": "Share-based Compensation Arrangement by Share-based Payment Award, Options, Outstanding, Weighted Average Exercise Price",
        "periodEndLabel": "Weighted average exercise price per share, outstanding, ending balance",
        "periodStartLabel": "Weighted average exercise price per share, outstanding, beginning balance"
       }
      }
     },
     "localname": "ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingWeightedAverageExercisePrice",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.univest.net/role/StockBasedIncentivePlanStatusofOptionsGrantedUnderLongTermIncentivePlanDetail"
     ],
     "xbrltype": "perShareItemType"
    },
    "us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingWeightedAverageExercisePriceRollforward": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Share-based Compensation Arrangement by Share-based Payment Award, Options, Outstanding, Weighted Average Exercise Price [Abstract]",
        "terseLabel": "Weighted Average Exercise Price Per Share [Abstract]"
       }
      }
     },
     "localname": "ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingWeightedAverageExercisePriceRollforward",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.univest.net/role/StockBasedIncentivePlanStatusofOptionsGrantedUnderLongTermIncentivePlanDetail"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain": {
     "auth_ref": [
      "r445",
      "r448"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Award under share-based payment arrangement.",
        "label": "Award Type [Domain]",
        "terseLabel": "Award Type [Domain]"
       }
      }
     },
     "localname": "ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.univest.net/role/StockBasedIncentivePlanCertainInformationRegardingRestrictedStockUnitsDetail",
      "http://www.univest.net/role/StockBasedIncentivePlanCompensationExpenseRelatedtoStockIncentivePlansRecognizedDetail",
      "http://www.univest.net/role/StockBasedIncentivePlanScheduleofUnrecognizedCompensationCostNonvestedUnitsDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardOptionsExercisesInPeriodWeightedAverageExercisePrice": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Weighted average price at which option holders acquired shares when converting their stock options into shares.",
        "label": "Share-based Compensation Arrangements by Share-based Payment Award, Options, Exercises in Period, Weighted Average Exercise Price",
        "terseLabel": "Weighted average exercise price per share, outstanding, exercised"
       }
      }
     },
     "localname": "ShareBasedCompensationArrangementsByShareBasedPaymentAwardOptionsExercisesInPeriodWeightedAverageExercisePrice",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.univest.net/role/StockBasedIncentivePlanStatusofOptionsGrantedUnderLongTermIncentivePlanDetail"
     ],
     "xbrltype": "perShareItemType"
    },
    "us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardOptionsExpirationsInPeriodWeightedAverageExercisePrice": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Weighted average price at which grantees could have acquired the underlying shares with respect to stock options of the plan that expired.",
        "label": "Share-based Compensation Arrangements by Share-based Payment Award, Options, Expirations in Period, Weighted Average Exercise Price",
        "terseLabel": "Weighted average exercise price per share, outstanding, expired"
       }
      }
     },
     "localname": "ShareBasedCompensationArrangementsByShareBasedPaymentAwardOptionsExpirationsInPeriodWeightedAverageExercisePrice",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.univest.net/role/StockBasedIncentivePlanStatusofOptionsGrantedUnderLongTermIncentivePlanDetail"
     ],
     "xbrltype": "perShareItemType"
    },
    "us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardOptionsForfeituresInPeriodWeightedAverageExercisePrice": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Weighted average price at which grantees could have acquired the underlying shares with respect to stock options that were terminated.",
        "label": "Share-based Compensation Arrangements by Share-based Payment Award, Options, Forfeitures in Period, Weighted Average Exercise Price",
        "terseLabel": "Weighted average exercise price per share, outstanding, forfeited"
       }
      }
     },
     "localname": "ShareBasedCompensationArrangementsByShareBasedPaymentAwardOptionsForfeituresInPeriodWeightedAverageExercisePrice",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.univest.net/role/StockBasedIncentivePlanStatusofOptionsGrantedUnderLongTermIncentivePlanDetail"
     ],
     "xbrltype": "perShareItemType"
    },
    "us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardEquityInstrumentsOtherThanOptionsAggregateIntrinsicValueVested": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Intrinsic value of vested award under share-based payment arrangement. Excludes share and unit options.",
        "label": "Share-based Compensation Arrangement by Share-based Payment Award, Equity Instruments Other than Options, Aggregate Intrinsic Value, Vested",
        "terseLabel": "Intrinsic value of units vested"
       }
      }
     },
     "localname": "SharebasedCompensationArrangementBySharebasedPaymentAwardEquityInstrumentsOtherThanOptionsAggregateIntrinsicValueVested",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.univest.net/role/StockBasedIncentivePlanCertainInformationRegardingRestrictedStockUnitsDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsExercisableIntrinsicValue1": {
     "auth_ref": [
      "r468"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of difference between fair value of the underlying shares reserved for issuance and exercise price of vested portions of options outstanding and currently exercisable.",
        "label": "Share-based Compensation Arrangement by Share-based Payment Award, Options, Exercisable, Intrinsic Value",
        "terseLabel": "Aggregated intrinsic value, exercisable at March 31, 2022"
       }
      }
     },
     "localname": "SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsExercisableIntrinsicValue1",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.univest.net/role/StockBasedIncentivePlanStatusofOptionsGrantedUnderLongTermIncentivePlanDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsExercisableWeightedAverageRemainingContractualTerm1": {
     "auth_ref": [
      "r468"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Weighted average remaining contractual term for vested portions of options outstanding and currently exercisable or convertible, in 'PnYnMnDTnHnMnS' format, for example, 'P1Y5M13D' represents the reported fact of one year, five months, and thirteen days.",
        "label": "Share-based Compensation Arrangement by Share-based Payment Award, Options, Exercisable, Weighted Average Remaining Contractual Term",
        "terseLabel": "Weighted average remaining contractual life, exerciseable at March 31, 2022"
       }
      }
     },
     "localname": "SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsExercisableWeightedAverageRemainingContractualTerm1",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.univest.net/role/StockBasedIncentivePlanStatusofOptionsGrantedUnderLongTermIncentivePlanDetail"
     ],
     "xbrltype": "durationItemType"
    },
    "us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsOutstandingWeightedAverageRemainingContractualTerm2": {
     "auth_ref": [
      "r463"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Weighted average remaining contractual term for option awards outstanding, in 'PnYnMnDTnHnMnS' format, for example, 'P1Y5M13D' represents the reported fact of one year, five months, and thirteen days.",
        "label": "Share-based Compensation Arrangement by Share-based Payment Award, Options, Outstanding, Weighted Average Remaining Contractual Term",
        "terseLabel": "Weighted average remaining contractual life, outstanding at March 31, 2022"
       }
      }
     },
     "localname": "SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsOutstandingWeightedAverageRemainingContractualTerm2",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.univest.net/role/StockBasedIncentivePlanStatusofOptionsGrantedUnderLongTermIncentivePlanDetail"
     ],
     "xbrltype": "durationItemType"
    },
    "us-gaap_SharesOutstanding": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Number of shares issued which are neither cancelled nor held in the treasury.",
        "label": "Shares, Outstanding",
        "periodEndLabel": "Ending balance, shares",
        "periodStartLabel": "Beginning balance, shares"
       }
      }
     },
     "localname": "SharesOutstanding",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.univest.net/role/CondensedConsolidatedStatementsofChangesinShareholdersEquity"
     ],
     "xbrltype": "sharesItemType"
    },
    "us-gaap_ShortTermBorrowings": {
     "auth_ref": [
      "r7",
      "r571",
      "r617",
      "r672"
     ],
     "calculation": {
      "http://www.univest.net/role/CondensedConsolidatedBalanceSheets": {
       "order": 2.0,
       "parentTag": "us-gaap_Liabilities",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Reflects the total carrying amount as of the balance sheet date of debt having initial terms less than one year or the normal operating cycle, if longer.",
        "label": "Short-term Debt",
        "terseLabel": "Short-term borrowings",
        "verboseLabel": "Balance at end of period"
       }
      }
     },
     "localname": "ShortTermBorrowings",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.univest.net/role/BorrowingsSummaryofBorrowingsByTypeDetails",
      "http://www.univest.net/role/CondensedConsolidatedBalanceSheets"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_ShortTermDebtTypeAxis": {
     "auth_ref": [
      "r21"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Information by type of short-term debt arrangement.",
        "label": "Short-term Debt, Type [Axis]",
        "terseLabel": "Short-term Debt, Type [Axis]"
       }
      }
     },
     "localname": "ShortTermDebtTypeAxis",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.univest.net/role/BorrowingsSummaryofBorrowingsByTypeDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_ShortTermDebtTypeDomain": {
     "auth_ref": [
      "r19"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Type of short-term debt arrangement, such as notes, line of credit, commercial paper, asset-based financing, project financing, letter of credit financing.",
        "label": "Short-term Debt, Type [Domain]",
        "terseLabel": "Short-term Debt, Type [Domain]"
       }
      }
     },
     "localname": "ShortTermDebtTypeDomain",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.univest.net/role/BorrowingsSummaryofBorrowingsByTypeDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_ShorttermDebtFairValue": {
     "auth_ref": [],
     "calculation": {
      "http://www.univest.net/role/FairValueDisclosuresAssetsLiabilitiesandOffbalanceSheetItemsNotMeasuredatFairValueDetails": {
       "order": 2.0,
       "parentTag": "us-gaap_LiabilitiesFairValueDisclosure",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "This element represents the portion of the balance sheet assertion valued at fair value by the entity whether such amount is presented as a separate caption or as a parenthetical disclosure. Additionally, this element may be used in connection with the fair value disclosures required in the footnote disclosures to the financial statements. The element may be used in both the balance sheet and disclosure in the same submission. This item represents the amount of short-term debt existing as of the balance sheet date.",
        "label": "Short-term Debt, Fair Value",
        "terseLabel": "Short-term borrowings"
       }
      }
     },
     "localname": "ShorttermDebtFairValue",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.univest.net/role/FairValueDisclosuresAssetsLiabilitiesandOffbalanceSheetItemsNotMeasuredatFairValueDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_SignificantAccountingPoliciesTextBlock": {
     "auth_ref": [
      "r96",
      "r101"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The entire disclosure for all significant accounting policies of the reporting entity.",
        "label": "Significant Accounting Policies [Text Block]",
        "terseLabel": "Summary of Significant Accounting Policies"
       }
      }
     },
     "localname": "SignificantAccountingPoliciesTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.univest.net/role/SummaryofSignificantAccountingPolicies"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_SpecialMentionMember": {
     "auth_ref": [
      "r186",
      "r262"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "A category of financing receivables considered to have potential weaknesses that deserve management's close attention. If left uncorrected, those potential weaknesses may result in a deterioration of the repayment prospects for the asset or of the creditor's position at some future date.",
        "label": "Special Mention [Member]",
        "terseLabel": "Special Mention"
       }
      }
     },
     "localname": "SpecialMentionMember",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.univest.net/role/LoansandLeasesCreditQualityDetails",
      "http://www.univest.net/role/LoansandLeasesCreditQualityIndicatorsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_StatementBusinessSegmentsAxis": {
     "auth_ref": [
      "r1",
      "r140",
      "r144",
      "r145",
      "r146",
      "r147",
      "r148",
      "r149",
      "r150",
      "r151",
      "r152",
      "r153",
      "r154",
      "r155",
      "r158",
      "r159",
      "r160",
      "r161",
      "r163",
      "r164",
      "r165",
      "r166",
      "r167",
      "r169",
      "r174",
      "r285",
      "r297",
      "r299",
      "r300",
      "r687"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Information by business segments.",
        "label": "Segments [Axis]",
        "terseLabel": "Segments [Axis]"
       }
      }
     },
     "localname": "StatementBusinessSegmentsAxis",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.univest.net/role/GoodwillandOtherIntangibleAssetsSummaryofChangesinCarryingAmountofGoodwillDetails",
      "http://www.univest.net/role/SegmentReportingScheduleofSegmentReportingDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_StatementEquityComponentsAxis": {
     "auth_ref": [
      "r0",
      "r26",
      "r51",
      "r52",
      "r53",
      "r102",
      "r103",
      "r104",
      "r106",
      "r112",
      "r114",
      "r132",
      "r248",
      "r338",
      "r340",
      "r470",
      "r471",
      "r472",
      "r479",
      "r480",
      "r530",
      "r555",
      "r556",
      "r557",
      "r558",
      "r559",
      "r561",
      "r692",
      "r693",
      "r694",
      "r734"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Information by component of equity.",
        "label": "Equity Components [Axis]",
        "terseLabel": "Equity Components [Axis]"
       }
      }
     },
     "localname": "StatementEquityComponentsAxis",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.univest.net/role/AccumulatedOtherComprehensiveLossIncomeComponentsofAccumulatedOtherComprehensiveLossIncomeNetofTaxesDetails",
      "http://www.univest.net/role/CondensedConsolidatedStatementsofChangesinShareholdersEquity"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_StatementLineItems": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "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.",
        "label": "Statement [Line Items]",
        "terseLabel": "Statement [Line Items]"
       }
      }
     },
     "localname": "StatementLineItems",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.univest.net/role/CondensedConsolidatedStatementsofChangesinShareholdersEquity"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_StatementOfCashFlowsAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Statement of Cash Flows [Abstract]"
       }
      }
     },
     "localname": "StatementOfCashFlowsAbstract",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "xbrltype": "stringItemType"
    },
    "us-gaap_StatementOfFinancialPositionAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Statement of Financial Position [Abstract]"
       }
      }
     },
     "localname": "StatementOfFinancialPositionAbstract",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "xbrltype": "stringItemType"
    },
    "us-gaap_StatementOfIncomeAndComprehensiveIncomeAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Statement of Comprehensive Income [Abstract]"
       }
      }
     },
     "localname": "StatementOfIncomeAndComprehensiveIncomeAbstract",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "xbrltype": "stringItemType"
    },
    "us-gaap_StatementOfStockholdersEquityAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Statement of Stockholders' Equity [Abstract]"
       }
      }
     },
     "localname": "StatementOfStockholdersEquityAbstract",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "xbrltype": "stringItemType"
    },
    "us-gaap_StatementTable": {
     "auth_ref": [
      "r102",
      "r103",
      "r104",
      "r132",
      "r606"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Schedule reflecting a Statement of Income, Statement of Cash Flows, Statement of Financial Position, Statement of Shareholders' Equity and Other Comprehensive Income, or other statement as needed.",
        "label": "Statement [Table]",
        "terseLabel": "Statement [Table]"
       }
      }
     },
     "localname": "StatementTable",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.univest.net/role/CondensedConsolidatedStatementsofChangesinShareholdersEquity"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_StockIssuedDuringPeriodSharesConversionOfUnits": {
     "auth_ref": [
      "r11",
      "r12",
      "r338",
      "r339",
      "r340"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The number of shares issued during the period upon the conversion of units. An example of a convertible unit is an umbrella partnership real estate investment trust unit (UPREIT unit).",
        "label": "Stock Issued During Period, Shares, Conversion of Units",
        "terseLabel": "Vesting of restricted stock unit awards, shares"
       }
      }
     },
     "localname": "StockIssuedDuringPeriodSharesConversionOfUnits",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.univest.net/role/CondensedConsolidatedStatementsofChangesinShareholdersEquity"
     ],
     "xbrltype": "sharesItemType"
    },
    "us-gaap_StockIssuedDuringPeriodSharesRestrictedStockAwardForfeited": {
     "auth_ref": [
      "r11",
      "r12",
      "r338",
      "r340"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Number of shares related to Restricted Stock Award forfeited during the period.",
        "label": "Stock Issued During Period, Shares, Restricted Stock Award, Forfeited",
        "negatedTerseLabel": "Cancellation of performance-based restricted stock awards, shares"
       }
      }
     },
     "localname": "StockIssuedDuringPeriodSharesRestrictedStockAwardForfeited",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.univest.net/role/CondensedConsolidatedStatementsofChangesinShareholdersEquity"
     ],
     "xbrltype": "sharesItemType"
    },
    "us-gaap_StockIssuedDuringPeriodSharesStockOptionsExercised": {
     "auth_ref": [
      "r11",
      "r12",
      "r338",
      "r340",
      "r453"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Number of share options (or share units) exercised during the current period.",
        "label": "Share-based Compensation Arrangement by Share-based Payment Award, Options, Exercises in Period",
        "negatedTerseLabel": "Shares under option, exercised",
        "terseLabel": "Shares under option, exercised"
       }
      }
     },
     "localname": "StockIssuedDuringPeriodSharesStockOptionsExercised",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.univest.net/role/CondensedConsolidatedStatementsofChangesinShareholdersEquity",
      "http://www.univest.net/role/StockBasedIncentivePlanStatusofOptionsGrantedUnderLongTermIncentivePlanDetail"
     ],
     "xbrltype": "sharesItemType"
    },
    "us-gaap_StockIssuedDuringPeriodValueConversionOfUnits": {
     "auth_ref": [
      "r26",
      "r338",
      "r340"
     ],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Value of stock issued during the period upon the conversion of units. An example of a convertible unit is an umbrella partnership real estate investment trust unit (UPREIT unit).",
        "label": "Stock Issued During Period, Value, Conversion of Units",
        "terseLabel": "Vesting of restricted stock units"
       }
      }
     },
     "localname": "StockIssuedDuringPeriodValueConversionOfUnits",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.univest.net/role/CondensedConsolidatedStatementsofChangesinShareholdersEquity"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_StockIssuedDuringPeriodValueRestrictedStockAwardForfeitures": {
     "auth_ref": [
      "r11",
      "r12",
      "r338",
      "r340"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Value of stock related to Restricted Stock Awards forfeited during the period.",
        "label": "Stock Issued During Period, Value, Restricted Stock Award, Forfeitures",
        "negatedTerseLabel": "Cancellation of performance-based restricted stock awards"
       }
      }
     },
     "localname": "StockIssuedDuringPeriodValueRestrictedStockAwardForfeitures",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.univest.net/role/CondensedConsolidatedStatementsofChangesinShareholdersEquity"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_StockIssuedDuringPeriodValueStockOptionsExercised": {
     "auth_ref": [
      "r26",
      "r338",
      "r340"
     ],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Value of stock issued as a result of the exercise of stock options.",
        "label": "Stock Issued During Period, Value, Stock Options Exercised",
        "terseLabel": "Exercise of stock options"
       }
      }
     },
     "localname": "StockIssuedDuringPeriodValueStockOptionsExercised",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.univest.net/role/CondensedConsolidatedStatementsofChangesinShareholdersEquity"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_StockholdersEquity": {
     "auth_ref": [
      "r12",
      "r16",
      "r17",
      "r98",
      "r195",
      "r247",
      "r553",
      "r571"
     ],
     "calculation": {
      "http://www.univest.net/role/CondensedConsolidatedBalanceSheets": {
       "order": 2.0,
       "parentTag": "us-gaap_LiabilitiesAndStockholdersEquity",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Total of all stockholders' equity (deficit) items, net of receivables from officers, directors, owners, and affiliates of the entity which are attributable to the parent. The amount of the economic entity's stockholders' equity attributable to the parent excludes the amount of stockholders' equity which is allocable to that ownership interest in subsidiary equity which is not attributable to the parent (noncontrolling interest, minority interest). This excludes temporary equity and is sometimes called permanent equity.",
        "label": "Stockholders' Equity Attributable to Parent",
        "periodEndLabel": "Ending balance",
        "periodStartLabel": "Beginning balance",
        "totalLabel": "Total shareholders\u2019 equity"
       }
      }
     },
     "localname": "StockholdersEquity",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.univest.net/role/CondensedConsolidatedBalanceSheets",
      "http://www.univest.net/role/CondensedConsolidatedStatementsofChangesinShareholdersEquity"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_StockholdersEquityAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Stockholders' Equity Attributable to Parent [Abstract]",
        "terseLabel": "SHAREHOLDERS' EQUITY"
       }
      }
     },
     "localname": "StockholdersEquityAbstract",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.univest.net/role/CondensedConsolidatedBalanceSheets"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_SubordinatedDebt": {
     "auth_ref": [
      "r8",
      "r10",
      "r619",
      "r673"
     ],
     "calculation": {
      "http://www.univest.net/role/CondensedConsolidatedBalanceSheets": {
       "order": 3.0,
       "parentTag": "us-gaap_Liabilities",
       "weight": 1.0
      },
      "http://www.univest.net/role/FairValueDisclosuresAssetsLiabilitiesandOffbalanceSheetItemsNotMeasuredatFairValueDetails": {
       "order": 4.0,
       "parentTag": "us-gaap_LiabilitiesFairValueDisclosure",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Including the current and noncurrent portions, carrying value as of the balance sheet date of subordinated debt (with initial maturities beyond one year or beyond the operating cycle if longer). Subordinated debt places a lender in a lien position behind debt having a higher priority of repayment in liquidation of the entity's assets.",
        "label": "Subordinated Debt",
        "terseLabel": "Subordinated notes"
       }
      }
     },
     "localname": "SubordinatedDebt",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.univest.net/role/CondensedConsolidatedBalanceSheets",
      "http://www.univest.net/role/FairValueDisclosuresAssetsLiabilitiesandOffbalanceSheetItemsNotMeasuredatFairValueDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_SubordinatedDebtMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "This element represents domestic or foreign subordinated debt. Subordinated debt has a lower priority of repayment in liquidation of the entity's assets.",
        "label": "Subordinated Debt [Member]",
        "terseLabel": "Subordinated Debt [Member]"
       }
      }
     },
     "localname": "SubordinatedDebtMember",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.univest.net/role/BorrowingsSummaryofBorrowingsByTypeDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_SubstandardMember": {
     "auth_ref": [
      "r186",
      "r262"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "A category of financing receivables that are inadequately protected by the current sound worth and paying capacity of the obligor or of the collateral pledged, if any. Loans so classified have a well-defined weakness or weaknesses that jeopardize the liquidation of the debt. They are characterized by the distinct possibility that the creditor will sustain some loss if the deficiencies are not corrected.",
        "label": "Substandard [Member]",
        "terseLabel": "Substandard"
       }
      }
     },
     "localname": "SubstandardMember",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.univest.net/role/LoansandLeasesCreditQualityDetails",
      "http://www.univest.net/role/LoansandLeasesCreditQualityIndicatorsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_SupplementalCashFlowInformationAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Supplemental Cash Flow Information [Abstract]",
        "terseLabel": "Supplemental disclosures of cash flow information:"
       }
      }
     },
     "localname": "SupplementalCashFlowInformationAbstract",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.univest.net/role/CondensedConsolidatedStatementsofCashFlows"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_TimeDepositMaturitiesAfterYearFive": {
     "auth_ref": [
      "r304"
     ],
     "calculation": {
      "http://www.univest.net/role/DepositsScheduleofMaturitiesofTimeDepositsDetail": {
       "order": 6.0,
       "parentTag": "us-gaap_TimeDeposits",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of time deposit maturing after fifth fiscal year following current fiscal year. Time deposit includes, but is not limited to, certificate of deposit. Excludes interim and annual periods when interim periods are reported from current statement of financial position date (rolling approach).",
        "label": "Time Deposit Maturities, after Year Five",
        "terseLabel": "Thereafter"
       }
      }
     },
     "localname": "TimeDepositMaturitiesAfterYearFive",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.univest.net/role/DepositsScheduleofMaturitiesofTimeDepositsDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_TimeDepositMaturitiesYearFive": {
     "auth_ref": [
      "r304"
     ],
     "calculation": {
      "http://www.univest.net/role/DepositsScheduleofMaturitiesofTimeDepositsDetail": {
       "order": 5.0,
       "parentTag": "us-gaap_TimeDeposits",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of time deposit maturing in fifth fiscal year following current fiscal year. Time deposit includes, but is not limited to, certificate of deposit. Excludes interim and annual periods when interim periods are reported from current statement of financial position date (rolling approach).",
        "label": "Time Deposit Maturities, Year Five",
        "terseLabel": "2026"
       }
      }
     },
     "localname": "TimeDepositMaturitiesYearFive",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.univest.net/role/DepositsScheduleofMaturitiesofTimeDepositsDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_TimeDepositMaturitiesYearFour": {
     "auth_ref": [
      "r304"
     ],
     "calculation": {
      "http://www.univest.net/role/DepositsScheduleofMaturitiesofTimeDepositsDetail": {
       "order": 4.0,
       "parentTag": "us-gaap_TimeDeposits",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of time deposit maturing in fourth fiscal year following current fiscal year. Time deposit includes, but is not limited to, certificate of deposit. Excludes interim and annual periods when interim periods are reported from current statement of financial position date (rolling approach).",
        "label": "Time Deposit Maturities, Year Four",
        "terseLabel": "2025"
       }
      }
     },
     "localname": "TimeDepositMaturitiesYearFour",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.univest.net/role/DepositsScheduleofMaturitiesofTimeDepositsDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_TimeDepositMaturitiesYearOne": {
     "auth_ref": [
      "r304"
     ],
     "calculation": {
      "http://www.univest.net/role/DepositsScheduleofMaturitiesofTimeDepositsDetail": {
       "order": 1.0,
       "parentTag": "us-gaap_TimeDeposits",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of time deposit maturing in next fiscal year following current fiscal year. Time deposit includes, but is not limited to, certificate of deposit. Excludes interim and annual periods when interim periods are reported from current statement of financial position date (rolling approach).",
        "label": "Time Deposit Maturities, Year One",
        "terseLabel": "Remainder of 2022"
       }
      }
     },
     "localname": "TimeDepositMaturitiesYearOne",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.univest.net/role/DepositsScheduleofMaturitiesofTimeDepositsDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_TimeDepositMaturitiesYearThree": {
     "auth_ref": [
      "r304"
     ],
     "calculation": {
      "http://www.univest.net/role/DepositsScheduleofMaturitiesofTimeDepositsDetail": {
       "order": 3.0,
       "parentTag": "us-gaap_TimeDeposits",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of time deposit maturing in third fiscal year following current fiscal year. Time deposit includes, but is not limited to, certificate of deposit. Excludes interim and annual periods when interim periods are reported from current statement of financial position date (rolling approach).",
        "label": "Time Deposit Maturities, Year Three",
        "terseLabel": "2024"
       }
      }
     },
     "localname": "TimeDepositMaturitiesYearThree",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.univest.net/role/DepositsScheduleofMaturitiesofTimeDepositsDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_TimeDepositMaturitiesYearTwo": {
     "auth_ref": [
      "r304"
     ],
     "calculation": {
      "http://www.univest.net/role/DepositsScheduleofMaturitiesofTimeDepositsDetail": {
       "order": 2.0,
       "parentTag": "us-gaap_TimeDeposits",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of time deposit maturing in second fiscal year following current fiscal year. Time deposit includes, but is not limited to, certificate of deposit. Excludes interim and annual periods when interim periods are reported from current statement of financial position date (rolling approach).",
        "label": "Time Deposit Maturities, Year Two",
        "terseLabel": "2023"
       }
      }
     },
     "localname": "TimeDepositMaturitiesYearTwo",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.univest.net/role/DepositsScheduleofMaturitiesofTimeDepositsDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_TimeDeposits": {
     "auth_ref": [
      "r623",
      "r666"
     ],
     "calculation": {
      "http://www.univest.net/role/DepositsScheduleofMaturitiesofTimeDepositsDetail": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      },
      "http://www.univest.net/role/FairValueDisclosuresAssetsLiabilitiesandOffbalanceSheetItemsNotMeasuredatFairValueDetails": {
       "order": 2.0,
       "parentTag": "us-gaap_DepositsFairValueDisclosure",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of time deposit liabilities, including certificates of deposit.",
        "label": "Time Deposits",
        "terseLabel": "Time Deposits",
        "totalLabel": "Time Deposits, Total"
       }
      }
     },
     "localname": "TimeDeposits",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.univest.net/role/DepositsScheduleofComponentsofWeightedAverageInterestRateandBalanceofDepositsDetails",
      "http://www.univest.net/role/DepositsScheduleofMaturitiesofTimeDepositsDetail",
      "http://www.univest.net/role/FairValueDisclosuresAssetsLiabilitiesandOffbalanceSheetItemsNotMeasuredatFairValueDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_TimeDepositsAtOrAboveFDICInsuranceLimit": {
     "auth_ref": [
      "r666"
     ],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of time deposit liabilities, including certificates of deposit, in denominations that meet or exceed the Federal Deposit Insurance Corporation (FDIC) insurance limit.",
        "label": "Time Deposits, at or Above FDIC Insurance Limit",
        "terseLabel": "Aggregate amount of time deposits in denominations over $250 thousand"
       }
      }
     },
     "localname": "TimeDepositsAtOrAboveFDICInsuranceLimit",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.univest.net/role/DepositsAdditionalInformationDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_TransferToOtherRealEstate": {
     "auth_ref": [
      "r92",
      "r93",
      "r94"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Value transferred from mortgage loans to real estate owned (REO) in noncash transactions.",
        "label": "Real Estate Owned, Transfer to Real Estate Owned",
        "terseLabel": "Transfer of loans to other real estate owned"
       }
      }
     },
     "localname": "TransferToOtherRealEstate",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.univest.net/role/CondensedConsolidatedStatementsofCashFlows"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain": {
     "auth_ref": [
      "r224",
      "r228",
      "r243",
      "r244",
      "r245",
      "r330",
      "r337",
      "r529",
      "r572",
      "r573",
      "r574",
      "r575",
      "r576",
      "r577",
      "r578",
      "r579",
      "r580",
      "r581",
      "r582",
      "r583",
      "r584",
      "r585",
      "r586",
      "r590",
      "r591",
      "r592",
      "r593",
      "r594",
      "r595",
      "r596",
      "r597",
      "r598",
      "r599",
      "r600",
      "r601",
      "r602",
      "r603",
      "r604",
      "r716",
      "r717",
      "r718",
      "r719",
      "r720",
      "r721",
      "r722"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Instrument or contract that imposes a contractual obligation to deliver cash or another financial instrument or to exchange other financial instruments on potentially unfavorable terms and conveys a contractual right to receive cash or another financial instrument or to exchange other financial instruments on potentially favorable terms.",
        "label": "Financial Instruments [Domain]",
        "terseLabel": "Financial Instruments [Domain]"
       }
      }
     },
     "localname": "TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.univest.net/role/InvestmentSecuritiesAllowanceforCreditLossRollforwardDetails",
      "http://www.univest.net/role/InvestmentSecuritiesAmountofSecuritiesinUnrealizedLossPositionDetail",
      "http://www.univest.net/role/InvestmentSecuritiesHeldtoMaturityandAvailableforSaleScheduledMaturitiesDetails",
      "http://www.univest.net/role/InvestmentSecuritiesNarrativeDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_TreasuryStockMember": {
     "auth_ref": [
      "r25",
      "r341"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Shares of an entity that have been repurchased by the entity. This stock has no voting rights and receives no dividends. Note that treasury stock may be recorded at its total cost or separately as par (or stated) value and additional paid in capital. Classified within stockholders' equity if nonredeemable or redeemable solely at the option of the issuer. Classified within temporary equity if redemption is outside the control of the issuer.",
        "label": "Treasury Stock [Member]",
        "terseLabel": "Treasury Stock [Member]"
       }
      }
     },
     "localname": "TreasuryStockMember",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.univest.net/role/CondensedConsolidatedStatementsofChangesinShareholdersEquity"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_TreasuryStockShares": {
     "auth_ref": [
      "r25",
      "r341"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Number of common and preferred shares that were previously issued and that were repurchased by the issuing entity and held in treasury on the financial statement date. This stock has no voting rights and receives no dividends.",
        "label": "Treasury Stock, Shares",
        "terseLabel": "Treasury stock, shares"
       }
      }
     },
     "localname": "TreasuryStockShares",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.univest.net/role/CondensedConsolidatedBalanceSheetsParenthetical"
     ],
     "xbrltype": "sharesItemType"
    },
    "us-gaap_TreasuryStockSharesAcquired": {
     "auth_ref": [
      "r12",
      "r338",
      "r340"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Number of shares that have been repurchased during the period and are being held in treasury.",
        "label": "Treasury Stock, Shares, Acquired",
        "negatedLabel": "Purchases of treasury stock, shares"
       }
      }
     },
     "localname": "TreasuryStockSharesAcquired",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.univest.net/role/CondensedConsolidatedStatementsofChangesinShareholdersEquity"
     ],
     "xbrltype": "sharesItemType"
    },
    "us-gaap_TreasuryStockValue": {
     "auth_ref": [
      "r25",
      "r341",
      "r342"
     ],
     "calculation": {
      "http://www.univest.net/role/CondensedConsolidatedBalanceSheets": {
       "order": 5.0,
       "parentTag": "us-gaap_StockholdersEquity",
       "weight": -1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The amount allocated to treasury stock. Treasury stock is common and preferred shares of an entity that were issued, repurchased by the entity, and are held in its treasury.",
        "label": "Treasury Stock, Value",
        "negatedLabel": "Treasury stock, at cost; 1,920,374 and 2,056,257 shares at March 31, 2022 and December 31, 2021, respectively"
       }
      }
     },
     "localname": "TreasuryStockValue",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.univest.net/role/CondensedConsolidatedBalanceSheets"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_TreasuryStockValueAcquiredCostMethod": {
     "auth_ref": [
      "r338",
      "r340",
      "r341"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Equity impact of the cost of common and preferred stock that were repurchased during the period. Recorded using the cost method.",
        "label": "Treasury Stock, Value, Acquired, Cost Method",
        "negatedLabel": "Purchases of treasury stock"
       }
      }
     },
     "localname": "TreasuryStockValueAcquiredCostMethod",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.univest.net/role/CondensedConsolidatedStatementsofChangesinShareholdersEquity"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_TroubledDebtRestructuringsOnFinancingReceivablesTableTextBlock": {
     "auth_ref": [
      "r188",
      "r189"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Tabular disclosure of financing receivable modified as troubled debt restructuring.",
        "label": "Financing Receivable, Troubled Debt Restructuring [Table Text Block]",
        "terseLabel": "Schedule of Accruing and Nonaccruing Troubled Debt Restructured Loans"
       }
      }
     },
     "localname": "TroubledDebtRestructuringsOnFinancingReceivablesTableTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.univest.net/role/LoansandLeasesTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_USGovernmentCorporationsAndAgenciesSecuritiesMember": {
     "auth_ref": [
      "r652"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "This category includes information about debt issued by US Government Corporations and Agencies. Investments in such US Government Corporations may include debt securities issued by the Government National Mortgage Association (Ginnie Mae) and by the Federal National Mortgage Association (Fannie Mae) and the Federal Home Loan Mortgage Corporation (Freddie Mac).",
        "label": "US Government Corporations and Agencies Securities [Member]",
        "terseLabel": "U.S. Government Corporations and Agencies [Member]"
       }
      }
     },
     "localname": "USGovernmentCorporationsAndAgenciesSecuritiesMember",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.univest.net/role/InvestmentSecuritiesHeldtoMaturityandAvailableforSaleScheduledMaturitiesDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_USStatesAndPoliticalSubdivisionsMember": {
     "auth_ref": [
      "r378",
      "r698"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Bonds or similar securities issued by state, city, or local US governments or the agencies operated by state, city, or local governments. Debt securities issued by state governments may include bond issuances of US state authorities including, for example, but not limited to, housing authorities, dormitory authorities, and general obligations while debt securities issued by political subdivisions of US states would include, for example, debt issuances by county, borough, city, or municipal governments.",
        "label": "US States and Political Subdivisions Debt Securities [Member]",
        "terseLabel": "State and Political Subdivisions [Member]"
       }
      }
     },
     "localname": "USStatesAndPoliticalSubdivisionsMember",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.univest.net/role/FairValueDisclosuresAssetsandLiabilitiesMeasuredatFairValueonRecurringBasisDetails",
      "http://www.univest.net/role/InvestmentSecuritiesAmountofSecuritiesinUnrealizedLossPositionDetail",
      "http://www.univest.net/role/InvestmentSecuritiesHeldtoMaturityandAvailableforSaleScheduledMaturitiesDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_UnallocatedFinancingReceivablesMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Financing receivables that have not been allocated to a portfolio segment.",
        "label": "Unallocated Financing Receivables [Member]",
        "terseLabel": "Unallocated [Member]"
       }
      }
     },
     "localname": "UnallocatedFinancingReceivablesMember",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.univest.net/role/LoansandLeasesAllowanceforCreditLossesLoansandLeasesRollForwardDetails",
      "http://www.univest.net/role/LoansandLeasesAllowanceforLoanandLeaseLossesandRecordedInvestmentinLoansandLeasesDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_UseOfEstimates": {
     "auth_ref": [
      "r133",
      "r134",
      "r135",
      "r136",
      "r137",
      "r138",
      "r139"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Disclosure of accounting policy for the use of estimates in the preparation of financial statements in conformity with generally accepted accounting principles.",
        "label": "Use of Estimates, Policy [Policy Text Block]",
        "terseLabel": "Use of Estimates"
       }
      }
     },
     "localname": "UseOfEstimates",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.univest.net/role/SummaryofSignificantAccountingPoliciesPolicies"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_ValuationAllowanceForImpairmentOfRecognizedServicingAssetsBalance": {
     "auth_ref": [
      "r602"
     ],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Reflects the estimated amount of impairment as of the balance sheet date of recognized servicing assets that are being amortized in proportion to and over the period of estimated net servicing income or loss.",
        "label": "Valuation Allowance for Impairment of Recognized Servicing Assets, Balance",
        "negatedPeriodEndLabel": "Valuation allowance, end of period",
        "negatedPeriodStartLabel": "Valuation allowance, beginning of period",
        "terseLabel": "Valuation allowance included in accumulated amortization"
       }
      }
     },
     "localname": "ValuationAllowanceForImpairmentOfRecognizedServicingAssetsBalance",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.univest.net/role/GoodwillandOtherIntangibleAssetsActivityInValuationAllowanceForServicingRightsDetails",
      "http://www.univest.net/role/GoodwillandOtherIntangibleAssetsComponentsofIntangibleAssetsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_ValuationAllowanceForImpairmentOfRecognizedServicingAssetsLineItems": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "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.",
        "label": "Valuation Allowance for Impairment of Recognized Servicing Assets [Line Items]",
        "terseLabel": "Valuation Allowance for Impairment of Recognized Servicing Assets [Line Items]"
       }
      }
     },
     "localname": "ValuationAllowanceForImpairmentOfRecognizedServicingAssetsLineItems",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.univest.net/role/GoodwillandOtherIntangibleAssetsActivityInValuationAllowanceForServicingRightsDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_ValuationAllowanceForImpairmentOfRecognizedServicingAssetsRecoveries": {
     "auth_ref": [
      "r603"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of decrease in the valuation allowance for impairment of contract to service financial assets under which the benefits of servicing are expected to more than adequately compensate the servicer from recoveries recognized.",
        "label": "Valuation Allowance for Impairment of Recognized Servicing Assets, Deductions for Recoveries",
        "terseLabel": "Reductions"
       }
      }
     },
     "localname": "ValuationAllowanceForImpairmentOfRecognizedServicingAssetsRecoveries",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.univest.net/role/GoodwillandOtherIntangibleAssetsActivityInValuationAllowanceForServicingRightsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_ValuationAllowanceForImpairmentOfRecognizedServicingAssetsRollForward": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "A roll forward is a reconciliation of a concept from the beginning of a period to the end of a period.",
        "label": "Valuation Allowance for Impairment of Recognized Servicing Assets [Roll Forward]",
        "terseLabel": "Valuation Allowance for Impairment of Recognized Servicing Assets [Roll Forward]"
       }
      }
     },
     "localname": "ValuationAllowanceForImpairmentOfRecognizedServicingAssetsRollForward",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.univest.net/role/GoodwillandOtherIntangibleAssetsActivityInValuationAllowanceForServicingRightsDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_VariableRateAxis": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Information by type of variable rate.",
        "label": "Variable Rate [Axis]",
        "terseLabel": "Variable Rate [Axis]"
       }
      }
     },
     "localname": "VariableRateAxis",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.univest.net/role/DerivativeInstrumentsandHedgingActivitiesNarrativeDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_VariableRateDomain": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Interest rate that fluctuates over time as a result of an underlying benchmark interest rate or index.",
        "label": "Variable Rate [Domain]",
        "terseLabel": "Variable Rate [Domain]"
       }
      }
     },
     "localname": "VariableRateDomain",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.univest.net/role/DerivativeInstrumentsandHedgingActivitiesNarrativeDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_WeightedAverageNumberOfDilutedSharesOutstanding": {
     "auth_ref": [
      "r117",
      "r125"
     ],
     "calculation": {
      "http://www.univest.net/role/EarningsperShareBasicandDilutedEarningsPerShareDetails": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      }
     },
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The average number of shares or units issued and outstanding that are used in calculating diluted EPS or earnings per unit (EPU), determined based on the timing of issuance of shares or units in the period.",
        "label": "Weighted Average Number of Shares Outstanding, Diluted",
        "totalLabel": "Denominator for diluted earnings per share\u2014adjusted weighted-average shares outstanding"
       }
      }
     },
     "localname": "WeightedAverageNumberOfDilutedSharesOutstanding",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.univest.net/role/EarningsperShareBasicandDilutedEarningsPerShareDetails"
     ],
     "xbrltype": "sharesItemType"
    },
    "us-gaap_WeightedAverageNumberOfSharesIssuedBasic": {
     "auth_ref": [
      "r115",
      "r116"
     ],
     "calculation": {
      "http://www.univest.net/role/EarningsperShareBasicandDilutedEarningsPerShareDetails": {
       "order": 1.0,
       "parentTag": "us-gaap_WeightedAverageNumberOfSharesOutstandingBasic",
       "weight": 1.0
      }
     },
     "lang": {
      "en-us": {
       "role": {
        "documentation": "This element represents the weighted average total number of shares issued throughout the period including the first (beginning balance outstanding) and last (ending balance outstanding) day of the period before considering any reductions (for instance, shares held in treasury) to arrive at the weighted average number of shares outstanding. Weighted average relates to the portion of time within a reporting period that common shares have been issued and outstanding to the total time in that period. Such concept is used in determining the weighted average number of shares outstanding for purposes of calculating earnings per share (basic).",
        "label": "Weighted Average Number of Shares Issued, Basic",
        "terseLabel": "Weighted average shares outstanding"
       }
      }
     },
     "localname": "WeightedAverageNumberOfSharesIssuedBasic",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.univest.net/role/EarningsperShareBasicandDilutedEarningsPerShareDetails"
     ],
     "xbrltype": "sharesItemType"
    },
    "us-gaap_WeightedAverageNumberOfSharesOutstandingBasic": {
     "auth_ref": [
      "r115",
      "r125"
     ],
     "calculation": {
      "http://www.univest.net/role/EarningsperShareBasicandDilutedEarningsPerShareDetails": {
       "order": 1.0,
       "parentTag": "us-gaap_WeightedAverageNumberOfDilutedSharesOutstanding",
       "weight": 1.0
      }
     },
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Number of [basic] shares or units, after adjustment for contingently issuable shares or units and other shares or units not deemed outstanding, determined by relating the portion of time within a reporting period that common shares or units have been outstanding to the total time in that period.",
        "label": "Weighted Average Number of Shares Outstanding, Basic",
        "totalLabel": "Denominator for basic earnings per share\u2014weighted-average shares outstanding"
       }
      }
     },
     "localname": "WeightedAverageNumberOfSharesOutstandingBasic",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.univest.net/role/EarningsperShareBasicandDilutedEarningsPerShareDetails"
     ],
     "xbrltype": "sharesItemType"
    },
    "us-gaap_WeightedAverageNumberOfSharesRestrictedStock": {
     "auth_ref": [
      "r116"
     ],
     "calculation": {
      "http://www.univest.net/role/EarningsperShareBasicandDilutedEarningsPerShareDetails": {
       "order": 2.0,
       "parentTag": "us-gaap_WeightedAverageNumberOfSharesOutstandingBasic",
       "weight": -1.0
      }
     },
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Number of shares of restricted stock determined by relating the portion of time within a reporting period that restricted shares have been outstanding to the total time in that period. Restricted shares are subject to sales, contractual, regulatory or other restrictions that prevent or inhibit the holder from freely disposing of them before the restriction ends.",
        "label": "Weighted Average Number of Shares, Restricted Stock",
        "negatedTerseLabel": "Average unvested restricted stock awards"
       }
      }
     },
     "localname": "WeightedAverageNumberOfSharesRestrictedStock",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.univest.net/role/EarningsperShareBasicandDilutedEarningsPerShareDetails"
     ],
     "xbrltype": "sharesItemType"
    },
    "us-gaap_WeightedAverageRateDomesticDeposit": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Weighted average interest rate calculated at point in time for domestic deposit liability.",
        "label": "Weighted Average Rate, Interest-bearing Domestic Deposits, Point in Time",
        "terseLabel": "Total deposits"
       }
      }
     },
     "localname": "WeightedAverageRateDomesticDeposit",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.univest.net/role/DepositsScheduleofComponentsofWeightedAverageInterestRateandBalanceofDepositsDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "us-gaap_WeightedAverageRateDomesticDepositDemand": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The weighted average interest rate for domestic demand deposit liabilities.",
        "label": "Weighted Average Rate Domestic Deposit, Demand",
        "terseLabel": "Demand deposits"
       }
      }
     },
     "localname": "WeightedAverageRateDomesticDepositDemand",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.univest.net/role/DepositsScheduleofComponentsofWeightedAverageInterestRateandBalanceofDepositsDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "us-gaap_WeightedAverageRateDomesticDepositLiabilitiesAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Weighted Average Rate Domestic Deposit Liabilities [Abstract]",
        "terseLabel": "Weighted Average Rate Domestic Deposit Liabilities [Abstract]"
       }
      }
     },
     "localname": "WeightedAverageRateDomesticDepositLiabilitiesAbstract",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.univest.net/role/DepositsScheduleofComponentsofWeightedAverageInterestRateandBalanceofDepositsDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_WeightedAverageRateDomesticDepositSavings": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The weighted average interest rate for domestic savings deposit liabilities.",
        "label": "Weighted Average Rate Domestic Deposit, Savings",
        "terseLabel": "Savings deposits"
       }
      }
     },
     "localname": "WeightedAverageRateDomesticDepositSavings",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.univest.net/role/DepositsScheduleofComponentsofWeightedAverageInterestRateandBalanceofDepositsDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "us-gaap_WeightedAverageRateDomesticDepositTimeDeposits": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The weighted average interest rate for domestic time deposit liabilities.",
        "label": "Weighted Average Rate Domestic Deposit, Time Deposits",
        "terseLabel": "Time deposits"
       }
      }
     },
     "localname": "WeightedAverageRateDomesticDepositTimeDeposits",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.univest.net/role/DepositsScheduleofComponentsofWeightedAverageInterestRateandBalanceofDepositsDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "uvsp_AccrualTroubledDebtRestructuringLoansMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Accrual troubled debt restructuring loans.",
        "label": "Accrual Troubled Debt Restructuring Loans [Member]",
        "terseLabel": "Accrual Troubled Debt Restructuring Loans [Member]"
       }
      }
     },
     "localname": "AccrualTroubledDebtRestructuringLoansMember",
     "nsuri": "http://www.univest.net/20220331",
     "presentation": [
      "http://www.univest.net/role/LoansandLeasesAccruingandNonaccruingTroubledDebtRestructuredLoanswithPaymentDefaultsDetails",
      "http://www.univest.net/role/LoansandLeasesScheduleofConcessionsGrantedonAccruingandNonaccrualTroubledLoansDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "uvsp_AccruingTroubledDebtRestructuredLoansAndLeaseModifications": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Accruing troubled debt restructured loans and lease modifications.",
        "label": "Accruing Troubled Debt Restructured Loans And Lease Modifications",
        "terseLabel": "Accruing troubled debt restructured loans and lease modifications"
       }
      }
     },
     "localname": "AccruingTroubledDebtRestructuredLoansAndLeaseModifications",
     "nsuri": "http://www.univest.net/20220331",
     "presentation": [
      "http://www.univest.net/role/LoansandLeasesNonperformingLoansandLeasesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "uvsp_ActivityInValuationAllowanceForMortgageServicingRightsTableTableTextBlock": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Tabular disclosure of change in balance of mortgage servicing rights valuation allowance, including additions, reductions and direct write-downs.",
        "label": "Activity In Valuation Allowance For Mortgage Servicing Rights Table [Table Text Block]",
        "terseLabel": "Activity In Valuation Allowance For Servicing Rights"
       }
      }
     },
     "localname": "ActivityInValuationAllowanceForMortgageServicingRightsTableTableTextBlock",
     "nsuri": "http://www.univest.net/20220331",
     "presentation": [
      "http://www.univest.net/role/GoodwillandOtherIntangibleAssetsTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "uvsp_AmountOfMaintainedFederalFundLinesOfCreditWithCorrespondentBanks": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of maintained federal fund lines of credit with correspondent banks.",
        "label": "Amount Of Maintained Federal Fund Lines Of Credit With Correspondent Banks",
        "terseLabel": "Amount of maintained federal fund lines of credit with correspondent banks"
       }
      }
     },
     "localname": "AmountOfMaintainedFederalFundLinesOfCreditWithCorrespondentBanks",
     "nsuri": "http://www.univest.net/20220331",
     "presentation": [
      "http://www.univest.net/role/BorrowingsAdditionalInformationDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "uvsp_AmountOfMaintainedLineOfCreditWithCorrespondentBankParentCompany": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of maintained line of credit with correspondent bank for the parent company.",
        "label": "Amount Of Maintained Line Of Credit With Correspondent Bank - Parent Company",
        "terseLabel": "Amount of maintained line of credit with correspondent bank - parent company"
       }
      }
     },
     "localname": "AmountOfMaintainedLineOfCreditWithCorrespondentBankParentCompany",
     "nsuri": "http://www.univest.net/20220331",
     "presentation": [
      "http://www.univest.net/role/BorrowingsAdditionalInformationDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "uvsp_AmountofLoanRelationshipBalanceLoansReviewedAnnually": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of a loan relationship balance of which the loans are reviewed annually.",
        "label": "Amount of Loan Relationship Balance, Loans Reviewed Annually",
        "terseLabel": "Amount of loan relationship balance, loans reviewed annually"
       }
      }
     },
     "localname": "AmountofLoanRelationshipBalanceLoansReviewedAnnually",
     "nsuri": "http://www.univest.net/20220331",
     "presentation": [
      "http://www.univest.net/role/LoansandLeasesNarrativeDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "uvsp_AmountofLoanRelationshipBalanceLoansReviewedonaPerformanceBasis": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of a loan relationship balance of which the loans are reviewed on a performance basis.",
        "label": "Amount of Loan Relationship Balance, Loans Reviewed on a Performance Basis",
        "terseLabel": "Amount of loan relationship balance, loans reviewed on a performance basis"
       }
      }
     },
     "localname": "AmountofLoanRelationshipBalanceLoansReviewedonaPerformanceBasis",
     "nsuri": "http://www.univest.net/20220331",
     "presentation": [
      "http://www.univest.net/role/LoansandLeasesNarrativeDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "uvsp_AvailableForSaleDebtSecuritiesAccumulatedGrossUnrealizedGainbeforeTaxAfterTenYears": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Available For Sale Debt Securities, Accumulated Gross Unrealized Gain, before Tax, After Ten Years",
        "label": "Available For Sale Debt Securities, Accumulated Gross Unrealized Gain, before Tax, After Ten Years",
        "terseLabel": "Securities Available-for-Sale,Gross Unrealized Gain, Over 10 Years"
       }
      }
     },
     "localname": "AvailableForSaleDebtSecuritiesAccumulatedGrossUnrealizedGainbeforeTaxAfterTenYears",
     "nsuri": "http://www.univest.net/20220331",
     "presentation": [
      "http://www.univest.net/role/InvestmentSecuritiesHeldtoMaturityandAvailableforSaleScheduledMaturitiesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "uvsp_AvailableForSaleDebtSecuritiesAccumulatedGrossUnrealizedGainbeforeTaxNextTwelveMonths": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Available For Sale Debt Securities, Accumulated Gross Unrealized Gain, before Tax, Next Twelve Months",
        "label": "Available For Sale Debt Securities, Accumulated Gross Unrealized Gain, before Tax, Next Twelve Months",
        "terseLabel": "Securities Available-for-Sale,Gross Unrealized Gain, Within 1 Year"
       }
      }
     },
     "localname": "AvailableForSaleDebtSecuritiesAccumulatedGrossUnrealizedGainbeforeTaxNextTwelveMonths",
     "nsuri": "http://www.univest.net/20220331",
     "presentation": [
      "http://www.univest.net/role/InvestmentSecuritiesHeldtoMaturityandAvailableforSaleScheduledMaturitiesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "uvsp_AvailableForSaleDebtSecuritiesAccumulatedGrossUnrealizedGainbeforeTaxYearSixThroughTen": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Available For Sale Debt Securities, Accumulated Gross Unrealized Gain, before Tax, Year Six Through Ten",
        "label": "Available For Sale Debt Securities, Accumulated Gross Unrealized Gain, before Tax, Year Six Through Ten",
        "terseLabel": "Securities Available-for-Sale,Gross Unrealized Gain, After 5 Years to 10 Years"
       }
      }
     },
     "localname": "AvailableForSaleDebtSecuritiesAccumulatedGrossUnrealizedGainbeforeTaxYearSixThroughTen",
     "nsuri": "http://www.univest.net/20220331",
     "presentation": [
      "http://www.univest.net/role/InvestmentSecuritiesHeldtoMaturityandAvailableforSaleScheduledMaturitiesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "uvsp_AvailableForSaleDebtSecuritiesAccumulatedGrossUnrealizedGainbeforeTaxYearTwoThroughFive": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Available For Sale Debt Securities, Accumulated Gross Unrealized Gain, before Tax, Year Two Through Five",
        "label": "Available For Sale Debt Securities, Accumulated Gross Unrealized Gain, before Tax, Year Two Through Five",
        "terseLabel": "Securities Available-for-Sale,Gross Unrealized Gain, After 1 Year to 5 Years"
       }
      }
     },
     "localname": "AvailableForSaleDebtSecuritiesAccumulatedGrossUnrealizedGainbeforeTaxYearTwoThroughFive",
     "nsuri": "http://www.univest.net/20220331",
     "presentation": [
      "http://www.univest.net/role/InvestmentSecuritiesHeldtoMaturityandAvailableforSaleScheduledMaturitiesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "uvsp_AvailableForSaleDebtSecuritiesAccumulatedGrossUnrealizedLossbeforeTaxAfterTenYears": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Available For Sale Debt Securities, Accumulated Gross Unrealized Loss, before Tax, After Ten Years",
        "label": "Available For Sale Debt Securities, Accumulated Gross Unrealized Loss, before Tax, After Ten Years",
        "negatedLabel": "Securities Available-for-Sale, Gross Unrealized Losses, Over 10 Years"
       }
      }
     },
     "localname": "AvailableForSaleDebtSecuritiesAccumulatedGrossUnrealizedLossbeforeTaxAfterTenYears",
     "nsuri": "http://www.univest.net/20220331",
     "presentation": [
      "http://www.univest.net/role/InvestmentSecuritiesHeldtoMaturityandAvailableforSaleScheduledMaturitiesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "uvsp_AvailableForSaleDebtSecuritiesAccumulatedGrossUnrealizedLossbeforeTaxNextTwelveMonths": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Available For Sale Debt Securities, Accumulated Gross Unrealized Loss, before Tax, Next Twelve Months",
        "label": "Available For Sale Debt Securities, Accumulated Gross Unrealized Loss, before Tax, Next Twelve Months",
        "negatedLabel": "Securities Available-for-Sale, Gross Unrealized Losses, Within 1 Year"
       }
      }
     },
     "localname": "AvailableForSaleDebtSecuritiesAccumulatedGrossUnrealizedLossbeforeTaxNextTwelveMonths",
     "nsuri": "http://www.univest.net/20220331",
     "presentation": [
      "http://www.univest.net/role/InvestmentSecuritiesHeldtoMaturityandAvailableforSaleScheduledMaturitiesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "uvsp_AvailableForSaleDebtSecuritiesAccumulatedGrossUnrealizedLossbeforeTaxYearSixThroughTen": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Available For Sale Debt Securities, Accumulated Gross Unrealized Loss, before Tax, Year Six Through Ten",
        "label": "Available For Sale Debt Securities, Accumulated Gross Unrealized Loss, before Tax, Year Six Through Ten",
        "negatedLabel": "Securities Available-for-Sale, Gross Unrealized Losses, After 5 Years to 10 Years"
       }
      }
     },
     "localname": "AvailableForSaleDebtSecuritiesAccumulatedGrossUnrealizedLossbeforeTaxYearSixThroughTen",
     "nsuri": "http://www.univest.net/20220331",
     "presentation": [
      "http://www.univest.net/role/InvestmentSecuritiesHeldtoMaturityandAvailableforSaleScheduledMaturitiesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "uvsp_AvailableForSaleDebtSecuritiesAccumulatedGrossUnrealizedLossbeforeTaxYearTwoThroughFive": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Available For Sale Debt Securities, Accumulated Gross Unrealized Loss, before Tax, Year Two Through Five",
        "label": "Available For Sale Debt Securities, Accumulated Gross Unrealized Loss, before Tax, Year Two Through Five",
        "negatedLabel": "Securities Available-for-Sale, Gross Unrealized Losses, After 1 Year to 5 Years"
       }
      }
     },
     "localname": "AvailableForSaleDebtSecuritiesAccumulatedGrossUnrealizedLossbeforeTaxYearTwoThroughFive",
     "nsuri": "http://www.univest.net/20220331",
     "presentation": [
      "http://www.univest.net/role/InvestmentSecuritiesHeldtoMaturityandAvailableforSaleScheduledMaturitiesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "uvsp_AvailableForSaleSecuritiesIncomeTaxExpenseRelatedToNetRealizedGainsOnSales": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Available for sale securities income tax expense related to net realized gains on sales.",
        "label": "Available For Sale Securities Income Tax Expense Related To Net Realized Gains On Sales",
        "terseLabel": "Tax expense related to net realized gains on sales"
       }
      }
     },
     "localname": "AvailableForSaleSecuritiesIncomeTaxExpenseRelatedToNetRealizedGainsOnSales",
     "nsuri": "http://www.univest.net/20220331",
     "presentation": [
      "http://www.univest.net/role/InvestmentSecuritiesInformationRelatedtoSalesofSecuritiesAvailableforSaleDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "uvsp_Banking1Member": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Financial institution accepting customer deposits and providing other financial services. Services include, but are not limited to, lending; issuing credit and debit cards; offering deposit account, mortgage and guarantee; and banking servicing.",
        "label": "Banking1 [Member]",
        "terseLabel": "Banking1"
       }
      }
     },
     "localname": "Banking1Member",
     "nsuri": "http://www.univest.net/20220331",
     "presentation": [
      "http://www.univest.net/role/GoodwillandOtherIntangibleAssetsSummaryofChangesinCarryingAmountofGoodwillDetails",
      "http://www.univest.net/role/SegmentReportingScheduleofSegmentReportingDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "uvsp_BusinessAcquisitionContingentConsiderationCurrentFairValue": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Business acquisition contingent consideration current fair value.",
        "label": "Business Acquisition Contingent Consideration Current Fair Value",
        "periodEndLabel": "Ending balance",
        "periodStartLabel": "Beginning balance"
       }
      }
     },
     "localname": "BusinessAcquisitionContingentConsiderationCurrentFairValue",
     "nsuri": "http://www.univest.net/20220331",
     "presentation": [
      "http://www.univest.net/role/FairValueDisclosuresChangeinContingentConsiderationLiabilityDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "uvsp_CertainInformationRegardingRestrictedStockTableTextBlock": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Disclosure of certain information regarding restricted stock, including but not limited to, number of shares granted, weighted average grant date fair value and intrinsic value of awards vested.",
        "label": "Certain Information Regarding Restricted Stock Table [Text Block]",
        "terseLabel": "Certain Information Regarding Restricted Stock"
       }
      }
     },
     "localname": "CertainInformationRegardingRestrictedStockTableTextBlock",
     "nsuri": "http://www.univest.net/20220331",
     "presentation": [
      "http://www.univest.net/role/StockBasedIncentivePlanTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "uvsp_ChangeInMortgageServicingRightsTableTableTextBlock": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Tabular disclosure of change in mortgage servicing rights balance, including servicing rights capitalized, amortization and changes in valuation allowance. Also, includes disclosure of balance of mortgage loans serviced for others.",
        "label": "Change In Mortgage Servicing Rights Table [Table Text Block]",
        "terseLabel": "Changes In Servicing Rights"
       }
      }
     },
     "localname": "ChangeInMortgageServicingRightsTableTableTextBlock",
     "nsuri": "http://www.univest.net/20220331",
     "presentation": [
      "http://www.univest.net/role/GoodwillandOtherIntangibleAssetsTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "uvsp_ChangeinContingentConsiderationLiabilityRollForward": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Change in Contingent Consideration Liability [Roll Forward]",
        "label": "Change in Contingent Consideration Liability [Roll Forward]",
        "terseLabel": "Change in Contingent Consideration Liability [Roll Forward]"
       }
      }
     },
     "localname": "ChangeinContingentConsiderationLiabilityRollForward",
     "nsuri": "http://www.univest.net/20220331",
     "presentation": [
      "http://www.univest.net/role/FairValueDisclosuresChangeinContingentConsiderationLiabilityDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "uvsp_CommercialFinancialAndAgriculturalMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Commercial financial and agricultural.",
        "label": "Commercial Financial And Agricultural [Member]",
        "terseLabel": "Commercial Financial And Agricultural [Member]"
       }
      }
     },
     "localname": "CommercialFinancialAndAgriculturalMember",
     "nsuri": "http://www.univest.net/20220331",
     "presentation": [
      "http://www.univest.net/role/LoansandLeasesAgeAnalysisofPastDueLoansandLeasesDetails",
      "http://www.univest.net/role/LoansandLeasesAllowanceforCreditLossesLoansandLeasesRollForwardDetails",
      "http://www.univest.net/role/LoansandLeasesAllowanceforLoanandLeaseLossesandRecordedInvestmentinLoansandLeasesDetails",
      "http://www.univest.net/role/LoansandLeasesCollateralDependentLoansDetails",
      "http://www.univest.net/role/LoansandLeasesCreditQualityDetails",
      "http://www.univest.net/role/LoansandLeasesCreditQualityIndicatorsDetails",
      "http://www.univest.net/role/LoansandLeasesNonaccrualDetails",
      "http://www.univest.net/role/LoansandLeasesNonperformingLoansandLeasesDetails",
      "http://www.univest.net/role/LoansandLeasesSummaryofMajorLoanandLeaseCategoriesDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "uvsp_ComprehensiveIncomeLossBeforeTax": {
     "auth_ref": [],
     "calculation": {
      "http://www.univest.net/role/CondensedConsolidatedStatementsofComprehensiveIncome": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      },
      "http://www.univest.net/role/CondensedConsolidatedStatementsofComprehensiveIncome_1": {
       "order": 1.0,
       "parentTag": "us-gaap_ComprehensiveIncomeNetOfTax",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Comprehensive Income Loss Before Tax",
        "label": "Comprehensive Income Loss Before Tax",
        "totalLabel": "Total comprehensive income (loss), before tax amount"
       }
      }
     },
     "localname": "ComprehensiveIncomeLossBeforeTax",
     "nsuri": "http://www.univest.net/20220331",
     "presentation": [
      "http://www.univest.net/role/CondensedConsolidatedStatementsofComprehensiveIncome"
     ],
     "xbrltype": "monetaryItemType"
    },
    "uvsp_ComprehensiveIncomeTaxExpenseBenefit": {
     "auth_ref": [],
     "calculation": {
      "http://www.univest.net/role/CondensedConsolidatedStatementsofComprehensiveIncome": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      },
      "http://www.univest.net/role/CondensedConsolidatedStatementsofComprehensiveIncome_1": {
       "order": 2.0,
       "parentTag": "us-gaap_ComprehensiveIncomeNetOfTax",
       "weight": -1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Comprehensive Income Tax Expense Benefit",
        "label": "Comprehensive Income Tax Expense Benefit",
        "totalLabel": "Total comprehensive income (loss), tax expense (benefit)"
       }
      }
     },
     "localname": "ComprehensiveIncomeTaxExpenseBenefit",
     "nsuri": "http://www.univest.net/20220331",
     "presentation": [
      "http://www.univest.net/role/CondensedConsolidatedStatementsofComprehensiveIncome"
     ],
     "xbrltype": "monetaryItemType"
    },
    "uvsp_ContingentConsiderationLiabilityChangeInAmountTableTextBlock": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Tabular disclosure of change in contingent consideration liability.",
        "label": "Contingent Consideration Liability Change In Amount [Table Text Block]",
        "terseLabel": "Contingent Consideration Liability Change In Amount"
       }
      }
     },
     "localname": "ContingentConsiderationLiabilityChangeInAmountTableTextBlock",
     "nsuri": "http://www.univest.net/20220331",
     "presentation": [
      "http://www.univest.net/role/FairValueDisclosuresTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "uvsp_ContingentConsiderationLiabilityMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Contingent consideration liability.",
        "label": "Contingent Consideration Liability [Member]",
        "terseLabel": "Contingent Consideration Liability [Member]"
       }
      }
     },
     "localname": "ContingentConsiderationLiabilityMember",
     "nsuri": "http://www.univest.net/20220331",
     "presentation": [
      "http://www.univest.net/role/FairValueDisclosuresAssetsandLiabilitiesMeasuredatFairValueonRecurringBasisDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "uvsp_CoreDepositsAndCustomerRelatedIntangibleAssetsMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Core Deposits And Customer-Related Intangible Assets",
        "label": "Core Deposits And Customer-Related Intangible Assets [Member]",
        "terseLabel": "Core Deposits And Customer Related Intangible Assets"
       }
      }
     },
     "localname": "CoreDepositsAndCustomerRelatedIntangibleAssetsMember",
     "nsuri": "http://www.univest.net/20220331",
     "presentation": [
      "http://www.univest.net/role/GoodwillandOtherIntangibleAssetsEstimatedAmortizationExpenseforCoreDepositandCustomerRelatedIntangiblesDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "uvsp_CustomerMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Customer [Member]",
        "label": "Customer [Member]",
        "terseLabel": "Customer [Member]"
       }
      }
     },
     "localname": "CustomerMember",
     "nsuri": "http://www.univest.net/20220331",
     "presentation": [
      "http://www.univest.net/role/DerivativeInstrumentsandHedgingActivitiesNarrativeDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "uvsp_DebtSecuritiesAvailableForSaleAllowanceForCreditLossAfterTenYears": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Debt Securities, Available-for-sale, Allowance for Credit Loss, After Ten Years",
        "label": "Debt Securities, Available-for-sale, Allowance for Credit Loss, After Ten Years",
        "negatedTerseLabel": "Securities Available-for-Sale, Allowance for Credit Loss, After 10 Years"
       }
      }
     },
     "localname": "DebtSecuritiesAvailableForSaleAllowanceForCreditLossAfterTenYears",
     "nsuri": "http://www.univest.net/20220331",
     "presentation": [
      "http://www.univest.net/role/InvestmentSecuritiesHeldtoMaturityandAvailableforSaleScheduledMaturitiesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "uvsp_DebtSecuritiesAvailableForSaleAllowanceForCreditLossWithinTwelveMonths": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Debt Securities, Available-for-sale, Allowance for Credit Loss, Within Twelve Months",
        "label": "Debt Securities, Available-for-sale, Allowance for Credit Loss, Within Twelve Months",
        "negatedTerseLabel": "Securities Available-for-Sale, Allowance for Credit Loss, Within 1 Year"
       }
      }
     },
     "localname": "DebtSecuritiesAvailableForSaleAllowanceForCreditLossWithinTwelveMonths",
     "nsuri": "http://www.univest.net/20220331",
     "presentation": [
      "http://www.univest.net/role/InvestmentSecuritiesHeldtoMaturityandAvailableforSaleScheduledMaturitiesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "uvsp_DebtSecuritiesAvailableForSaleAllowanceForCreditLossYearSixThroughTen": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Debt Securities, Available-for-sale, Allowance for Credit Loss, Year Six Through Ten",
        "label": "Debt Securities, Available-for-sale, Allowance for Credit Loss, Year Six Through Ten",
        "negatedTerseLabel": "Securities Available-for-Sale, Allowance for Credit Loss, After 5 Years to 10 Years"
       }
      }
     },
     "localname": "DebtSecuritiesAvailableForSaleAllowanceForCreditLossYearSixThroughTen",
     "nsuri": "http://www.univest.net/20220331",
     "presentation": [
      "http://www.univest.net/role/InvestmentSecuritiesHeldtoMaturityandAvailableforSaleScheduledMaturitiesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "uvsp_DebtSecuritiesAvailableForSaleAllowanceForCreditLossYearTwoThroughFive": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Debt Securities, Available-for-sale, Allowance for Credit Loss, Year Two Through Five",
        "label": "Debt Securities, Available-for-sale, Allowance for Credit Loss, Year Two Through Five",
        "negatedTerseLabel": "Securities Available-for-sale, Allowance for Credit Loss, After 1 Year to 5 Years"
       }
      }
     },
     "localname": "DebtSecuritiesAvailableForSaleAllowanceForCreditLossYearTwoThroughFive",
     "nsuri": "http://www.univest.net/20220331",
     "presentation": [
      "http://www.univest.net/role/InvestmentSecuritiesHeldtoMaturityandAvailableforSaleScheduledMaturitiesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "uvsp_DebtSecuritiesAvailableForSaleUnrealizedLossPositionAccumulatedLossNetOfAllowance": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Debt Securities, Available-for-sale, Unrealized Loss Position, Accumulated Loss, Net of Allowance",
        "label": "Debt Securities, Available-for-sale, Unrealized Loss Position, Accumulated Loss, Net of Allowance",
        "terseLabel": "Unrealized loss position included in fair value of securities AFS in unrealized loss position for which an ACL has been recorded"
       }
      }
     },
     "localname": "DebtSecuritiesAvailableForSaleUnrealizedLossPositionAccumulatedLossNetOfAllowance",
     "nsuri": "http://www.univest.net/20220331",
     "presentation": [
      "http://www.univest.net/role/InvestmentSecuritiesNarrativeDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "uvsp_DebtSecuritiesAvailableForSaleUnrealizedLossPositionNetOfAllowance": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Debt Securities, Available-for-sale, Unrealized Loss Position, Net of Allowance",
        "label": "Debt Securities, Available-for-sale, Unrealized Loss Position, Net of Allowance",
        "terseLabel": "Fair value of securities AFS in unrealized loss position for which an ACL has been recorded, net of allowance"
       }
      }
     },
     "localname": "DebtSecuritiesAvailableForSaleUnrealizedLossPositionNetOfAllowance",
     "nsuri": "http://www.univest.net/20220331",
     "presentation": [
      "http://www.univest.net/role/InvestmentSecuritiesNarrativeDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "uvsp_DebtSecuritiesHTMAccumulatedGrossUnrealizedGainBeforeTaxNextTwelveMonths": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Debt securities, HTM, Accumulated Gross Unrealized Gain, Before Tax, Next Twelve Months",
        "label": "Debt securities, HTM, Accumulated Gross Unrealized Gain, Before Tax, Next Twelve Months",
        "terseLabel": "Securities Held-to-Maturity, Gross Unrealized Gains, Within 1 Year"
       }
      }
     },
     "localname": "DebtSecuritiesHTMAccumulatedGrossUnrealizedGainBeforeTaxNextTwelveMonths",
     "nsuri": "http://www.univest.net/20220331",
     "presentation": [
      "http://www.univest.net/role/InvestmentSecuritiesHeldtoMaturityandAvailableforSaleScheduledMaturitiesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "uvsp_DebtSecuritiesHTMAccumulatesGrossUnrealizedLossBeforeTaxNextTwelveMonths": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Debt Securities, HTM, Accumulates Gross Unrealized Loss, Before Tax, Next Twelve Months",
        "label": "Debt Securities, HTM, Accumulates Gross Unrealized Loss, Before Tax, Next Twelve Months",
        "negatedTerseLabel": "Securities Held-to-Maturity, Gross Unrealized Losses, Within 1 Year"
       }
      }
     },
     "localname": "DebtSecuritiesHTMAccumulatesGrossUnrealizedLossBeforeTaxNextTwelveMonths",
     "nsuri": "http://www.univest.net/20220331",
     "presentation": [
      "http://www.univest.net/role/InvestmentSecuritiesHeldtoMaturityandAvailableforSaleScheduledMaturitiesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "uvsp_DebtSecuritiesHeldToMaturityAllowanceForCreditLossAfterFiveYearsToTenYears": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Debt Securities, Held-to-maturity, Allowance for Credit Loss, After Five Years To Ten Years",
        "label": "Debt Securities, Held-to-maturity, Allowance for Credit Loss, After Five Years To Ten Years",
        "negatedTerseLabel": "Securities, Held-to-Maturity, Allowance for Credit Loss, After 5 Years To 10 Years"
       }
      }
     },
     "localname": "DebtSecuritiesHeldToMaturityAllowanceForCreditLossAfterFiveYearsToTenYears",
     "nsuri": "http://www.univest.net/20220331",
     "presentation": [
      "http://www.univest.net/role/InvestmentSecuritiesHeldtoMaturityandAvailableforSaleScheduledMaturitiesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "uvsp_DebtSecuritiesHeldToMaturityAllowanceForCreditLossOver10Years": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Debt Securities, Held-to-maturity, Allowance for Credit Loss, Over 10 Years",
        "label": "Debt Securities, Held-to-maturity, Allowance for Credit Loss, Over 10 Years",
        "negatedTerseLabel": "Securities Held-to-maturity, Allowance for Credit Loss, Over 10 Years"
       }
      }
     },
     "localname": "DebtSecuritiesHeldToMaturityAllowanceForCreditLossOver10Years",
     "nsuri": "http://www.univest.net/20220331",
     "presentation": [
      "http://www.univest.net/role/InvestmentSecuritiesHeldtoMaturityandAvailableforSaleScheduledMaturitiesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "uvsp_DebtSecuritiesHeldToMaturityAllowanceForCreditLossYearTwoThroughFive": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Debt Securities, Held-to-maturity, Allowance for Credit Loss, Year Two Through Five",
        "label": "Debt Securities, Held-to-maturity, Allowance for Credit Loss, Year Two Through Five",
        "negatedTerseLabel": "Securities Held-to-Maturity, Allowance for Credit Loss, After 1 Year to 5 Years"
       }
      }
     },
     "localname": "DebtSecuritiesHeldToMaturityAllowanceForCreditLossYearTwoThroughFive",
     "nsuri": "http://www.univest.net/20220331",
     "presentation": [
      "http://www.univest.net/role/InvestmentSecuritiesHeldtoMaturityandAvailableforSaleScheduledMaturitiesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "uvsp_DebtSecuritiesHeldToMaturityAllowanceForCreditLossesNextTwelveMonths": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Debt Securities, Held to Maturity, Allowance for Credit Losses, Next Twelve Months",
        "label": "Debt Securities, Held to Maturity, Allowance for Credit Losses, Next Twelve Months",
        "negatedTerseLabel": "Securities Held to Maturity, Allowance for Credit Loss, Within 1 Year"
       }
      }
     },
     "localname": "DebtSecuritiesHeldToMaturityAllowanceForCreditLossesNextTwelveMonths",
     "nsuri": "http://www.univest.net/20220331",
     "presentation": [
      "http://www.univest.net/role/InvestmentSecuritiesHeldtoMaturityandAvailableforSaleScheduledMaturitiesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "uvsp_DebtSecuritiesLineItems": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Debt Securities",
        "label": "Debt Securities [Line Items]",
        "terseLabel": "Debt Securities, Available-for-sale [Line Items]"
       }
      }
     },
     "localname": "DebtSecuritiesLineItems",
     "nsuri": "http://www.univest.net/20220331",
     "presentation": [
      "http://www.univest.net/role/InvestmentSecuritiesHeldtoMaturityandAvailableforSaleScheduledMaturitiesDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "uvsp_DebtSecuritiesTable": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Debt Securities",
        "label": "Debt Securities [Table]",
        "terseLabel": "Debt Securities"
       }
      }
     },
     "localname": "DebtSecuritiesTable",
     "nsuri": "http://www.univest.net/20220331",
     "presentation": [
      "http://www.univest.net/role/InvestmentSecuritiesHeldtoMaturityandAvailableforSaleScheduledMaturitiesDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "uvsp_EmployeeStockPurchasePlanMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Employee stock purchase plan.",
        "label": "Employee Stock Purchase Plan [Member]",
        "terseLabel": "Employee Stock Purchase Plan [Member]"
       }
      }
     },
     "localname": "EmployeeStockPurchasePlanMember",
     "nsuri": "http://www.univest.net/20220331",
     "presentation": [
      "http://www.univest.net/role/StockBasedIncentivePlanCompensationExpenseRelatedtoStockIncentivePlansRecognizedDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "uvsp_FairValueDisclosuresTable": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Fair Value Disclosures [Table]",
        "label": "Fair Value Disclosures [Table]",
        "terseLabel": "Fair Value Disclosures"
       }
      }
     },
     "localname": "FairValueDisclosuresTable",
     "nsuri": "http://www.univest.net/20220331",
     "presentation": [
      "http://www.univest.net/role/FairValueDisclosuresNarrativeDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "uvsp_FairValueMeasurementwithUnobservableInputsReconciliationRecurringBasisNetAssetLiabilityGainLossIncludedinEarnings": {
     "auth_ref": [],
     "calculation": {
      "http://www.univest.net/role/FairValueDisclosuresLevel3RollForwardDetails": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Fair Value, Measurement with Unobservable Inputs Reconciliation, Recurring Basis, Net Asset (Liability), Gain (Loss) Included in Earnings",
        "label": "Fair Value, Measurement with Unobservable Inputs Reconciliation, Recurring Basis, Net Asset (Liability), Gain (Loss) Included in Earnings",
        "totalLabel": "Increase (decrease) in value"
       }
      }
     },
     "localname": "FairValueMeasurementwithUnobservableInputsReconciliationRecurringBasisNetAssetLiabilityGainLossIncludedinEarnings",
     "nsuri": "http://www.univest.net/20220331",
     "presentation": [
      "http://www.univest.net/role/FairValueDisclosuresLevel3RollForwardDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "uvsp_FairValueMeasurementwithUnobservableInputsReconciliationRecurringBasisNetAssetLiabilityPurchases": {
     "auth_ref": [],
     "calculation": {
      "http://www.univest.net/role/FairValueDisclosuresLevel3RollForwardDetails": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Fair Value, Measurement with Unobservable Inputs Reconciliation, Recurring Basis, Net Asset (Liability), Purchases",
        "label": "Fair Value, Measurement with Unobservable Inputs Reconciliation, Recurring Basis, Net Asset (Liability), Purchases",
        "totalLabel": "Purchases/additions"
       }
      }
     },
     "localname": "FairValueMeasurementwithUnobservableInputsReconciliationRecurringBasisNetAssetLiabilityPurchases",
     "nsuri": "http://www.univest.net/20220331",
     "presentation": [
      "http://www.univest.net/role/FairValueDisclosuresLevel3RollForwardDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "uvsp_FairValueMeasurementwithUnobservableInputsReconciliationRecurringBasisNetAssetLiabilitySettlements": {
     "auth_ref": [],
     "calculation": {
      "http://www.univest.net/role/FairValueDisclosuresLevel3RollForwardDetails": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Fair Value, Measurement with Unobservable Inputs Reconciliation, Recurring Basis, Net Asset (Liability), Settlements",
        "label": "Fair Value, Measurement with Unobservable Inputs Reconciliation, Recurring Basis, Net Asset (Liability), Settlements",
        "negatedTotalLabel": "Payments received"
       }
      }
     },
     "localname": "FairValueMeasurementwithUnobservableInputsReconciliationRecurringBasisNetAssetLiabilitySettlements",
     "nsuri": "http://www.univest.net/20220331",
     "presentation": [
      "http://www.univest.net/role/FairValueDisclosuresLevel3RollForwardDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "uvsp_FairValueMeasurementwithUnobservableInputsReconciliationRecurringBasisNetAssetLiabilityValue": {
     "auth_ref": [],
     "calculation": {
      "http://www.univest.net/role/FairValueDisclosuresLevel3RollForwardDetails": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Fair Value, Measurement with Unobservable Inputs Reconciliation, Recurring Basis, Net Asset (Liability) Value",
        "label": "Fair Value, Measurement with Unobservable Inputs Reconciliation, Recurring Basis, Net Asset (Liability) Value",
        "periodEndLabel": "Ending balance",
        "periodStartLabel": "Beginning balance"
       }
      }
     },
     "localname": "FairValueMeasurementwithUnobservableInputsReconciliationRecurringBasisNetAssetLiabilityValue",
     "nsuri": "http://www.univest.net/20220331",
     "presentation": [
      "http://www.univest.net/role/FairValueDisclosuresLevel3RollForwardDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "uvsp_FairValueMeasurementwithUnobservableInputsReconciliationRecurringBasisNetAssetLiabilityValueRollForward": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Fair Value, Measurement with Unobservable Inputs Reconciliation, Recurring Basis, Net Asset (Liability) Value [Roll Forward]",
        "label": "Fair Value, Measurement with Unobservable Inputs Reconciliation, Recurring Basis, Net Asset (Liability) Value [Roll Forward]",
        "terseLabel": "Fair Value, Measurement with Unobservable Inputs Reconciliation, Recurring Basis, Net Asset (Liability) Value [Roll Forward]"
       }
      }
     },
     "localname": "FairValueMeasurementwithUnobservableInputsReconciliationRecurringBasisNetAssetLiabilityValueRollForward",
     "nsuri": "http://www.univest.net/20220331",
     "presentation": [
      "http://www.univest.net/role/FairValueDisclosuresLevel3RollForwardDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "uvsp_FederalHomeLoanBankAdvanceMaturityAfterYearFour": {
     "auth_ref": [],
     "calculation": {
      "http://www.univest.net/role/BorrowingsScheduleofMaturitiesofLongtermFHLBAdvancesDetails": {
       "order": 6.0,
       "parentTag": "us-gaap_AdvancesFromFederalHomeLoanBanks",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of advance from Federal Home Loan Bank (FHLBank) maturity after fourth year following current fiscal year. Excludes interim and annual periods when interim periods are reported from current statement of financial position date (rolling approach).",
        "label": "Federal Home Loan Bank, Advance, Maturity, after Year Four",
        "terseLabel": "Thereafter"
       }
      }
     },
     "localname": "FederalHomeLoanBankAdvanceMaturityAfterYearFour",
     "nsuri": "http://www.univest.net/20220331",
     "presentation": [
      "http://www.univest.net/role/BorrowingsScheduleofMaturitiesofLongtermFHLBAdvancesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "uvsp_FederalHomeLoanBankAdvanceMaturityAverageInterestRateAfterYearFour": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Weighted average interest rate of advance from Federal Home Loan Bank (FHLBank) due after fourth fiscal year following current fiscal year. Excludes interim and annual periods when interim periods are reported from current statement of financial position date (rolling approach).",
        "label": "Federal Home Loan Bank, Advance, Maturity, Average Interest Rate, after Year Four",
        "terseLabel": "Thereafter weighted average interest rate"
       }
      }
     },
     "localname": "FederalHomeLoanBankAdvanceMaturityAverageInterestRateAfterYearFour",
     "nsuri": "http://www.univest.net/20220331",
     "presentation": [
      "http://www.univest.net/role/BorrowingsScheduleofMaturitiesofLongtermFHLBAdvancesDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "uvsp_FederalHomeLoanBankAdvancesMaturitiesSummaryAverageInterestRateofAmountsDueinRemainderofFiscalYear": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The weighted average interest rate applicable to the Federal Home Loan Bank advances which are due within the remainder of the fiscal year.",
        "label": "Federal Home Loan Bank, Advances, Maturities Summary, Average Interest Rate of Amounts Due in Remainder of Fiscal Year",
        "terseLabel": "Remainder of 2022 weighted average interest rate"
       }
      }
     },
     "localname": "FederalHomeLoanBankAdvancesMaturitiesSummaryAverageInterestRateofAmountsDueinRemainderofFiscalYear",
     "nsuri": "http://www.univest.net/20220331",
     "presentation": [
      "http://www.univest.net/role/BorrowingsScheduleofMaturitiesofLongtermFHLBAdvancesDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "uvsp_FinancingReceivableByFinancialInstrumentPerformanceStatusTableTextBlock": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Tabular disclosure of financing receivable by category of performance or non-performance status of financial instrument.",
        "label": "Financing Receivable by Financial Instrument Performance Status [Table Text Block]",
        "terseLabel": "Schedule of Allowance for Loan and Lease Credit Losses and Recorded Investment in Loans and Leases"
       }
      }
     },
     "localname": "FinancingReceivableByFinancialInstrumentPerformanceStatusTableTextBlock",
     "nsuri": "http://www.univest.net/20220331",
     "presentation": [
      "http://www.univest.net/role/LoansandLeasesTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "uvsp_FinancingReceivableCreditQualityIndicators1TableTextBlock": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Financing Receivable Credit Quality Indicators1",
        "label": "Financing Receivable Credit Quality Indicators1 [Table Text Block]",
        "terseLabel": "Summary of Credit Exposure"
       }
      }
     },
     "localname": "FinancingReceivableCreditQualityIndicators1TableTextBlock",
     "nsuri": "http://www.univest.net/20220331",
     "presentation": [
      "http://www.univest.net/role/LoansandLeasesTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "uvsp_FinancingReceivableModificationsRecordedInvestments": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Recorded investment of financing receivables that have been modified by troubled debt restructurings",
        "label": "Financing Receivable Modifications Recorded Investments",
        "terseLabel": "Financing receivable modifications, recorded investments"
       }
      }
     },
     "localname": "FinancingReceivableModificationsRecordedInvestments",
     "nsuri": "http://www.univest.net/20220331",
     "presentation": [
      "http://www.univest.net/role/LoansandLeasesScheduleofConcessionsGrantedonAccruingandNonaccrualTroubledLoansDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "uvsp_FinancingReceivableNonaccrualWithAllowance": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Financing Receivable, Nonaccrual, With Allowance",
        "label": "Financing Receivable, Nonaccrual, With Allowance",
        "terseLabel": "Nonaccrual With ACL"
       }
      }
     },
     "localname": "FinancingReceivableNonaccrualWithAllowance",
     "nsuri": "http://www.univest.net/20220331",
     "presentation": [
      "http://www.univest.net/role/LoansandLeasesNonaccrualDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "uvsp_FinancingReceivableRecordedInvestmentAccruingStatus": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of accruing loans and leases.",
        "label": "Financing Receivable, Recorded Investment, Accruing Status",
        "terseLabel": "Accruing loans and leases"
       }
      }
     },
     "localname": "FinancingReceivableRecordedInvestmentAccruingStatus",
     "nsuri": "http://www.univest.net/20220331",
     "presentation": [
      "http://www.univest.net/role/LoansandLeasesAgeAnalysisofPastDueLoansandLeasesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "uvsp_FinancingReceivableRecordedInvestmentNonPerformingLoansAndLeases": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Financing Receivable Recorded Investment Non Performing Loans And Leases",
        "label": "Financing Receivable Recorded Investment Non Performing Loans And Leases",
        "terseLabel": "Total nonperforming loans and leases"
       }
      }
     },
     "localname": "FinancingReceivableRecordedInvestmentNonPerformingLoansAndLeases",
     "nsuri": "http://www.univest.net/20220331",
     "presentation": [
      "http://www.univest.net/role/LoansandLeasesNonperformingLoansandLeasesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "uvsp_FinancingReceivablesTroubledDebtRestructuringsThatSubsequentlyDefaultedAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Accruing and nonaccrual troubled debt restructured loans for which there was a payment default in the current reporting period and within 12 months following restructuring.",
        "label": "Financing Receivables Troubled Debt Restructurings That Subsequently Defaulted [Abstract]",
        "terseLabel": "Financing Receivables Troubled Debt Restructurings That Subsequently Defaulted [Abstract]"
       }
      }
     },
     "localname": "FinancingReceivablesTroubledDebtRestructuringsThatSubsequentlyDefaultedAbstract",
     "nsuri": "http://www.univest.net/20220331",
     "presentation": [
      "http://www.univest.net/role/LoansandLeasesAccruingandNonaccruingTroubledDebtRestructuredLoanswithPaymentDefaultsDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "uvsp_FiniteLivedIntangibleAssetExpectedAmortization": {
     "auth_ref": [],
     "calculation": {
      "http://www.univest.net/role/GoodwillandOtherIntangibleAssetsEstimatedAmortizationExpenseforCoreDepositandCustomerRelatedIntangiblesDetails": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Expected amortization, excluding financial assets and goodwill, lacking physical substance with finite life.",
        "label": "Finite-Lived Intangible Asset, Expected Amortization",
        "totalLabel": "Total: Estimated amortization expense for core deposit and customer related intangibles"
       }
      }
     },
     "localname": "FiniteLivedIntangibleAssetExpectedAmortization",
     "nsuri": "http://www.univest.net/20220331",
     "presentation": [
      "http://www.univest.net/role/GoodwillandOtherIntangibleAssetsEstimatedAmortizationExpenseforCoreDepositandCustomerRelatedIntangiblesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "uvsp_FiniteLivedIntangibleAssetExpectedAmortizationAfterYearFour": {
     "auth_ref": [],
     "calculation": {
      "http://www.univest.net/role/GoodwillandOtherIntangibleAssetsEstimatedAmortizationExpenseforCoreDepositandCustomerRelatedIntangiblesDetails": {
       "order": 6.0,
       "parentTag": "uvsp_FiniteLivedIntangibleAssetExpectedAmortization",
       "weight": 1.0
      },
      "http://www.univest.net/role/GoodwillandOtherIntangibleAssetsEstimatedAmortizationExpenseofServicingRightsDetails": {
       "order": 1.0,
       "parentTag": "us-gaap_ServicingAssetAtAmortizedValue",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of amortization for asset, excluding financial asset and goodwill, lacking physical substance with finite life expected to be recognized after fourth fiscal year following current fiscal year. Excludes interim and annual periods when interim periods are reported from current statement of financial position date (rolling approach).",
        "label": "Finite-Lived Intangible Asset, Expected Amortization, after Year Four",
        "terseLabel": "Thereafter"
       }
      }
     },
     "localname": "FiniteLivedIntangibleAssetExpectedAmortizationAfterYearFour",
     "nsuri": "http://www.univest.net/20220331",
     "presentation": [
      "http://www.univest.net/role/GoodwillandOtherIntangibleAssetsEstimatedAmortizationExpenseforCoreDepositandCustomerRelatedIntangiblesDetails",
      "http://www.univest.net/role/GoodwillandOtherIntangibleAssetsEstimatedAmortizationExpenseofServicingRightsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "uvsp_ForwardLoanSaleCommitmentsMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Forward Loan Sale Commitments [Member]",
        "label": "Forward Loan Sale Commitments [Member]",
        "terseLabel": "Forward Loan Sale Commitments [Member]"
       }
      }
     },
     "localname": "ForwardLoanSaleCommitmentsMember",
     "nsuri": "http://www.univest.net/20220331",
     "presentation": [
      "http://www.univest.net/role/FairValueDisclosuresAssetsandLiabilitiesMeasuredatFairValueonRecurringBasisDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "uvsp_GainLossOnMortgageBankingActivitiesNet": {
     "auth_ref": [],
     "calculation": {
      "http://www.univest.net/role/CondensedConsolidatedStatementsofCashFlows": {
       "order": 1.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": -1.0
      },
      "http://www.univest.net/role/CondensedConsolidatedStatementsofIncome": {
       "order": 1.0,
       "parentTag": "us-gaap_NoninterestIncome",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Gains and losses on sales of loans held for sale, including adjustments to record loans classified as held for sale at the lower-of-cost-or-market fair value. Also includes gains and losses related to interest rate locks and forward loan commitments.",
        "label": "Gain Loss On Mortgage Banking Activities Net",
        "negatedLabel": "Net gain on mortgage banking activities",
        "terseLabel": "Net gain on mortgage banking activities"
       }
      }
     },
     "localname": "GainLossOnMortgageBankingActivitiesNet",
     "nsuri": "http://www.univest.net/20220331",
     "presentation": [
      "http://www.univest.net/role/CondensedConsolidatedStatementsofCashFlows",
      "http://www.univest.net/role/CondensedConsolidatedStatementsofIncome"
     ],
     "xbrltype": "monetaryItemType"
    },
    "uvsp_GirardPartnersMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Girard partners.",
        "label": "Girard Partners [Member]",
        "terseLabel": "Girard Partners [Member]"
       }
      }
     },
     "localname": "GirardPartnersMember",
     "nsuri": "http://www.univest.net/20220331",
     "presentation": [
      "http://www.univest.net/role/FairValueDisclosuresChangeinContingentConsiderationLiabilityDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "uvsp_HeldforInvestmentMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Held for Investment [Member]",
        "label": "Held for Investment [Member]",
        "terseLabel": "Held for Investment [Member]"
       }
      }
     },
     "localname": "HeldforInvestmentMember",
     "nsuri": "http://www.univest.net/20220331",
     "presentation": [
      "http://www.univest.net/role/FairValueDisclosuresNarrativeDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "uvsp_HeldtomaturitySecuritiesAccumulatedUnrecognizedHoldingGainYearFiveThroughTen": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Held-to-maturity Securities, Accumulated Unrecognized Holding Gain, Year Five Through Ten",
        "label": "Held-to-maturity Securities, Accumulated Unrecognized Holding Gain, Year Five Through Ten",
        "terseLabel": "Securities Held-to-Maturity, Gross Unrealized Gains, After 5 Years to 10 Years"
       }
      }
     },
     "localname": "HeldtomaturitySecuritiesAccumulatedUnrecognizedHoldingGainYearFiveThroughTen",
     "nsuri": "http://www.univest.net/20220331",
     "presentation": [
      "http://www.univest.net/role/InvestmentSecuritiesHeldtoMaturityandAvailableforSaleScheduledMaturitiesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "uvsp_HeldtomaturitySecuritiesAccumulatedUnrecognizedHoldingGainYearTwoThroughFive": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Held-to-maturity Securities, Accumulated Unrecognized Holding Gain, Year Two Through Five",
        "label": "Held-to-maturity Securities, Accumulated Unrecognized Holding Gain, Year Two Through Five",
        "terseLabel": "Securities Held-to-Maturity, Gross Unrealized Gains, After 1 Year to 5 Years"
       }
      }
     },
     "localname": "HeldtomaturitySecuritiesAccumulatedUnrecognizedHoldingGainYearTwoThroughFive",
     "nsuri": "http://www.univest.net/20220331",
     "presentation": [
      "http://www.univest.net/role/InvestmentSecuritiesHeldtoMaturityandAvailableforSaleScheduledMaturitiesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "uvsp_HeldtomaturitySecuritiesAccumulatedUnrecognizedHoldingGainover10years": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Held-to-maturity Securities, Accumulated Unrecognized Holding Gain, over 10 years",
        "label": "Held-to-maturity Securities, Accumulated Unrecognized Holding Gain, over 10 years",
        "terseLabel": "Securities Held-to-Maturity, Gross Unrealized Gain, Over 10 Years"
       }
      }
     },
     "localname": "HeldtomaturitySecuritiesAccumulatedUnrecognizedHoldingGainover10years",
     "nsuri": "http://www.univest.net/20220331",
     "presentation": [
      "http://www.univest.net/role/InvestmentSecuritiesHeldtoMaturityandAvailableforSaleScheduledMaturitiesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "uvsp_HeldtomaturitySecuritiesAccumulatedUnrecognizedHoldingLossAfterFiveYearstoTenYears": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Held-to-maturity Securities, Accumulated Unrecognized Holding Loss, After Five Years to Ten Years",
        "label": "Held-to-maturity Securities, Accumulated Unrecognized Holding Loss, After Five Years to Ten Years",
        "negatedTerseLabel": "Securities Held-to-Maturity, Gross Unrealized Losses, After 5 Years to 10 Years"
       }
      }
     },
     "localname": "HeldtomaturitySecuritiesAccumulatedUnrecognizedHoldingLossAfterFiveYearstoTenYears",
     "nsuri": "http://www.univest.net/20220331",
     "presentation": [
      "http://www.univest.net/role/InvestmentSecuritiesHeldtoMaturityandAvailableforSaleScheduledMaturitiesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "uvsp_HeldtomaturitySecuritiesAccumulatedUnrecognizedHoldingLossOver10years": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Held-to-maturity Securities, Accumulated Unrecognized Holding Loss, Over 10 years",
        "label": "Held-to-maturity Securities, Accumulated Unrecognized Holding Loss, Over 10 years",
        "negatedLabel": "Securities Held-to-Maturity, Gross Unrealized Losses, Over 10 Years"
       }
      }
     },
     "localname": "HeldtomaturitySecuritiesAccumulatedUnrecognizedHoldingLossOver10years",
     "nsuri": "http://www.univest.net/20220331",
     "presentation": [
      "http://www.univest.net/role/InvestmentSecuritiesHeldtoMaturityandAvailableforSaleScheduledMaturitiesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "uvsp_HeldtomaturitySecuritiesAccumulatedUnrecognizedHoldingLossYearTwoThroughFive": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Held-to-maturity Securities, Accumulated Unrecognized Holding Loss, Year Two Through Five",
        "label": "Held-to-maturity Securities, Accumulated Unrecognized Holding Loss, Year Two Through Five",
        "negatedTerseLabel": "Securities Held-to-Maturity, Gross Unrealized Losses, After 1 Year to 5 Years"
       }
      }
     },
     "localname": "HeldtomaturitySecuritiesAccumulatedUnrecognizedHoldingLossYearTwoThroughFive",
     "nsuri": "http://www.univest.net/20220331",
     "presentation": [
      "http://www.univest.net/role/InvestmentSecuritiesHeldtoMaturityandAvailableforSaleScheduledMaturitiesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "uvsp_ImpairedLoansFairValueDisclosure": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Impaired loans.",
        "label": "Impaired Loans Fair Value Disclosure",
        "terseLabel": "Individually analyzed loans held for investment"
       }
      }
     },
     "localname": "ImpairedLoansFairValueDisclosure",
     "nsuri": "http://www.univest.net/20220331",
     "presentation": [
      "http://www.univest.net/role/FairValueDisclosuresAssetsMeasuredatFairValueonNonrecurringBasisDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "uvsp_InsuranceMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Insurance [Member]",
        "label": "Insurance [Member]",
        "terseLabel": "Insurance [Member]"
       }
      }
     },
     "localname": "InsuranceMember",
     "nsuri": "http://www.univest.net/20220331",
     "presentation": [
      "http://www.univest.net/role/GoodwillandOtherIntangibleAssetsSummaryofChangesinCarryingAmountofGoodwillDetails",
      "http://www.univest.net/role/SegmentReportingScheduleofSegmentReportingDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "uvsp_IntangibleExpensesIncome": {
     "auth_ref": [],
     "calculation": {
      "http://www.univest.net/role/CondensedConsolidatedStatementsofCashFlows": {
       "order": 12.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": 1.0
      },
      "http://www.univest.net/role/CondensedConsolidatedStatementsofIncome": {
       "order": 8.0,
       "parentTag": "us-gaap_NoninterestExpense",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The aggregate expense charged against earnings to allocate the cost of acquired intangible assets (nonphysical assets not used in production) in a systematic and rational manner to the periods expected to benefit from such assets and adjustment of contingent consideration liabilities. As a noncash expense (income), this element is added back to (or subtracted from) net income when calculating cash provided by or used in operations using the indirect method.",
        "label": "Intangible Expenses Income",
        "terseLabel": "Intangible expenses"
       }
      }
     },
     "localname": "IntangibleExpensesIncome",
     "nsuri": "http://www.univest.net/20220331",
     "presentation": [
      "http://www.univest.net/role/CondensedConsolidatedStatementsofCashFlows",
      "http://www.univest.net/role/CondensedConsolidatedStatementsofIncome"
     ],
     "xbrltype": "monetaryItemType"
    },
    "uvsp_InterestRateLocksWithCustomersMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Interest rate locks with customers.",
        "label": "Interest Rate Locks With Customers [Member]",
        "terseLabel": "Interest Rate Locks With Customers [Member]"
       }
      }
     },
     "localname": "InterestRateLocksWithCustomersMember",
     "nsuri": "http://www.univest.net/20220331",
     "presentation": [
      "http://www.univest.net/role/DerivativeInstrumentsandHedgingActivitiesDerivativesNotDesignatedasHedgingInstrumentsDetails",
      "http://www.univest.net/role/FairValueDisclosuresAssetsandLiabilitiesMeasuredatFairValueonRecurringBasisDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "uvsp_InterestRateLocksWithForwardLoanCommitmentsMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Interest rate locks with forward loan sale commitments.",
        "label": "Interest Rate Locks With Forward Loan Commitments [Member]",
        "terseLabel": "Forward Loan Sale Commitments [Member]"
       }
      }
     },
     "localname": "InterestRateLocksWithForwardLoanCommitmentsMember",
     "nsuri": "http://www.univest.net/20220331",
     "presentation": [
      "http://www.univest.net/role/DerivativeInstrumentsandHedgingActivitiesDerivativesNotDesignatedasHedgingInstrumentsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "uvsp_InvestmentSecuritiesCollateralforFederalReserveBankLineofCredit": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Investment securities used as collateral for Federal Reserve Bank line of credit.",
        "label": "Investment Securities Collateral for Federal Reserve Bank Line of Credit",
        "terseLabel": "Investment securities collateral for Federal Reserve Bank Discount Window Lending program"
       }
      }
     },
     "localname": "InvestmentSecuritiesCollateralforFederalReserveBankLineofCredit",
     "nsuri": "http://www.univest.net/20220331",
     "presentation": [
      "http://www.univest.net/role/BorrowingsAdditionalInformationDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "uvsp_InvestmentSecuritiesPledgedAsCollateralCarryingValue": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Investment securities pledged as collateral carrying value.",
        "label": "Investment Securities Pledged As Collateral Carrying Value",
        "terseLabel": "Carrying value of securities pledged to secure public deposits and other contractual obligations"
       }
      }
     },
     "localname": "InvestmentSecuritiesPledgedAsCollateralCarryingValue",
     "nsuri": "http://www.univest.net/20220331",
     "presentation": [
      "http://www.univest.net/role/InvestmentSecuritiesNarrativeDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "uvsp_LessorOperatingLeasePaymentToBeReceivedAfterYearFour": {
     "auth_ref": [],
     "calculation": {
      "http://www.univest.net/role/LoansandLeasesLeasePaymentsReceivablesDetails": {
       "order": 2.0,
       "parentTag": "us-gaap_LessorOperatingLeasePaymentsToBeReceived",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Lessor, Operating Lease, Payment to be Received, after Year Four",
        "label": "Lessor, Operating Lease, Payment to be Received, after Year Four",
        "terseLabel": "Thereafter"
       }
      }
     },
     "localname": "LessorOperatingLeasePaymentToBeReceivedAfterYearFour",
     "nsuri": "http://www.univest.net/20220331",
     "presentation": [
      "http://www.univest.net/role/LoansandLeasesLeasePaymentsReceivablesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "uvsp_LessorOperatingLeasePaymentsToBeReceivedImputedInterest": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Lessor, Operating Lease, Payments to be Received, Imputed Interest",
        "label": "Lessor, Operating Lease, Payments to be Received, Imputed Interest",
        "negatedTerseLabel": "Less: Imputed interest"
       }
      }
     },
     "localname": "LessorOperatingLeasePaymentsToBeReceivedImputedInterest",
     "nsuri": "http://www.univest.net/20220331",
     "presentation": [
      "http://www.univest.net/role/LoansandLeasesLeasePaymentsReceivablesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "uvsp_LessorOperatingLeasePaymentsToBeReceivedInitialDirectCosts": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Lessor, Operating Lease, Payments to be Received, Initial Direct Costs",
        "label": "Lessor, Operating Lease, Payments to be Received, Initial Direct Costs",
        "terseLabel": "Plus: Initial direct costs"
       }
      }
     },
     "localname": "LessorOperatingLeasePaymentsToBeReceivedInitialDirectCosts",
     "nsuri": "http://www.univest.net/20220331",
     "presentation": [
      "http://www.univest.net/role/LoansandLeasesLeasePaymentsReceivablesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "uvsp_LessorOperatingLeasePaymentsToBeReceivedNet": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Lessor, Operating Lease, Payments to be Received, Net",
        "label": "Lessor, Operating Lease, Payments to be Received, Net",
        "terseLabel": "Lease financings"
       }
      }
     },
     "localname": "LessorOperatingLeasePaymentsToBeReceivedNet",
     "nsuri": "http://www.univest.net/20220331",
     "presentation": [
      "http://www.univest.net/role/LoansandLeasesLeasePaymentsReceivablesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "uvsp_LessorOperatingLeasePaymentsToBeReceivedUnguaranteedResidual": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Lessor, Operating Lease, Payments to be Received, Unguaranteed Residual",
        "label": "Lessor, Operating Lease, Payments to be Received, Unguaranteed Residual",
        "terseLabel": "Plus: Unguaranteed residual"
       }
      }
     },
     "localname": "LessorOperatingLeasePaymentsToBeReceivedUnguaranteedResidual",
     "nsuri": "http://www.univest.net/20220331",
     "presentation": [
      "http://www.univest.net/role/LoansandLeasesLeasePaymentsReceivablesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "uvsp_LoansAndLeasesTextBlock": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The entire disclosure for loan and lease receivables. Includes disclosure for reserve for loan and lease losses.",
        "label": "Loans And Leases [Text Block]",
        "terseLabel": "Loans and Leases"
       }
      }
     },
     "localname": "LoansAndLeasesTextBlock",
     "nsuri": "http://www.univest.net/20220331",
     "presentation": [
      "http://www.univest.net/role/LoansandLeases"
     ],
     "xbrltype": "textBlockItemType"
    },
    "uvsp_LoansHeldForSaleMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Loans Held for Sale",
        "label": "Loans Held for Sale [Member]",
        "terseLabel": "Loans Held for Sale [Member]"
       }
      }
     },
     "localname": "LoansHeldForSaleMember",
     "nsuri": "http://www.univest.net/20220331",
     "presentation": [
      "http://www.univest.net/role/FairValueDisclosuresAssetsandLiabilitiesMeasuredatFairValueonRecurringBasisDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "uvsp_LoansReceivableFixedInterestRate": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Loans Receivable Fixed Interest Rate",
        "label": "Loans Receivable Fixed Interest Rate",
        "terseLabel": "Loans receivable fixed interest rate (percentage)"
       }
      }
     },
     "localname": "LoansReceivableFixedInterestRate",
     "nsuri": "http://www.univest.net/20220331",
     "presentation": [
      "http://www.univest.net/role/DerivativeInstrumentsandHedgingActivitiesNarrativeDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "uvsp_LoansReceivablewithFixedRatesofInterestPoolMaturityPeriod": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Loans Receivable with Fixed Rates of Interest, Pool, Maturity Period",
        "label": "Loans Receivable with Fixed Rates of Interest, Pool, Maturity Period",
        "terseLabel": "Loans receivable with fixed rates of interest maturity period"
       }
      }
     },
     "localname": "LoansReceivablewithFixedRatesofInterestPoolMaturityPeriod",
     "nsuri": "http://www.univest.net/20220331",
     "presentation": [
      "http://www.univest.net/role/DerivativeInstrumentsandHedgingActivitiesNarrativeDetails"
     ],
     "xbrltype": "durationItemType"
    },
    "uvsp_MaximumInvestmentInAnySingleNonFederalIssuerRepresentingShareholdersEquity": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Maximum investment in any single non-federal issuer representing shareholder's equity.",
        "label": "Maximum Investment In Any Single Non Federal Issuer Representing Shareholders Equity",
        "terseLabel": "Maximum investment in any single non-federal issuer representing shareholders equity"
       }
      }
     },
     "localname": "MaximumInvestmentInAnySingleNonFederalIssuerRepresentingShareholdersEquity",
     "nsuri": "http://www.univest.net/20220331",
     "presentation": [
      "http://www.univest.net/role/InvestmentSecuritiesNarrativeDetail"
     ],
     "xbrltype": "percentItemType"
    },
    "uvsp_MortgageAndSBALoansServicedForOthers": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Mortgage And SBA Loans Serviced For Others",
        "label": "Mortgage And SBA Loans Serviced For Others",
        "terseLabel": "Residential mortgage and SBA loans serviced for others"
       }
      }
     },
     "localname": "MortgageAndSBALoansServicedForOthers",
     "nsuri": "http://www.univest.net/20220331",
     "presentation": [
      "http://www.univest.net/role/GoodwillandOtherIntangibleAssetsChangesinServicingRightsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "uvsp_MortgageBankingActivitiesMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Mortgage banking activities.",
        "label": "Mortgage Banking Activities [Member]",
        "terseLabel": "Mortgage Banking Activities [Member]"
       }
      }
     },
     "localname": "MortgageBankingActivitiesMember",
     "nsuri": "http://www.univest.net/20220331",
     "presentation": [
      "http://www.univest.net/role/DerivativeInstrumentsandHedgingActivitiesDerivativesNotDesignatedasHedgingInstrumentsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "uvsp_NonAccrualTroubledDebtRestructuringLoansMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Non accrual troubled debt restructuring loans.",
        "label": "Non Accrual Troubled Debt Restructuring Loans [Member]",
        "terseLabel": "Nonaccrual Troubled Debt Restructuring Loans [Member]"
       }
      }
     },
     "localname": "NonAccrualTroubledDebtRestructuringLoansMember",
     "nsuri": "http://www.univest.net/20220331",
     "presentation": [
      "http://www.univest.net/role/LoansandLeasesAccruingandNonaccruingTroubledDebtRestructuredLoanswithPaymentDefaultsDetails",
      "http://www.univest.net/role/LoansandLeasesScheduleofConcessionsGrantedonAccruingandNonaccrualTroubledLoansDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "uvsp_NonaccrualTroubledDebtRestructuredLoansAndLeaseModifications": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Nonaccrual troubled debt restructured loans and lease modifications.",
        "label": "Nonaccrual Troubled Debt Restructured Loans And Lease Modifications",
        "terseLabel": "Nonaccrual troubled debt restructured loans and lease modifications"
       }
      }
     },
     "localname": "NonaccrualTroubledDebtRestructuredLoansAndLeaseModifications",
     "nsuri": "http://www.univest.net/20220331",
     "presentation": [
      "http://www.univest.net/role/LoansandLeasesNonperformingLoansandLeasesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "uvsp_NoneMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "None",
        "label": "None [Member]",
        "terseLabel": "None"
       }
      }
     },
     "localname": "NoneMember",
     "nsuri": "http://www.univest.net/20220331",
     "presentation": [
      "http://www.univest.net/role/LoansandLeasesCollateralDependentLoansDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "uvsp_NonperformingLoansAndLeasesLineItems": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Non-Performing Loans and Leases [Line Items]",
        "label": "Nonperforming Loans And Leases [Line Items]",
        "terseLabel": "Nonperforming Loans And Leases [Line Items]"
       }
      }
     },
     "localname": "NonperformingLoansAndLeasesLineItems",
     "nsuri": "http://www.univest.net/20220331",
     "presentation": [
      "http://www.univest.net/role/LoansandLeasesNonperformingLoansandLeasesDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "uvsp_NonperformingLoansAndLeasesTableTextBlock": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Tabular disclosure of nonperforming loan and lease receivables. Includes nonaccrual loans and leases, accruing troubled debt restructured loans and lease modifications, and loans and leases 90 days or more past due and accruing interest.",
        "label": "Nonperforming Loans And Leases Table [Text Block]",
        "terseLabel": "Schedule of Nonperforming Loans and Leases"
       }
      }
     },
     "localname": "NonperformingLoansAndLeasesTableTextBlock",
     "nsuri": "http://www.univest.net/20220331",
     "presentation": [
      "http://www.univest.net/role/LoansandLeasesTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "uvsp_NumberOfInvestmentsInNonFederalIssuerRepresentingMoreThanSpecifiedPercentageOfEquity": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Number Of Investments In Non Federal Issuer Representing More Than Specified Percentage Of Equity",
        "label": "Number Of Investments In Non Federal Issuer Representing More Than Specified Percentage Of Equity",
        "terseLabel": "Number of investments in non federal issuer representing more than 10% of shareholder's equity"
       }
      }
     },
     "localname": "NumberOfInvestmentsInNonFederalIssuerRepresentingMoreThanSpecifiedPercentageOfEquity",
     "nsuri": "http://www.univest.net/20220331",
     "presentation": [
      "http://www.univest.net/role/InvestmentSecuritiesNarrativeDetail"
     ],
     "xbrltype": "integerItemType"
    },
    "uvsp_NumberOfSecurities": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Number Of Securities",
        "label": "Number Of Securities",
        "terseLabel": "Number of securities"
       }
      }
     },
     "localname": "NumberOfSecurities",
     "nsuri": "http://www.univest.net/20220331",
     "presentation": [
      "http://www.univest.net/role/InvestmentSecuritiesNarrativeDetail"
     ],
     "xbrltype": "integerItemType"
    },
    "uvsp_OneMonthLIBORMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "One-Month LIBOR [Member]",
        "label": "One-Month LIBOR [Member]",
        "terseLabel": "One-Month LIBOR [Member]"
       }
      }
     },
     "localname": "OneMonthLIBORMember",
     "nsuri": "http://www.univest.net/20220331",
     "presentation": [
      "http://www.univest.net/role/DerivativeInstrumentsandHedgingActivitiesNarrativeDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "uvsp_OtherComprehensiveIncomeLossReclassificationAdjustmentFromAOCIForRecoveryOfSecuritiesBeforeTax": {
     "auth_ref": [],
     "calculation": {
      "http://www.univest.net/role/CondensedConsolidatedStatementsofComprehensiveIncome": {
       "order": 3.0,
       "parentTag": "us-gaap_OtherComprehensiveIncomeLossAvailableForSaleSecuritiesAdjustmentBeforeTax",
       "weight": -1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Other Comprehensive (Income) Loss, Reclassification Adjustment From AOCI For Recovery Of Securities, Before Tax",
        "label": "Other Comprehensive (Income) Loss, Reclassification Adjustment From AOCI For Recovery Of Securities, Before Tax",
        "terseLabel": "Provision (reversal of provision) for credit losses"
       }
      }
     },
     "localname": "OtherComprehensiveIncomeLossReclassificationAdjustmentFromAOCIForRecoveryOfSecuritiesBeforeTax",
     "nsuri": "http://www.univest.net/20220331",
     "presentation": [
      "http://www.univest.net/role/CondensedConsolidatedStatementsofComprehensiveIncome"
     ],
     "xbrltype": "monetaryItemType"
    },
    "uvsp_OtherComprehensiveIncomeLossReclassificationAdjustmentFromAOCIForRecoveryOfSecuritiesNetOfTax": {
     "auth_ref": [],
     "calculation": {
      "http://www.univest.net/role/CondensedConsolidatedStatementsofComprehensiveIncome_1": {
       "order": 3.0,
       "parentTag": "us-gaap_OtherComprehensiveIncomeLossAvailableForSaleSecuritiesAdjustmentNetOfTax",
       "weight": -1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Other Comprehensive (Income) Loss, Reclassification Adjustment From AOCI For Recovery Of Securities, Net Of Tax",
        "label": "Other Comprehensive (Income) Loss, Reclassification Adjustment From AOCI For Recovery Of Securities, Net Of Tax",
        "terseLabel": "Provision (reversal of provision) for credit losses"
       }
      }
     },
     "localname": "OtherComprehensiveIncomeLossReclassificationAdjustmentFromAOCIForRecoveryOfSecuritiesNetOfTax",
     "nsuri": "http://www.univest.net/20220331",
     "presentation": [
      "http://www.univest.net/role/CondensedConsolidatedStatementsofComprehensiveIncome"
     ],
     "xbrltype": "monetaryItemType"
    },
    "uvsp_OtherComprehensiveIncomeLossReclassificationAdjustmentFromAOCIForRecoveryOfSecuritiesTax": {
     "auth_ref": [],
     "calculation": {
      "http://www.univest.net/role/CondensedConsolidatedStatementsofComprehensiveIncome": {
       "order": 3.0,
       "parentTag": "us-gaap_OtherComprehensiveIncomeLossAvailableForSaleSecuritiesTax",
       "weight": -1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Other Comprehensive (Income) Loss, Reclassification Adjustment From AOCI For Recovery Of Securities, Tax",
        "label": "Other Comprehensive (Income) Loss, Reclassification Adjustment From AOCI For Recovery Of Securities, Tax",
        "terseLabel": "Provision (reversal of provision) for credit losses"
       }
      }
     },
     "localname": "OtherComprehensiveIncomeLossReclassificationAdjustmentFromAOCIForRecoveryOfSecuritiesTax",
     "nsuri": "http://www.univest.net/20220331",
     "presentation": [
      "http://www.univest.net/role/CondensedConsolidatedStatementsofComprehensiveIncome"
     ],
     "xbrltype": "monetaryItemType"
    },
    "uvsp_OtherMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Other",
        "label": "Other [Member]",
        "terseLabel": "Other"
       }
      }
     },
     "localname": "OtherMember",
     "nsuri": "http://www.univest.net/20220331",
     "presentation": [
      "http://www.univest.net/role/LoansandLeasesCollateralDependentLoansDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "uvsp_OtherNoninterestIncomeMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Other Noninterest Income [Member]",
        "label": "Other Noninterest Income [Member]",
        "terseLabel": "Other Noninterest Income [Member]"
       }
      }
     },
     "localname": "OtherNoninterestIncomeMember",
     "nsuri": "http://www.univest.net/20220331",
     "presentation": [
      "http://www.univest.net/role/DerivativeInstrumentsandHedgingActivitiesDerivativesNotDesignatedasHedgingInstrumentsDetails",
      "http://www.univest.net/role/InvestmentSecuritiesNarrativeDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "uvsp_OtherRealEstateOwnedFairValueDisclosure": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Other real estate owned fair value disclosure.",
        "label": "Other Real Estate Owned Fair Value Disclosure",
        "terseLabel": "Other real estate owned"
       }
      }
     },
     "localname": "OtherRealEstateOwnedFairValueDisclosure",
     "nsuri": "http://www.univest.net/20220331",
     "presentation": [
      "http://www.univest.net/role/FairValueDisclosuresAssetsMeasuredatFairValueonNonrecurringBasisDetails",
      "http://www.univest.net/role/FairValueDisclosuresNarrativeDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "uvsp_OutstandingAmountOfFederalFundLinesOfCreditWithFederalReserveBank": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Outstanding amount of federal fund lines of credit with federal reserve bank.",
        "label": "Outstanding Amount Of Federal Fund Lines Of Credit With Federal Reserve Bank",
        "terseLabel": "Outstanding amount of federal fund line of credit with Federal Reserve Bank of Philadelphia"
       }
      }
     },
     "localname": "OutstandingAmountOfFederalFundLinesOfCreditWithFederalReserveBank",
     "nsuri": "http://www.univest.net/20220331",
     "presentation": [
      "http://www.univest.net/role/BorrowingsAdditionalInformationDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "uvsp_OutstandingAmountOfLineOfCreditWithCorrespondentBankParentCompany": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Outstanding amount of line of credit with correspondent bank for the parent company.",
        "label": "Outstanding Amount Of Line Of Credit With Correspondent Bank - Parent Company",
        "terseLabel": "Outstanding amount of line of credit with correspondent bank - parent company"
       }
      }
     },
     "localname": "OutstandingAmountOfLineOfCreditWithCorrespondentBankParentCompany",
     "nsuri": "http://www.univest.net/20220331",
     "presentation": [
      "http://www.univest.net/role/BorrowingsAdditionalInformationDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "uvsp_PaulIScheafferInsuranceAgencyMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Paul I. Scheaffer Insurance Agency",
        "label": "Paul I. Scheaffer Insurance Agency [Member]",
        "terseLabel": "Paul I. Scheaffer Insurance Agency [Member]"
       }
      }
     },
     "localname": "PaulIScheafferInsuranceAgencyMember",
     "nsuri": "http://www.univest.net/20220331",
     "presentation": [
      "http://www.univest.net/role/FairValueDisclosuresChangeinContingentConsiderationLiabilityDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "uvsp_PaycheckProtectionProgramLoansMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Paycheck Protection Program Loans",
        "label": "Paycheck Protection Program Loans [Member]",
        "terseLabel": "Paycheck Protection Program Loans"
       }
      }
     },
     "localname": "PaycheckProtectionProgramLoansMember",
     "nsuri": "http://www.univest.net/20220331",
     "presentation": [
      "http://www.univest.net/role/LoansandLeasesAgeAnalysisofPastDueLoansandLeasesDetails",
      "http://www.univest.net/role/LoansandLeasesAllowanceforCreditLossesLoansandLeasesRollForwardDetails",
      "http://www.univest.net/role/LoansandLeasesAllowanceforLoanandLeaseLossesandRecordedInvestmentinLoansandLeasesDetails",
      "http://www.univest.net/role/LoansandLeasesCreditQualityDetails",
      "http://www.univest.net/role/LoansandLeasesSummaryofMajorLoanandLeaseCategoriesDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "uvsp_PaymentOfContingentConsideration": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Payment Of Contingent Consideration",
        "label": "Payment Of Contingent Consideration",
        "terseLabel": "Payment of contingent consideration"
       }
      }
     },
     "localname": "PaymentOfContingentConsideration",
     "nsuri": "http://www.univest.net/20220331",
     "presentation": [
      "http://www.univest.net/role/FairValueDisclosuresChangeinContingentConsiderationLiabilityDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "uvsp_PaymentsForProceedsFromFinancingReceivables": {
     "auth_ref": [],
     "calculation": {
      "http://www.univest.net/role/CondensedConsolidatedStatementsofCashFlows": {
       "order": 9.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInInvestingActivities",
       "weight": -1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Payments for (Proceeds from) Financing Receivables",
        "label": "Payments for (Proceeds from) Financing Receivables",
        "negatedTerseLabel": "Net increase in loans and leases"
       }
      }
     },
     "localname": "PaymentsForProceedsFromFinancingReceivables",
     "nsuri": "http://www.univest.net/20220331",
     "presentation": [
      "http://www.univest.net/role/CondensedConsolidatedStatementsofCashFlows"
     ],
     "xbrltype": "monetaryItemType"
    },
    "uvsp_PledgingRequirementsForCreditDerivativesandSWAPAgreementsSecurities": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Pledging requirement for credit derivatives and SWAP agreements - securities.",
        "label": "Pledging Requirements For Credit Derivatives and SWAP Agreements - Securities",
        "terseLabel": "Pledging requirements for credit derivatives and SWAP agreements - securities"
       }
      }
     },
     "localname": "PledgingRequirementsForCreditDerivativesandSWAPAgreementsSecurities",
     "nsuri": "http://www.univest.net/20220331",
     "presentation": [
      "http://www.univest.net/role/InvestmentSecuritiesNarrativeDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "uvsp_PrinciplesOfConsolidationAndBasisOfPresentationPolicyTextBlock": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Principles of consolidation and basis of presentation.",
        "label": "Principles Of Consolidation And Basis Of Presentation Policy [Text Block]",
        "terseLabel": "Principles of Consolidation"
       }
      }
     },
     "localname": "PrinciplesOfConsolidationAndBasisOfPresentationPolicyTextBlock",
     "nsuri": "http://www.univest.net/20220331",
     "presentation": [
      "http://www.univest.net/role/SummaryofSignificantAccountingPoliciesPolicies"
     ],
     "xbrltype": "textBlockItemType"
    },
    "uvsp_ProceedsPaymentsFromOtherInvestments": {
     "auth_ref": [],
     "calculation": {
      "http://www.univest.net/role/CondensedConsolidatedStatementsofCashFlows": {
       "order": 6.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInInvestingActivities",
       "weight": -1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of cash inflow (outflow) from acquisition or sale of other investments, included but not limited to Federal Reserve Bank Stock, Federal Home Loan Bank Stock and Atlantic Central Banker's Bank stock.",
        "label": "Proceeds (Payments) From Other Investments",
        "negatedTerseLabel": "Net decrease in other investments"
       }
      }
     },
     "localname": "ProceedsPaymentsFromOtherInvestments",
     "nsuri": "http://www.univest.net/20220331",
     "presentation": [
      "http://www.univest.net/role/CondensedConsolidatedStatementsofCashFlows"
     ],
     "xbrltype": "monetaryItemType"
    },
    "uvsp_RealEstateCommercialMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Class of financing receivables related to real estate financing receivables other than those related to commercial real estate construction.",
        "label": "Real-Estate Commercial [Member]",
        "terseLabel": "Real-Estate Commercial [Member]"
       }
      }
     },
     "localname": "RealEstateCommercialMember",
     "nsuri": "http://www.univest.net/20220331",
     "presentation": [
      "http://www.univest.net/role/LoansandLeasesAgeAnalysisofPastDueLoansandLeasesDetails",
      "http://www.univest.net/role/LoansandLeasesAllowanceforCreditLossesLoansandLeasesRollForwardDetails",
      "http://www.univest.net/role/LoansandLeasesAllowanceforLoanandLeaseLossesandRecordedInvestmentinLoansandLeasesDetails",
      "http://www.univest.net/role/LoansandLeasesCollateralDependentLoansDetails",
      "http://www.univest.net/role/LoansandLeasesCreditQualityDetails",
      "http://www.univest.net/role/LoansandLeasesCreditQualityIndicatorsDetails",
      "http://www.univest.net/role/LoansandLeasesNonaccrualDetails",
      "http://www.univest.net/role/LoansandLeasesNonperformingLoansandLeasesDetails",
      "http://www.univest.net/role/LoansandLeasesSummaryofMajorLoanandLeaseCategoriesDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "uvsp_RealEstateHomeEquitySecuredForPersonalPurposeMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Real estate-home equity secured for personal purpose.",
        "label": "Real Estate Home Equity Secured For Personal Purpose [Member]",
        "terseLabel": "Real Estate Home Equity Secured For Personal Purpose [Member]"
       }
      }
     },
     "localname": "RealEstateHomeEquitySecuredForPersonalPurposeMember",
     "nsuri": "http://www.univest.net/20220331",
     "presentation": [
      "http://www.univest.net/role/LoansandLeasesAgeAnalysisofPastDueLoansandLeasesDetails",
      "http://www.univest.net/role/LoansandLeasesAllowanceforCreditLossesLoansandLeasesRollForwardDetails",
      "http://www.univest.net/role/LoansandLeasesAllowanceforLoanandLeaseLossesandRecordedInvestmentinLoansandLeasesDetails",
      "http://www.univest.net/role/LoansandLeasesCollateralDependentLoansDetails",
      "http://www.univest.net/role/LoansandLeasesCreditQualityDetails",
      "http://www.univest.net/role/LoansandLeasesCreditQualityIndicatorsDetails",
      "http://www.univest.net/role/LoansandLeasesNonaccrualDetails",
      "http://www.univest.net/role/LoansandLeasesNonperformingLoansandLeasesDetails",
      "http://www.univest.net/role/LoansandLeasesSummaryofMajorLoanandLeaseCategoriesDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "uvsp_RealEstateResidentialSecuredForBusinessPurposeMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Real estate-residential secured for business purpose.",
        "label": "Real Estate Residential Secured For Business Purpose [Member]",
        "terseLabel": "Real Estate Residential Secured For Business Purpose [Member]"
       }
      }
     },
     "localname": "RealEstateResidentialSecuredForBusinessPurposeMember",
     "nsuri": "http://www.univest.net/20220331",
     "presentation": [
      "http://www.univest.net/role/LoansandLeasesAccruingandNonaccruingTroubledDebtRestructuredLoanswithPaymentDefaultsDetails",
      "http://www.univest.net/role/LoansandLeasesAgeAnalysisofPastDueLoansandLeasesDetails",
      "http://www.univest.net/role/LoansandLeasesAllowanceforCreditLossesLoansandLeasesRollForwardDetails",
      "http://www.univest.net/role/LoansandLeasesAllowanceforLoanandLeaseLossesandRecordedInvestmentinLoansandLeasesDetails",
      "http://www.univest.net/role/LoansandLeasesCollateralDependentLoansDetails",
      "http://www.univest.net/role/LoansandLeasesCreditQualityDetails",
      "http://www.univest.net/role/LoansandLeasesCreditQualityIndicatorsDetails",
      "http://www.univest.net/role/LoansandLeasesNonaccrualDetails",
      "http://www.univest.net/role/LoansandLeasesNonperformingLoansandLeasesDetails",
      "http://www.univest.net/role/LoansandLeasesScheduleofConcessionsGrantedonAccruingandNonaccrualTroubledLoansDetails",
      "http://www.univest.net/role/LoansandLeasesSummaryofMajorLoanandLeaseCategoriesDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "uvsp_RealEstateResidentialSecuredForPersonalPurposeMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Real estate-residential secured for personal purpose.",
        "label": "Real Estate Residential Secured For Personal Purpose [Member]",
        "terseLabel": "Real Estate Residential Secured For Personal Purpose [Member]",
        "verboseLabel": "Real Estate-Residential Secured For Personal Purpose [Member]"
       }
      }
     },
     "localname": "RealEstateResidentialSecuredForPersonalPurposeMember",
     "nsuri": "http://www.univest.net/20220331",
     "presentation": [
      "http://www.univest.net/role/LoansandLeasesAgeAnalysisofPastDueLoansandLeasesDetails",
      "http://www.univest.net/role/LoansandLeasesAllowanceforCreditLossesLoansandLeasesRollForwardDetails",
      "http://www.univest.net/role/LoansandLeasesAllowanceforLoanandLeaseLossesandRecordedInvestmentinLoansandLeasesDetails",
      "http://www.univest.net/role/LoansandLeasesCollateralDependentLoansDetails",
      "http://www.univest.net/role/LoansandLeasesCreditQualityDetails",
      "http://www.univest.net/role/LoansandLeasesCreditQualityIndicatorsDetails",
      "http://www.univest.net/role/LoansandLeasesNonaccrualDetails",
      "http://www.univest.net/role/LoansandLeasesNonperformingLoansandLeasesDetails",
      "http://www.univest.net/role/LoansandLeasesSummaryofMajorLoanandLeaseCategoriesDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "uvsp_ReserveForLoanAndLeaseLossesAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Reserve for loan and lease losses.",
        "label": "Reserve For Loan And Lease Losses [Abstract]",
        "terseLabel": "Allowance For Credit Losses, Loans And Leases [Abstract]"
       }
      }
     },
     "localname": "ReserveForLoanAndLeaseLossesAbstract",
     "nsuri": "http://www.univest.net/20220331",
     "presentation": [
      "http://www.univest.net/role/LoansandLeasesAllowanceforLoanandLeaseLossesandRecordedInvestmentinLoansandLeasesDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "uvsp_ScheduleOfDerivativesDesignatedAsCashFlowAndFairValueHedgingInstrumentsStatementsOfFinancialPerformanceLocationTableTextBlock": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Schedule of derivatives designated as cash flow and fair value hedging instruments statements of financial performance location.",
        "label": "Schedule Of Derivatives Designated As Cash Flow And Fair Value Hedging Instruments Statements Of Financial Performance Location [Table Text Block]",
        "terseLabel": "Income for Derivatives Designated as Hedging Instruments"
       }
      }
     },
     "localname": "ScheduleOfDerivativesDesignatedAsCashFlowAndFairValueHedgingInstrumentsStatementsOfFinancialPerformanceLocationTableTextBlock",
     "nsuri": "http://www.univest.net/20220331",
     "presentation": [
      "http://www.univest.net/role/DerivativeInstrumentsandHedgingActivitiesTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "uvsp_ScheduleOfDerivativesDesignatedAsHedgingInstrumentsStatementFinancialPositionLocationTableTextBlock": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Schedule of derivatives designated as hedging instruments statement financial position location.",
        "label": "Schedule Of Derivatives Designated As Hedging Instruments Statement Financial Position Location [Table Text Block]",
        "terseLabel": "Notional Amounts and Fair Value of Derivatives Designated as Hedging Instruments"
       }
      }
     },
     "localname": "ScheduleOfDerivativesDesignatedAsHedgingInstrumentsStatementFinancialPositionLocationTableTextBlock",
     "nsuri": "http://www.univest.net/20220331",
     "presentation": [
      "http://www.univest.net/role/DerivativeInstrumentsandHedgingActivitiesTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "uvsp_ScheduleOfDerivativesNotDesignatedAsHedgingInstrumentsStatementFinancialPositionLocationTableTextBlock": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Schedule of derivatives not designated as hedging instruments statement financial position location.",
        "label": "Schedule Of Derivatives Not Designated As Hedging Instruments Statement Financial Position Location [Table Text Block]",
        "terseLabel": "Notional Amounts and Fair Value of Derivatives Not Designated as Hedging Instruments"
       }
      }
     },
     "localname": "ScheduleOfDerivativesNotDesignatedAsHedgingInstrumentsStatementFinancialPositionLocationTableTextBlock",
     "nsuri": "http://www.univest.net/20220331",
     "presentation": [
      "http://www.univest.net/role/DerivativeInstrumentsandHedgingActivitiesTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "uvsp_ScheduleOfDerivativesNotDesignatedAsHedgingInstrumentsStatementsOfFinancialPerformanceLocationTableTextBlock": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Schedule of derivatives not designated as hedging instruments statements of financial performance location.",
        "label": "Schedule Of Derivatives Not Designated As Hedging Instruments Statements Of Financial Performance Location [Table Text Block]",
        "terseLabel": "Income for Derivatives Not Designated as Hedging Instruments"
       }
      }
     },
     "localname": "ScheduleOfDerivativesNotDesignatedAsHedgingInstrumentsStatementsOfFinancialPerformanceLocationTableTextBlock",
     "nsuri": "http://www.univest.net/20220331",
     "presentation": [
      "http://www.univest.net/role/DerivativeInstrumentsandHedgingActivitiesTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "uvsp_ScheduleOfFiniteLivedIntangibleAssetsFutureAmortizationExpense2TableTextBlock": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Schedule of Finite-Lived Intangible Assets, Future Amortization Expense2",
        "label": "Schedule of Finite-Lived Intangible Assets, Future Amortization Expense2 [Table Text Block]",
        "terseLabel": "Estimated Amortization Expense of Servicing Rights"
       }
      }
     },
     "localname": "ScheduleOfFiniteLivedIntangibleAssetsFutureAmortizationExpense2TableTextBlock",
     "nsuri": "http://www.univest.net/20220331",
     "presentation": [
      "http://www.univest.net/role/GoodwillandOtherIntangibleAssetsTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "uvsp_ScheduleOfMaturitiesOfTimeDepositsTableTextBlock": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Tabular disclosure of maturities of certificates of deposits.",
        "label": "Schedule Of Maturities Of Time Deposits [Table Text Block]",
        "terseLabel": "Schedule Of Maturities Of Time Deposits"
       }
      }
     },
     "localname": "ScheduleOfMaturitiesOfTimeDepositsTableTextBlock",
     "nsuri": "http://www.univest.net/20220331",
     "presentation": [
      "http://www.univest.net/role/DepositsTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "uvsp_ScheduleofBorrowingsLineItems": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "[Line Items] for Schedule of Borrowings [Table]",
        "label": "Schedule of Borrowings [Line Items]",
        "terseLabel": "Schedule of Borrowings [Line Items]"
       }
      }
     },
     "localname": "ScheduleofBorrowingsLineItems",
     "nsuri": "http://www.univest.net/20220331",
     "presentation": [
      "http://www.univest.net/role/BorrowingsSummaryofBorrowingsByTypeDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "uvsp_ScheduleofBorrowingsTable": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Schedule of Borrowings [Table]",
        "label": "Schedule of Borrowings [Table]",
        "terseLabel": "Schedule of Borrowings [Table]"
       }
      }
     },
     "localname": "ScheduleofBorrowingsTable",
     "nsuri": "http://www.univest.net/20220331",
     "presentation": [
      "http://www.univest.net/role/BorrowingsSummaryofBorrowingsByTypeDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "uvsp_ScheduleofComponentsofWeightedAverageInterestRateandBalanceofDepositsTableTextBlock": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "[Table Text Block] for Tabular disclosure of the composition of deposits and their respective weighted average interest rates as of the reporting period.",
        "label": "Schedule of Components of Weighted Average Interest Rate and Balance of Deposits [Table Text Block]",
        "terseLabel": "Schedule of Components of Weighted Average Interest Rate and Balance of Deposits"
       }
      }
     },
     "localname": "ScheduleofComponentsofWeightedAverageInterestRateandBalanceofDepositsTableTextBlock",
     "nsuri": "http://www.univest.net/20220331",
     "presentation": [
      "http://www.univest.net/role/DepositsTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "uvsp_SecuritiesAvailableForSaleAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Securities available for sale.",
        "label": "Securities Available For Sale [Abstract]",
        "terseLabel": "Securities available-for-sale:"
       }
      }
     },
     "localname": "SecuritiesAvailableForSaleAbstract",
     "nsuri": "http://www.univest.net/20220331",
     "presentation": [
      "http://www.univest.net/role/InvestmentSecuritiesInformationRelatedtoSalesofSecuritiesAvailableforSaleDetail"
     ],
     "xbrltype": "stringItemType"
    },
    "uvsp_ServicingRightsCarryingAmountBeforeValuationAllowance": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Servicing rights carrying amount before valuation allowance.",
        "label": "Servicing Rights Carrying Amount Before Valuation Allowance",
        "terseLabel": "Servicing rights carrying amount before valuation allowance"
       }
      }
     },
     "localname": "ServicingRightsCarryingAmountBeforeValuationAllowance",
     "nsuri": "http://www.univest.net/20220331",
     "presentation": [
      "http://www.univest.net/role/FairValueDisclosuresNarrativeDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "uvsp_ServicingRightsFairValueDisclosure": {
     "auth_ref": [],
     "calculation": {
      "http://www.univest.net/role/FairValueDisclosuresAssetsLiabilitiesandOffbalanceSheetItemsNotMeasuredatFairValueDetails": {
       "order": 2.0,
       "parentTag": "us-gaap_AssetsFairValueDisclosure",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Servicing rights.",
        "label": "Servicing Rights Fair Value Disclosure",
        "terseLabel": "Servicing rights"
       }
      }
     },
     "localname": "ServicingRightsFairValueDisclosure",
     "nsuri": "http://www.univest.net/20220331",
     "presentation": [
      "http://www.univest.net/role/FairValueDisclosuresAssetsLiabilitiesandOffbalanceSheetItemsNotMeasuredatFairValueDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "uvsp_ServicingRightsMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Servicing rights on loans, including, but not limited to, 1-4 family residential mortgages, Small Business Administration (SBA).",
        "label": "Servicing Rights [Member]",
        "terseLabel": "Servicing Rights [Member]"
       }
      }
     },
     "localname": "ServicingRightsMember",
     "nsuri": "http://www.univest.net/20220331",
     "presentation": [
      "http://www.univest.net/role/GoodwillandOtherIntangibleAssetsActivityInValuationAllowanceForServicingRightsDetails",
      "http://www.univest.net/role/GoodwillandOtherIntangibleAssetsChangesinServicingRightsDetails",
      "http://www.univest.net/role/GoodwillandOtherIntangibleAssetsComponentsofIntangibleAssetsDetails",
      "http://www.univest.net/role/GoodwillandOtherIntangibleAssetsEstimatedAmortizationExpenseofServicingRightsDetails",
      "http://www.univest.net/role/GoodwillandOtherIntangibleAssetsNarrativeDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "uvsp_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsAggregateIntrinsicValueGranted": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Share-based compensation arrangement by share-based payment award, equity instruments other than options, aggregate intrinsic value, granted",
        "label": "Share-based Compensation Arrangement by Share-based Payment Award, Equity Instruments Other than Options, Aggregate Intrinsic Value, Granted",
        "terseLabel": "Intrinsic value of units granted"
       }
      }
     },
     "localname": "ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsAggregateIntrinsicValueGranted",
     "nsuri": "http://www.univest.net/20220331",
     "presentation": [
      "http://www.univest.net/role/StockBasedIncentivePlanCertainInformationRegardingRestrictedStockUnitsDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "uvsp_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsCancelledByPerformanceFactor": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Share-based Compensation Arrangement by Share-based Payment Award, Equity Instruments Other than Options, Cancelled by Performance Factor",
        "label": "Share-based Compensation Arrangement by Share-based Payment Award, Equity Instruments Other than Options, Cancelled by Performance Factor",
        "negatedTerseLabel": "nonvested share units, cancelled by performance factor"
       }
      }
     },
     "localname": "ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsCancelledByPerformanceFactor",
     "nsuri": "http://www.univest.net/20220331",
     "presentation": [
      "http://www.univest.net/role/StockBasedIncentivePlanSummaryofNonvestedRestrictedStockUnitsDetail"
     ],
     "xbrltype": "sharesItemType"
    },
    "uvsp_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsIncreaseFromPerformanceFactorWeightedAverageFairValue": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Share-based Compensation Arrangement by Share-based Payment Award, Equity Instruments Other than Options, Cancelled by Performance Factor, Weighted Average Grant Date Fair Value",
        "label": "Share-based Compensation Arrangement by Share-based Payment Award, Equity Instruments Other than Options, Increase From Performance Factor, Weighted Average Fair Value",
        "terseLabel": "Weighted average grant date fair value, cancelled by performance factor"
       }
      }
     },
     "localname": "ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsIncreaseFromPerformanceFactorWeightedAverageFairValue",
     "nsuri": "http://www.univest.net/20220331",
     "presentation": [
      "http://www.univest.net/role/StockBasedIncentivePlanSummaryofNonvestedRestrictedStockUnitsDetail"
     ],
     "xbrltype": "weightItemType"
    },
    "uvsp_StockIssuedUnderDividendReinvestmentAndEmployeeStockPurchasePlans": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Stock issued under dividend reinvestment and employee stock purchase plans.",
        "label": "Stock Issued Under Dividend Reinvestment And Employee Stock Purchase Plans",
        "terseLabel": "Stock issued under dividend reinvestment and employee stock purchase plans"
       }
      }
     },
     "localname": "StockIssuedUnderDividendReinvestmentAndEmployeeStockPurchasePlans",
     "nsuri": "http://www.univest.net/20220331",
     "presentation": [
      "http://www.univest.net/role/CondensedConsolidatedStatementsofChangesinShareholdersEquity"
     ],
     "xbrltype": "monetaryItemType"
    },
    "uvsp_StockIssuedUnderDividendReinvestmentAndEmployeeStockPurchasePlansCashFlowsFromFinancingActivities": {
     "auth_ref": [],
     "calculation": {
      "http://www.univest.net/role/CondensedConsolidatedStatementsofCashFlows": {
       "order": 9.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInFinancingActivities",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Stock issued under dividend reinvestment and employee stock purchase plans cash flows from financing activities.",
        "label": "Stock Issued Under Dividend Reinvestment And Employee Stock Purchase Plans Cash Flows From Financing Activities",
        "terseLabel": "Stock issued under dividend reinvestment and employee stock purchase plans"
       }
      }
     },
     "localname": "StockIssuedUnderDividendReinvestmentAndEmployeeStockPurchasePlansCashFlowsFromFinancingActivities",
     "nsuri": "http://www.univest.net/20220331",
     "presentation": [
      "http://www.univest.net/role/CondensedConsolidatedStatementsofCashFlows"
     ],
     "xbrltype": "monetaryItemType"
    },
    "uvsp_StockIssuedUnderDividendReinvestmentAndEmployeeStockPurchasePlansShares": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Stock issued under dividend reinvestment and employee stock purchase plans.",
        "label": "Stock Issued Under Dividend Reinvestment And Employee Stock Purchase Plans Shares",
        "terseLabel": "Stock issued under dividend reinvestment and employee stock purchase plans, shares"
       }
      }
     },
     "localname": "StockIssuedUnderDividendReinvestmentAndEmployeeStockPurchasePlansShares",
     "nsuri": "http://www.univest.net/20220331",
     "presentation": [
      "http://www.univest.net/role/CondensedConsolidatedStatementsofChangesinShareholdersEquity"
     ],
     "xbrltype": "sharesItemType"
    },
    "uvsp_SummaryOfMajorLoanAndLeaseCategoriesTableTextBlock": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Tabular summary disclosure of major loan and lease receivable categories by class.",
        "label": "Summary Of Major Loan And Lease Categories Table [Text Block]",
        "terseLabel": "Summary of Major Loan and Lease Categories"
       }
      }
     },
     "localname": "SummaryOfMajorLoanAndLeaseCategoriesTableTextBlock",
     "nsuri": "http://www.univest.net/20220331",
     "presentation": [
      "http://www.univest.net/role/LoansandLeasesTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "uvsp_TroubledDebtRestructuringsOnFinancingReceivables1TableTextBlock": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Troubled Debt Restructurings On Financing Receivables1",
        "label": "Troubled Debt Restructurings On Financing Receivables1 [Table Text Block]",
        "terseLabel": "Schedule of Concessions Granted on Accruing and Nonaccrual Troubled Loans"
       }
      }
     },
     "localname": "TroubledDebtRestructuringsOnFinancingReceivables1TableTextBlock",
     "nsuri": "http://www.univest.net/20220331",
     "presentation": [
      "http://www.univest.net/role/LoansandLeasesTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "uvsp_UnderlyingDerivativeatFairValue": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Underlying Derivative at Fair Value",
        "label": "Underlying Derivative at Fair Value",
        "terseLabel": "Underlying derivative at fair value"
       }
      }
     },
     "localname": "UnderlyingDerivativeatFairValue",
     "nsuri": "http://www.univest.net/20220331",
     "presentation": [
      "http://www.univest.net/role/DerivativeInstrumentsandHedgingActivitiesNarrativeDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "uvsp_UnearnedLeaseIncome": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Unearned Lease Income",
        "label": "Unearned Lease Income",
        "terseLabel": "Unearned lease income"
       }
      }
     },
     "localname": "UnearnedLeaseIncome",
     "nsuri": "http://www.univest.net/20220331",
     "presentation": [
      "http://www.univest.net/role/LoansandLeasesSummaryofMajorLoanandLeaseCategoriesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "uvsp_WealthManagementMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Wealth Management [Member]",
        "label": "Wealth Management [Member]",
        "terseLabel": "Wealth Management [Member]"
       }
      }
     },
     "localname": "WealthManagementMember",
     "nsuri": "http://www.univest.net/20220331",
     "presentation": [
      "http://www.univest.net/role/GoodwillandOtherIntangibleAssetsSummaryofChangesinCarryingAmountofGoodwillDetails",
      "http://www.univest.net/role/SegmentReportingScheduleofSegmentReportingDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "uvsp_WeightedAverageRateDomesticDepositNoninterestBearingDeposits": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The weighted average interest rate for domestic noninterest-bearing deposit liabilities.",
        "label": "Weighted Average Rate Domestic Deposit, Noninterest-Bearing Deposits",
        "terseLabel": "Noninterest-bearing deposits"
       }
      }
     },
     "localname": "WeightedAverageRateDomesticDepositNoninterestBearingDeposits",
     "nsuri": "http://www.univest.net/20220331",
     "presentation": [
      "http://www.univest.net/role/DepositsScheduleofComponentsofWeightedAverageInterestRateandBalanceofDepositsDetails"
     ],
     "xbrltype": "percentItemType"
    }
   },
   "unitCount": 8
  }
 },
 "std_ref": {
  "r0": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "6",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "10",
   "Subparagraph": "(c)",
   "Topic": "105",
   "URI": "http://asc.fasb.org/extlink&oid=124434974&loc=SL124442142-165695"
  },
  "r1": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(d)",
   "Topic": "205",
   "URI": "http://asc.fasb.org/extlink&oid=109222650&loc=d3e1361-107760"
  },
  "r10": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02(22))",
   "Topic": "210",
   "URI": "http://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682"
  },
  "r100": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.4-08(m)(1)(ii)(A))",
   "Topic": "235",
   "URI": "http://asc.fasb.org/extlink&oid=120395691&loc=d3e23780-122690"
  },
  "r101": {
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "Topic": "235",
   "URI": "http://asc.fasb.org/topic&trid=2122369"
  },
  "r102": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "23",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "250",
   "URI": "http://asc.fasb.org/extlink&oid=124436220&loc=d3e21914-107793"
  },
  "r103": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "24",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "250",
   "URI": "http://asc.fasb.org/extlink&oid=124436220&loc=d3e21930-107793"
  },
  "r104": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "250",
   "URI": "http://asc.fasb.org/extlink&oid=124436220&loc=d3e21711-107793"
  },
  "r105": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(b)(2)",
   "Topic": "250",
   "URI": "http://asc.fasb.org/extlink&oid=124431687&loc=d3e22499-107794"
  },
  "r106": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(b)(3)",
   "Topic": "250",
   "URI": "http://asc.fasb.org/extlink&oid=124431687&loc=d3e22499-107794"
  },
  "r107": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "11",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "250",
   "URI": "http://asc.fasb.org/extlink&oid=124431687&loc=d3e22694-107794"
  },
  "r108": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "11",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "250",
   "URI": "http://asc.fasb.org/extlink&oid=124431687&loc=d3e22694-107794"
  },
  "r109": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "250",
   "URI": "http://asc.fasb.org/extlink&oid=124431687&loc=d3e22583-107794"
  },
  "r11": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02(28))",
   "Topic": "210",
   "URI": "http://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682"
  },
  "r110": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "250",
   "URI": "http://asc.fasb.org/extlink&oid=124431687&loc=d3e22595-107794"
  },
  "r111": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "7",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "250",
   "URI": "http://asc.fasb.org/extlink&oid=124431687&loc=d3e22644-107794"
  },
  "r112": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "7",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "250",
   "URI": "http://asc.fasb.org/extlink&oid=124431687&loc=d3e22644-107794"
  },
  "r113": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "8",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "250",
   "URI": "http://asc.fasb.org/extlink&oid=124431687&loc=d3e22658-107794"
  },
  "r114": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "9",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "250",
   "URI": "http://asc.fasb.org/extlink&oid=124431687&loc=d3e22663-107794"
  },
  "r115": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "10",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "260",
   "URI": "http://asc.fasb.org/extlink&oid=125511455&loc=d3e1448-109256"
  },
  "r116": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "13",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "260",
   "URI": "http://asc.fasb.org/extlink&oid=125511455&loc=d3e2646-109256"
  },
  "r117": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "16",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "260",
   "URI": "http://asc.fasb.org/extlink&oid=125511455&loc=d3e1505-109256"
  },
  "r118": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "260",
   "URI": "http://asc.fasb.org/extlink&oid=125511455&loc=d3e1252-109256"
  },
  "r119": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "22",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "260",
   "URI": "http://asc.fasb.org/extlink&oid=125511455&loc=d3e1707-109256"
  },
  "r12": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02(29))",
   "Topic": "210",
   "URI": "http://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682"
  },
  "r120": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "23",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(c)",
   "Topic": "260",
   "URI": "http://asc.fasb.org/extlink&oid=125511455&loc=d3e1757-109256"
  },
  "r121": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "28A",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "260",
   "URI": "http://asc.fasb.org/extlink&oid=125511455&loc=d3e1500-109256"
  },
  "r122": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "60B",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "260",
   "URI": "http://asc.fasb.org/extlink&oid=125511455&loc=SL5780133-109256"
  },
  "r123": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "60B",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(d)",
   "Topic": "260",
   "URI": "http://asc.fasb.org/extlink&oid=125511455&loc=SL5780133-109256"
  },
  "r124": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "7",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "260",
   "URI": "http://asc.fasb.org/extlink&oid=125511455&loc=d3e1337-109256"
  },
  "r125": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "260",
   "URI": "http://asc.fasb.org/extlink&oid=124432515&loc=d3e3550-109257"
  },
  "r126": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)",
   "Topic": "260",
   "URI": "http://asc.fasb.org/extlink&oid=124432515&loc=d3e3550-109257"
  },
  "r127": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "260",
   "URI": "http://asc.fasb.org/extlink&oid=124432515&loc=d3e3630-109257"
  },
  "r128": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "260",
   "URI": "http://asc.fasb.org/extlink&oid=109243012&loc=SL65017193-207537"
  },
  "r129": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "15",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "10",
   "Topic": "260",
   "URI": "http://asc.fasb.org/extlink&oid=125512782&loc=d3e3842-109258"
  },
  "r13": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02(30)(a)(1))",
   "Topic": "210",
   "URI": "http://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682"
  },
  "r130": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "52",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "10",
   "Topic": "260",
   "URI": "http://asc.fasb.org/extlink&oid=125512782&loc=d3e4984-109258"
  },
  "r131": {
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "Topic": "260",
   "URI": "http://asc.fasb.org/topic&trid=2144383"
  },
  "r132": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "272",
   "URI": "http://asc.fasb.org/extlink&oid=125520817&loc=d3e70191-108054"
  },
  "r133": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "275",
   "URI": "http://asc.fasb.org/extlink&oid=99393423&loc=d3e5967-108592"
  },
  "r134": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)",
   "Topic": "275",
   "URI": "http://asc.fasb.org/extlink&oid=99393423&loc=d3e5967-108592"
  },
  "r135": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "11",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "275",
   "URI": "http://asc.fasb.org/extlink&oid=99393423&loc=d3e6161-108592"
  },
  "r136": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "12",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "275",
   "URI": "http://asc.fasb.org/extlink&oid=99393423&loc=d3e6191-108592"
  },
  "r137": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "275",
   "URI": "http://asc.fasb.org/extlink&oid=99393423&loc=d3e6061-108592"
  },
  "r138": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "8",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "275",
   "URI": "http://asc.fasb.org/extlink&oid=99393423&loc=d3e6132-108592"
  },
  "r139": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "9",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "275",
   "URI": "http://asc.fasb.org/extlink&oid=99393423&loc=d3e6143-108592"
  },
  "r14": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02(30)(a)(3))",
   "Topic": "210",
   "URI": "http://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682"
  },
  "r140": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "15",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "280",
   "URI": "http://asc.fasb.org/extlink&oid=123359005&loc=d3e8657-108599"
  },
  "r141": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "18",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "280",
   "URI": "http://asc.fasb.org/extlink&oid=123359005&loc=d3e8672-108599"
  },
  "r142": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "21",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "280",
   "URI": "http://asc.fasb.org/extlink&oid=123359005&loc=d3e8721-108599"
  },
  "r143": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "21",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "280",
   "URI": "http://asc.fasb.org/extlink&oid=123359005&loc=d3e8721-108599"
  },
  "r144": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "22",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "280",
   "URI": "http://asc.fasb.org/extlink&oid=123359005&loc=d3e8736-108599"
  },
  "r145": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "22",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "280",
   "URI": "http://asc.fasb.org/extlink&oid=123359005&loc=d3e8736-108599"
  },
  "r146": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "22",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)",
   "Topic": "280",
   "URI": "http://asc.fasb.org/extlink&oid=123359005&loc=d3e8736-108599"
  },
  "r147": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "22",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(d)",
   "Topic": "280",
   "URI": "http://asc.fasb.org/extlink&oid=123359005&loc=d3e8736-108599"
  },
  "r148": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "22",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(e)",
   "Topic": "280",
   "URI": "http://asc.fasb.org/extlink&oid=123359005&loc=d3e8736-108599"
  },
  "r149": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "22",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(f)",
   "Topic": "280",
   "URI": "http://asc.fasb.org/extlink&oid=123359005&loc=d3e8736-108599"
  },
  "r15": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02(30)(a)(4))",
   "Topic": "210",
   "URI": "http://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682"
  },
  "r150": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "22",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(g)",
   "Topic": "280",
   "URI": "http://asc.fasb.org/extlink&oid=123359005&loc=d3e8736-108599"
  },
  "r151": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "22",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(h)",
   "Topic": "280",
   "URI": "http://asc.fasb.org/extlink&oid=123359005&loc=d3e8736-108599"
  },
  "r152": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "22",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(j)",
   "Topic": "280",
   "URI": "http://asc.fasb.org/extlink&oid=123359005&loc=d3e8736-108599"
  },
  "r153": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "22",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "280",
   "URI": "http://asc.fasb.org/extlink&oid=123359005&loc=d3e8736-108599"
  },
  "r154": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "25",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "280",
   "URI": "http://asc.fasb.org/extlink&oid=123359005&loc=d3e8813-108599"
  },
  "r155": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "25",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "280",
   "URI": "http://asc.fasb.org/extlink&oid=123359005&loc=d3e8813-108599"
  },
  "r156": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "25",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "280",
   "URI": "http://asc.fasb.org/extlink&oid=123359005&loc=d3e8813-108599"
  },
  "r157": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "26",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "280",
   "URI": "http://asc.fasb.org/extlink&oid=123359005&loc=d3e8844-108599"
  },
  "r158": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "30",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "280",
   "URI": "http://asc.fasb.org/extlink&oid=123359005&loc=d3e8906-108599"
  },
  "r159": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "30",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "280",
   "URI": "http://asc.fasb.org/extlink&oid=123359005&loc=d3e8906-108599"
  },
  "r16": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02(30))",
   "Topic": "210",
   "URI": "http://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682"
  },
  "r160": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "30",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)",
   "Topic": "280",
   "URI": "http://asc.fasb.org/extlink&oid=123359005&loc=d3e8906-108599"
  },
  "r161": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "30",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(d)",
   "Topic": "280",
   "URI": "http://asc.fasb.org/extlink&oid=123359005&loc=d3e8906-108599"
  },
  "r162": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "30",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "280",
   "URI": "http://asc.fasb.org/extlink&oid=123359005&loc=d3e8906-108599"
  },
  "r163": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "31",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "280",
   "URI": "http://asc.fasb.org/extlink&oid=123359005&loc=d3e8924-108599"
  },
  "r164": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "32",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "280",
   "URI": "http://asc.fasb.org/extlink&oid=123359005&loc=d3e8933-108599"
  },
  "r165": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "32",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "280",
   "URI": "http://asc.fasb.org/extlink&oid=123359005&loc=d3e8933-108599"
  },
  "r166": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "32",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)",
   "Topic": "280",
   "URI": "http://asc.fasb.org/extlink&oid=123359005&loc=d3e8933-108599"
  },
  "r167": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "32",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(d)",
   "Topic": "280",
   "URI": "http://asc.fasb.org/extlink&oid=123359005&loc=d3e8933-108599"
  },
  "r168": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "32",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(e)",
   "Topic": "280",
   "URI": "http://asc.fasb.org/extlink&oid=123359005&loc=d3e8933-108599"
  },
  "r169": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "32",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(f)",
   "Topic": "280",
   "URI": "http://asc.fasb.org/extlink&oid=123359005&loc=d3e8933-108599"
  },
  "r17": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02(31))",
   "Topic": "210",
   "URI": "http://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682"
  },
  "r170": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "34",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "280",
   "URI": "http://asc.fasb.org/extlink&oid=123359005&loc=d3e8981-108599"
  },
  "r171": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "40",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "280",
   "URI": "http://asc.fasb.org/extlink&oid=123359005&loc=d3e9031-108599"
  },
  "r172": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "41",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "280",
   "URI": "http://asc.fasb.org/extlink&oid=123359005&loc=d3e9038-108599"
  },
  "r173": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "41",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "280",
   "URI": "http://asc.fasb.org/extlink&oid=123359005&loc=d3e9038-108599"
  },
  "r174": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "42",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "280",
   "URI": "http://asc.fasb.org/extlink&oid=123359005&loc=d3e9054-108599"
  },
  "r175": {
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "Topic": "280",
   "URI": "http://asc.fasb.org/topic&trid=2134510"
  },
  "r176": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "310",
   "URI": "http://asc.fasb.org/extlink&oid=124259787&loc=d3e4428-111522"
  },
  "r177": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "11B",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)(1)",
   "Topic": "310",
   "URI": "http://asc.fasb.org/extlink&oid=123577603&loc=SL6953423-111524"
  },
  "r178": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "11B",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)(2)",
   "Topic": "310",
   "URI": "http://asc.fasb.org/extlink&oid=123577603&loc=SL6953423-111524"
  },
  "r179": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "11B",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)(3)",
   "Topic": "310",
   "URI": "http://asc.fasb.org/extlink&oid=123577603&loc=SL6953423-111524"
  },
  "r18": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02(32))",
   "Topic": "210",
   "URI": "http://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682"
  },
  "r180": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "11B",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)(4)",
   "Topic": "310",
   "URI": "http://asc.fasb.org/extlink&oid=123577603&loc=SL6953423-111524"
  },
  "r181": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "11B",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(g)",
   "Topic": "310",
   "URI": "http://asc.fasb.org/extlink&oid=123577603&loc=SL6953423-111524"
  },
  "r182": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "11B",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(h)",
   "Topic": "310",
   "URI": "http://asc.fasb.org/extlink&oid=123577603&loc=SL6953423-111524"
  },
  "r183": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "11B",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "310",
   "URI": "http://asc.fasb.org/extlink&oid=123577603&loc=SL6953423-111524"
  },
  "r184": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "14A",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "310",
   "URI": "http://asc.fasb.org/extlink&oid=123577603&loc=SL6953550-111524"
  },
  "r185": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "15",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)(3)",
   "Topic": "310",
   "URI": "http://asc.fasb.org/extlink&oid=123577603&loc=d3e5212-111524"
  },
  "r186": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "29",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "310",
   "URI": "http://asc.fasb.org/extlink&oid=123577603&loc=SL6953659-111524"
  },
  "r187": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "310",
   "URI": "http://asc.fasb.org/extlink&oid=123577603&loc=d3e5066-111524"
  },
  "r188": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "33",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "310",
   "URI": "http://asc.fasb.org/extlink&oid=123577603&loc=SL6953676-111524"
  },
  "r189": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "34",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "310",
   "URI": "http://asc.fasb.org/extlink&oid=123577603&loc=SL6953682-111524"
  },
  "r19": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02.19(a))",
   "Topic": "210",
   "URI": "http://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682"
  },
  "r190": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "310",
   "URI": "http://asc.fasb.org/extlink&oid=123577603&loc=d3e5074-111524"
  },
  "r191": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "7",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "310",
   "URI": "http://asc.fasb.org/extlink&oid=123577603&loc=d3e5111-111524"
  },
  "r192": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "7",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(d)",
   "Topic": "310",
   "URI": "http://asc.fasb.org/extlink&oid=123577603&loc=d3e5111-111524"
  },
  "r193": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "7",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "310",
   "URI": "http://asc.fasb.org/extlink&oid=123577603&loc=d3e5111-111524"
  },
  "r194": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "7A",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "310",
   "URI": "http://asc.fasb.org/extlink&oid=123577603&loc=SL6953401-111524"
  },
  "r195": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SAB Topic 4.E)",
   "Topic": "310",
   "URI": "http://asc.fasb.org/extlink&oid=122038336&loc=d3e74512-122707"
  },
  "r196": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SAB Topic 6.L.1)",
   "Topic": "310",
   "URI": "http://asc.fasb.org/extlink&oid=122038336&loc=d3e74567-122707"
  },
  "r197": {
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "SubTopic": "10",
   "Topic": "310",
   "URI": "http://asc.fasb.org/subtopic&trid=2196772"
  },
  "r198": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Topic": "310",
   "URI": "http://asc.fasb.org/extlink&oid=84159169&loc=d3e10152-111534"
  },
  "r199": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "30",
   "Subparagraph": "(b)(1)(ii)",
   "Topic": "310",
   "URI": "http://asc.fasb.org/extlink&oid=121614798&loc=d3e15032-111544"
  },
  "r2": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "7",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Topic": "205",
   "URI": "http://asc.fasb.org/extlink&oid=109222650&loc=SL51721683-107760"
  },
  "r20": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02.19(b),22(b))",
   "Topic": "210",
   "URI": "http://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682"
  },
  "r200": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "320",
   "URI": "http://asc.fasb.org/extlink&oid=124260329&loc=d3e26610-111562"
  },
  "r201": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "11",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "320",
   "URI": "http://asc.fasb.org/extlink&oid=124260329&loc=d3e26853-111562"
  },
  "r202": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1B",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "320",
   "URI": "http://asc.fasb.org/extlink&oid=123581744&loc=SL6283291-111563"
  },
  "r203": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "320",
   "URI": "http://asc.fasb.org/extlink&oid=123581744&loc=d3e27161-111563"
  },
  "r204": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(aa)",
   "Topic": "320",
   "URI": "http://asc.fasb.org/extlink&oid=123581744&loc=d3e27161-111563"
  },
  "r205": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(aaa)",
   "Topic": "320",
   "URI": "http://asc.fasb.org/extlink&oid=123581744&loc=d3e27161-111563"
  },
  "r206": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "320",
   "URI": "http://asc.fasb.org/extlink&oid=123581744&loc=d3e27161-111563"
  },
  "r207": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)",
   "Topic": "320",
   "URI": "http://asc.fasb.org/extlink&oid=123581744&loc=d3e27161-111563"
  },
  "r208": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(d)",
   "Topic": "320",
   "URI": "http://asc.fasb.org/extlink&oid=123581744&loc=d3e27161-111563"
  },
  "r209": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "320",
   "URI": "http://asc.fasb.org/extlink&oid=123581744&loc=d3e27161-111563"
  },
  "r21": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02.19)",
   "Topic": "210",
   "URI": "http://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682"
  },
  "r210": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "320",
   "URI": "http://asc.fasb.org/extlink&oid=123581744&loc=d3e27198-111563"
  },
  "r211": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "320",
   "URI": "http://asc.fasb.org/extlink&oid=123581744&loc=d3e27198-111563"
  },
  "r212": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)",
   "Topic": "320",
   "URI": "http://asc.fasb.org/extlink&oid=123581744&loc=d3e27198-111563"
  },
  "r213": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(d)",
   "Topic": "320",
   "URI": "http://asc.fasb.org/extlink&oid=123581744&loc=d3e27198-111563"
  },
  "r214": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "320",
   "URI": "http://asc.fasb.org/extlink&oid=123581744&loc=d3e27198-111563"
  },
  "r215": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "320",
   "URI": "http://asc.fasb.org/extlink&oid=123581744&loc=d3e27232-111563"
  },
  "r216": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(aa)",
   "Topic": "320",
   "URI": "http://asc.fasb.org/extlink&oid=123581744&loc=d3e27232-111563"
  },
  "r217": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(aaa)",
   "Topic": "320",
   "URI": "http://asc.fasb.org/extlink&oid=123581744&loc=d3e27232-111563"
  },
  "r218": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "320",
   "URI": "http://asc.fasb.org/extlink&oid=123581744&loc=d3e27232-111563"
  },
  "r219": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)",
   "Topic": "320",
   "URI": "http://asc.fasb.org/extlink&oid=123581744&loc=d3e27232-111563"
  },
  "r22": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02.19-26)",
   "Topic": "210",
   "URI": "http://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682"
  },
  "r220": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(f)(1)",
   "Topic": "320",
   "URI": "http://asc.fasb.org/extlink&oid=123581744&loc=d3e27232-111563"
  },
  "r221": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(f)(2)",
   "Topic": "320",
   "URI": "http://asc.fasb.org/extlink&oid=123581744&loc=d3e27232-111563"
  },
  "r222": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(f)(3)",
   "Topic": "320",
   "URI": "http://asc.fasb.org/extlink&oid=123581744&loc=d3e27232-111563"
  },
  "r223": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(f)(4)",
   "Topic": "320",
   "URI": "http://asc.fasb.org/extlink&oid=123581744&loc=d3e27232-111563"
  },
  "r224": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "320",
   "URI": "http://asc.fasb.org/extlink&oid=123581744&loc=d3e27232-111563"
  },
  "r225": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5A",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "320",
   "URI": "http://asc.fasb.org/extlink&oid=123581744&loc=SL120269820-111563"
  },
  "r226": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5A",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "320",
   "URI": "http://asc.fasb.org/extlink&oid=123581744&loc=SL120269820-111563"
  },
  "r227": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5A",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)",
   "Topic": "320",
   "URI": "http://asc.fasb.org/extlink&oid=123581744&loc=SL120269820-111563"
  },
  "r228": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5A",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "320",
   "URI": "http://asc.fasb.org/extlink&oid=123581744&loc=SL120269820-111563"
  },
  "r229": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5B",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "320",
   "URI": "http://asc.fasb.org/extlink&oid=123581744&loc=SL120269825-111563"
  },
  "r23": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02.22 (b))",
   "Topic": "210",
   "URI": "http://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682"
  },
  "r230": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5B",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "320",
   "URI": "http://asc.fasb.org/extlink&oid=123581744&loc=SL120269825-111563"
  },
  "r231": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5B",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)",
   "Topic": "320",
   "URI": "http://asc.fasb.org/extlink&oid=123581744&loc=SL120269825-111563"
  },
  "r232": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5B",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(d)",
   "Topic": "320",
   "URI": "http://asc.fasb.org/extlink&oid=123581744&loc=SL120269825-111563"
  },
  "r233": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "6",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)(1)",
   "Topic": "320",
   "URI": "http://asc.fasb.org/extlink&oid=123581744&loc=d3e27290-111563"
  },
  "r234": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "6",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)(2)",
   "Topic": "320",
   "URI": "http://asc.fasb.org/extlink&oid=123581744&loc=d3e27290-111563"
  },
  "r235": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "6",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "320",
   "URI": "http://asc.fasb.org/extlink&oid=123581744&loc=d3e27290-111563"
  },
  "r236": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "7",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "320",
   "URI": "http://asc.fasb.org/extlink&oid=123581744&loc=d3e27337-111563"
  },
  "r237": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "8",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "320",
   "URI": "http://asc.fasb.org/extlink&oid=123581744&loc=d3e27340-111563"
  },
  "r238": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "8B",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "320",
   "URI": "http://asc.fasb.org/extlink&oid=123581744&loc=SL6284393-111563"
  },
  "r239": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "9",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "320",
   "URI": "http://asc.fasb.org/extlink&oid=123581744&loc=d3e27357-111563"
  },
  "r24": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02.22)",
   "Topic": "210",
   "URI": "http://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682"
  },
  "r240": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "9",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)-(d)",
   "Topic": "320",
   "URI": "http://asc.fasb.org/extlink&oid=123581744&loc=d3e27357-111563"
  },
  "r241": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "9",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(d)",
   "Topic": "320",
   "URI": "http://asc.fasb.org/extlink&oid=123581744&loc=d3e27357-111563"
  },
  "r242": {
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "Topic": "320",
   "URI": "http://asc.fasb.org/topic&trid=2196928"
  },
  "r243": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "321",
   "URI": "http://asc.fasb.org/extlink&oid=123583765&loc=SL75117539-209714"
  },
  "r244": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "321",
   "URI": "http://asc.fasb.org/extlink&oid=123583765&loc=SL75117539-209714"
  },
  "r245": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)",
   "Topic": "321",
   "URI": "http://asc.fasb.org/extlink&oid=123583765&loc=SL75117539-209714"
  },
  "r246": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "323",
   "URI": "http://asc.fasb.org/extlink&oid=109237563&loc=d3e33775-111570"
  },
  "r247": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)",
   "Topic": "323",
   "URI": "http://asc.fasb.org/extlink&oid=114001798&loc=d3e33918-111571"
  },
  "r248": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "10",
   "Subparagraph": "(d)",
   "Topic": "326",
   "URI": "http://asc.fasb.org/extlink&oid=122640432&loc=SL121648383-210437"
  },
  "r249": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "20",
   "Topic": "326",
   "URI": "http://asc.fasb.org/extlink&oid=124255206&loc=SL82895884-210446"
  },
  "r25": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02.29,30)",
   "Topic": "210",
   "URI": "http://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682"
  },
  "r250": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "11",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Topic": "326",
   "URI": "http://asc.fasb.org/extlink&oid=124255953&loc=SL82919244-210447"
  },
  "r251": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "13",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(a)",
   "Topic": "326",
   "URI": "http://asc.fasb.org/extlink&oid=124255953&loc=SL82919249-210447"
  },
  "r252": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "13",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(d)",
   "Topic": "326",
   "URI": "http://asc.fasb.org/extlink&oid=124255953&loc=SL82919249-210447"
  },
  "r253": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "13",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(e)",
   "Topic": "326",
   "URI": "http://asc.fasb.org/extlink&oid=124255953&loc=SL82919249-210447"
  },
  "r254": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "13",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(f)",
   "Topic": "326",
   "URI": "http://asc.fasb.org/extlink&oid=124255953&loc=SL82919249-210447"
  },
  "r255": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "13",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Topic": "326",
   "URI": "http://asc.fasb.org/extlink&oid=124255953&loc=SL82919249-210447"
  },
  "r256": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "14",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Topic": "326",
   "URI": "http://asc.fasb.org/extlink&oid=124255953&loc=SL82919253-210447"
  },
  "r257": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "16",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(a)",
   "Topic": "326",
   "URI": "http://asc.fasb.org/extlink&oid=124255953&loc=SL82919258-210447"
  },
  "r258": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "16",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(c)",
   "Topic": "326",
   "URI": "http://asc.fasb.org/extlink&oid=124255953&loc=SL82919258-210447"
  },
  "r259": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "16",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(d)",
   "Topic": "326",
   "URI": "http://asc.fasb.org/extlink&oid=124255953&loc=SL82919258-210447"
  },
  "r26": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02.29-31)",
   "Topic": "210",
   "URI": "http://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682"
  },
  "r260": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "16",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Topic": "326",
   "URI": "http://asc.fasb.org/extlink&oid=124255953&loc=SL82919258-210447"
  },
  "r261": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(b)",
   "Topic": "326",
   "URI": "http://asc.fasb.org/extlink&oid=124255953&loc=SL82919230-210447"
  },
  "r262": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Topic": "326",
   "URI": "http://asc.fasb.org/extlink&oid=124255953&loc=SL82919230-210447"
  },
  "r263": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "6",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Topic": "326",
   "URI": "http://asc.fasb.org/extlink&oid=124255953&loc=SL82919232-210447"
  },
  "r264": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "11",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "20",
   "Topic": "326",
   "URI": "http://asc.fasb.org/extlink&oid=124267575&loc=SL82921833-210448"
  },
  "r265": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "12",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "20",
   "Subparagraph": "(b)",
   "Topic": "326",
   "URI": "http://asc.fasb.org/extlink&oid=124267575&loc=SL82921835-210448"
  },
  "r266": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "12",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "20",
   "Subparagraph": "(d)",
   "Topic": "326",
   "URI": "http://asc.fasb.org/extlink&oid=124267575&loc=SL82921835-210448"
  },
  "r267": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "15",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "20",
   "Subparagraph": "(c)",
   "Topic": "326",
   "URI": "http://asc.fasb.org/extlink&oid=124267575&loc=SL82921842-210448"
  },
  "r268": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "79",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "20",
   "Topic": "326",
   "URI": "http://asc.fasb.org/extlink&oid=124267575&loc=SL82922352-210448"
  },
  "r269": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "80",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "20",
   "Topic": "326",
   "URI": "http://asc.fasb.org/extlink&oid=124267575&loc=SL82922355-210448"
  },
  "r27": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02.3,4)",
   "Topic": "210",
   "URI": "http://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682"
  },
  "r270": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "30",
   "Topic": "326",
   "URI": "http://asc.fasb.org/extlink&oid=124258926&loc=SL82898722-210454"
  },
  "r271": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "30",
   "Subparagraph": "(a)(1)",
   "Topic": "326",
   "URI": "http://asc.fasb.org/extlink&oid=124269663&loc=SL82922888-210455"
  },
  "r272": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "30",
   "Subparagraph": "(a)(2)",
   "Topic": "326",
   "URI": "http://asc.fasb.org/extlink&oid=124269663&loc=SL82922888-210455"
  },
  "r273": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "30",
   "Topic": "326",
   "URI": "http://asc.fasb.org/extlink&oid=124269663&loc=SL82922888-210455"
  },
  "r274": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "30",
   "Topic": "326",
   "URI": "http://asc.fasb.org/extlink&oid=124269663&loc=SL82922890-210455"
  },
  "r275": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "7",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "30",
   "Topic": "326",
   "URI": "http://asc.fasb.org/extlink&oid=124269663&loc=SL82922895-210455"
  },
  "r276": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "9",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "30",
   "Subparagraph": "(a)",
   "Topic": "326",
   "URI": "http://asc.fasb.org/extlink&oid=124269663&loc=SL82922900-210455"
  },
  "r277": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "9",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "30",
   "Subparagraph": "(b)",
   "Topic": "326",
   "URI": "http://asc.fasb.org/extlink&oid=124269663&loc=SL82922900-210455"
  },
  "r278": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "9",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "30",
   "Subparagraph": "(f)",
   "Topic": "326",
   "URI": "http://asc.fasb.org/extlink&oid=124269663&loc=SL82922900-210455"
  },
  "r279": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "9",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "30",
   "Subparagraph": "(i)",
   "Topic": "326",
   "URI": "http://asc.fasb.org/extlink&oid=124269663&loc=SL82922900-210455"
  },
  "r28": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(c)",
   "Topic": "210",
   "URI": "http://asc.fasb.org/extlink&oid=51824906&loc=SL20225862-175312"
  },
  "r280": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "9",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "30",
   "Topic": "326",
   "URI": "http://asc.fasb.org/extlink&oid=124269663&loc=SL82922900-210455"
  },
  "r281": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "8",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "30",
   "Topic": "326",
   "URI": "http://asc.fasb.org/extlink&oid=121590138&loc=SL82922954-210456"
  },
  "r282": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "20",
   "Topic": "350",
   "URI": "http://asc.fasb.org/extlink&oid=99380562&loc=d3e13770-109266"
  },
  "r283": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "20",
   "Topic": "350",
   "URI": "http://asc.fasb.org/extlink&oid=120320667&loc=SL49117168-202975"
  },
  "r284": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(b)",
   "Topic": "350",
   "URI": "http://asc.fasb.org/extlink&oid=121556970&loc=d3e13816-109267"
  },
  "r285": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Topic": "350",
   "URI": "http://asc.fasb.org/extlink&oid=121556970&loc=d3e13816-109267"
  },
  "r286": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Topic": "350",
   "URI": "http://asc.fasb.org/extlink&oid=121556970&loc=d3e13854-109267"
  },
  "r287": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "30",
   "Subparagraph": "(a)",
   "Topic": "350",
   "URI": "http://asc.fasb.org/extlink&oid=66006027&loc=d3e16265-109275"
  },
  "r288": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "30",
   "Subparagraph": "(d)",
   "Topic": "350",
   "URI": "http://asc.fasb.org/extlink&oid=66006027&loc=d3e16265-109275"
  },
  "r289": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "30",
   "Subparagraph": "(a)",
   "Topic": "350",
   "URI": "http://asc.fasb.org/extlink&oid=66006027&loc=d3e16323-109275"
  },
  "r29": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "10",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "20",
   "Topic": "210",
   "URI": "http://asc.fasb.org/extlink&oid=99393222&loc=SL20226008-175313"
  },
  "r290": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "30",
   "Subparagraph": "(a)(1)",
   "Topic": "350",
   "URI": "http://asc.fasb.org/extlink&oid=66006027&loc=d3e16323-109275"
  },
  "r291": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "30",
   "Subparagraph": "(a)(3)",
   "Topic": "350",
   "URI": "http://asc.fasb.org/extlink&oid=66006027&loc=d3e16323-109275"
  },
  "r292": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "30",
   "Subparagraph": "(d)",
   "Topic": "350",
   "URI": "http://asc.fasb.org/extlink&oid=66006027&loc=d3e16323-109275"
  },
  "r293": {
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "Topic": "350",
   "URI": "http://asc.fasb.org/topic&trid=2144416"
  },
  "r294": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "360",
   "URI": "http://asc.fasb.org/extlink&oid=6391035&loc=d3e2868-110229"
  },
  "r295": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "360",
   "URI": "http://asc.fasb.org/extlink&oid=6391035&loc=d3e2868-110229"
  },
  "r296": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(d)",
   "Topic": "360",
   "URI": "http://asc.fasb.org/extlink&oid=109226691&loc=d3e2941-110230"
  },
  "r297": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(f)",
   "Topic": "360",
   "URI": "http://asc.fasb.org/extlink&oid=109226691&loc=d3e2941-110230"
  },
  "r298": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)",
   "Topic": "420",
   "URI": "http://asc.fasb.org/extlink&oid=6394359&loc=d3e17939-110869"
  },
  "r299": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(d)",
   "Topic": "420",
   "URI": "http://asc.fasb.org/extlink&oid=6394359&loc=d3e17939-110869"
  },
  "r3": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02(12))",
   "Topic": "210",
   "URI": "http://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682"
  },
  "r30": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "22",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "20",
   "Topic": "210",
   "URI": "http://asc.fasb.org/extlink&oid=99393222&loc=SL20226052-175313"
  },
  "r300": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SAB Topic 5.P.4(d))",
   "Topic": "420",
   "URI": "http://asc.fasb.org/extlink&oid=115931487&loc=d3e140904-122747"
  },
  "r301": {
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "Topic": "450",
   "URI": "http://asc.fasb.org/topic&trid=2127136"
  },
  "r302": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)(4)",
   "Topic": "460",
   "URI": "http://asc.fasb.org/extlink&oid=124440162&loc=d3e12069-110248"
  },
  "r303": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "19",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "470",
   "URI": "http://asc.fasb.org/extlink&oid=99376301&loc=d3e1398-112600"
  },
  "r304": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "470",
   "URI": "http://asc.fasb.org/extlink&oid=123465755&loc=d3e1835-112601"
  },
  "r305": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "470",
   "URI": "http://asc.fasb.org/extlink&oid=123465755&loc=SL6230698-112601"
  },
  "r306": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1A",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.13-01(a)(4)(i))",
   "Topic": "470",
   "URI": "http://asc.fasb.org/extlink&oid=124359900&loc=SL124442526-122756"
  },
  "r307": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1A",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.13-01(a)(4)(ii))",
   "Topic": "470",
   "URI": "http://asc.fasb.org/extlink&oid=124359900&loc=SL124442526-122756"
  },
  "r308": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1A",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.13-01(a)(4)(iii)(A))",
   "Topic": "470",
   "URI": "http://asc.fasb.org/extlink&oid=124359900&loc=SL124442526-122756"
  },
  "r309": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1A",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.13-01(a)(4)(iii))",
   "Topic": "470",
   "URI": "http://asc.fasb.org/extlink&oid=124359900&loc=SL124442526-122756"
  },
  "r31": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "9",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "20",
   "Topic": "210",
   "URI": "http://asc.fasb.org/extlink&oid=99393222&loc=SL20226006-175313"
  },
  "r310": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1A",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.13-01(a)(4)(iv))",
   "Topic": "470",
   "URI": "http://asc.fasb.org/extlink&oid=124359900&loc=SL124442526-122756"
  },
  "r311": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1A",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.13-01(a)(5))",
   "Topic": "470",
   "URI": "http://asc.fasb.org/extlink&oid=124359900&loc=SL124442526-122756"
  },
  "r312": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1B",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.13-02(a)(4)(i))",
   "Topic": "470",
   "URI": "http://asc.fasb.org/extlink&oid=124359900&loc=SL124442552-122756"
  },
  "r313": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1B",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.13-02(a)(4)(iii)(A))",
   "Topic": "470",
   "URI": "http://asc.fasb.org/extlink&oid=124359900&loc=SL124442552-122756"
  },
  "r314": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1B",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.13-02(a)(4)(iii)(B))",
   "Topic": "470",
   "URI": "http://asc.fasb.org/extlink&oid=124359900&loc=SL124442552-122756"
  },
  "r315": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1B",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.13-02(a)(4)(iv))",
   "Topic": "470",
   "URI": "http://asc.fasb.org/extlink&oid=124359900&loc=SL124442552-122756"
  },
  "r316": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1B",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.13-02(a)(5))",
   "Topic": "470",
   "URI": "http://asc.fasb.org/extlink&oid=124359900&loc=SL124442552-122756"
  },
  "r317": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1B",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(d)",
   "Topic": "470",
   "URI": "http://asc.fasb.org/extlink&oid=123466505&loc=SL123495323-112611"
  },
  "r318": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1B",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(g)",
   "Topic": "470",
   "URI": "http://asc.fasb.org/extlink&oid=123466505&loc=SL123495323-112611"
  },
  "r319": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1B",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(h)",
   "Topic": "470",
   "URI": "http://asc.fasb.org/extlink&oid=123466505&loc=SL123495323-112611"
  },
  "r32": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "10A",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(d)",
   "Topic": "220",
   "URI": "http://asc.fasb.org/extlink&oid=124509347&loc=SL7669646-108580"
  },
  "r320": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1B",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(i)",
   "Topic": "470",
   "URI": "http://asc.fasb.org/extlink&oid=123466505&loc=SL123495323-112611"
  },
  "r321": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1B",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Topic": "470",
   "URI": "http://asc.fasb.org/extlink&oid=123466505&loc=SL123495323-112611"
  },
  "r322": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1C",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(a)",
   "Topic": "470",
   "URI": "http://asc.fasb.org/extlink&oid=123466505&loc=SL123495334-112611"
  },
  "r323": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1C",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(b)",
   "Topic": "470",
   "URI": "http://asc.fasb.org/extlink&oid=123466505&loc=SL123495334-112611"
  },
  "r324": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1C",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(c)",
   "Topic": "470",
   "URI": "http://asc.fasb.org/extlink&oid=123466505&loc=SL123495334-112611"
  },
  "r325": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1D",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(b)",
   "Topic": "470",
   "URI": "http://asc.fasb.org/extlink&oid=123466505&loc=SL123495340-112611"
  },
  "r326": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1D",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(c)",
   "Topic": "470",
   "URI": "http://asc.fasb.org/extlink&oid=123466505&loc=SL123495340-112611"
  },
  "r327": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1E",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(b)",
   "Topic": "470",
   "URI": "http://asc.fasb.org/extlink&oid=123466505&loc=SL123495348-112611"
  },
  "r328": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1I",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(a)",
   "Topic": "470",
   "URI": "http://asc.fasb.org/extlink&oid=123466505&loc=SL123495371-112611"
  },
  "r329": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1I",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(b)",
   "Topic": "470",
   "URI": "http://asc.fasb.org/extlink&oid=123466505&loc=SL123495371-112611"
  },
  "r33": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "10A",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(e)",
   "Topic": "220",
   "URI": "http://asc.fasb.org/extlink&oid=124509347&loc=SL7669646-108580"
  },
  "r330": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1I",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(c)",
   "Topic": "470",
   "URI": "http://asc.fasb.org/extlink&oid=123466505&loc=SL123495371-112611"
  },
  "r331": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1I",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(d)",
   "Topic": "470",
   "URI": "http://asc.fasb.org/extlink&oid=123466505&loc=SL123495371-112611"
  },
  "r332": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(b)(3)",
   "Topic": "470",
   "URI": "http://asc.fasb.org/extlink&oid=123466204&loc=SL6031897-161870"
  },
  "r333": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "69B",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "20",
   "Topic": "470",
   "URI": "http://asc.fasb.org/extlink&oid=123466577&loc=SL123495735-112612"
  },
  "r334": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "69C",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "20",
   "Topic": "470",
   "URI": "http://asc.fasb.org/extlink&oid=123466577&loc=SL123495737-112612"
  },
  "r335": {
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "Topic": "470",
   "URI": "http://asc.fasb.org/topic&trid=2208564"
  },
  "r336": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "13",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(d)",
   "Topic": "505",
   "URI": "http://asc.fasb.org/extlink&oid=123467817&loc=SL123496158-112644"
  },
  "r337": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "18",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)",
   "Topic": "505",
   "URI": "http://asc.fasb.org/extlink&oid=123467817&loc=SL123496189-112644"
  },
  "r338": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "505",
   "URI": "http://asc.fasb.org/extlink&oid=123467817&loc=d3e21463-112644"
  },
  "r339": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "505",
   "URI": "http://asc.fasb.org/extlink&oid=123467817&loc=d3e21475-112644"
  },
  "r34": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "10A",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(f)",
   "Topic": "220",
   "URI": "http://asc.fasb.org/extlink&oid=124509347&loc=SL7669646-108580"
  },
  "r340": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.3-04)",
   "Topic": "505",
   "URI": "http://asc.fasb.org/extlink&oid=120397183&loc=d3e187085-122770"
  },
  "r341": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "30",
   "Topic": "505",
   "URI": "http://asc.fasb.org/extlink&oid=6405813&loc=d3e23239-112655"
  },
  "r342": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "30",
   "Topic": "505",
   "URI": "http://asc.fasb.org/extlink&oid=6405834&loc=d3e23315-112656"
  },
  "r343": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "606",
   "URI": "http://asc.fasb.org/extlink&oid=123351226&loc=SL49130543-203045"
  },
  "r344": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "606",
   "URI": "http://asc.fasb.org/extlink&oid=123351226&loc=SL49130545-203045"
  },
  "r345": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "91",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "606",
   "URI": "http://asc.fasb.org/extlink&oid=123410239&loc=SL49130690-203046-203046"
  },
  "r346": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "91",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "606",
   "URI": "http://asc.fasb.org/extlink&oid=123410239&loc=SL49130690-203046-203046"
  },
  "r347": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "91",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "10",
   "Subparagraph": "(c)",
   "Topic": "606",
   "URI": "http://asc.fasb.org/extlink&oid=123410239&loc=SL49130690-203046-203046"
  },
  "r348": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "91",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "10",
   "Subparagraph": "(d)",
   "Topic": "606",
   "URI": "http://asc.fasb.org/extlink&oid=123410239&loc=SL49130690-203046-203046"
  },
  "r349": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "91",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "10",
   "Subparagraph": "(e)",
   "Topic": "606",
   "URI": "http://asc.fasb.org/extlink&oid=123410239&loc=SL49130690-203046-203046"
  },
  "r35": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "10A",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(h)",
   "Topic": "220",
   "URI": "http://asc.fasb.org/extlink&oid=124509347&loc=SL7669646-108580"
  },
  "r350": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "91",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "10",
   "Subparagraph": "(f)",
   "Topic": "606",
   "URI": "http://asc.fasb.org/extlink&oid=123410239&loc=SL49130690-203046-203046"
  },
  "r351": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "91",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "10",
   "Subparagraph": "(g)",
   "Topic": "606",
   "URI": "http://asc.fasb.org/extlink&oid=123410239&loc=SL49130690-203046-203046"
  },
  "r352": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "15",
   "SubTopic": "10",
   "Subparagraph": "(c)",
   "Topic": "712",
   "URI": "http://asc.fasb.org/extlink&oid=6410066&loc=d3e79218-111664"
  },
  "r353": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "15",
   "SubTopic": "10",
   "Subparagraph": "(d)",
   "Topic": "712",
   "URI": "http://asc.fasb.org/extlink&oid=6410066&loc=d3e79218-111664"
  },
  "r354": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "20",
   "Topic": "715",
   "URI": "http://asc.fasb.org/extlink&oid=123453770&loc=d3e1703-114919"
  },
  "r355": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3A",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "20",
   "Subparagraph": "(b)",
   "Topic": "715",
   "URI": "http://asc.fasb.org/extlink&oid=123453770&loc=SL108413299-114919"
  },
  "r356": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(a)",
   "Topic": "715",
   "URI": "http://asc.fasb.org/extlink&oid=123447040&loc=d3e1928-114920"
  },
  "r357": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(a)(1)",
   "Topic": "715",
   "URI": "http://asc.fasb.org/extlink&oid=123447040&loc=d3e1928-114920"
  },
  "r358": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(a)(10)",
   "Topic": "715",
   "URI": "http://asc.fasb.org/extlink&oid=123447040&loc=d3e1928-114920"
  },
  "r359": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(a)(2)",
   "Topic": "715",
   "URI": "http://asc.fasb.org/extlink&oid=123447040&loc=d3e1928-114920"
  },
  "r36": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "10A",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(i),(j),(k)",
   "Topic": "220",
   "URI": "http://asc.fasb.org/extlink&oid=124509347&loc=SL7669646-108580"
  },
  "r360": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(a)(3)",
   "Topic": "715",
   "URI": "http://asc.fasb.org/extlink&oid=123447040&loc=d3e1928-114920"
  },
  "r361": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(a)(4)",
   "Topic": "715",
   "URI": "http://asc.fasb.org/extlink&oid=123447040&loc=d3e1928-114920"
  },
  "r362": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(a)(5)",
   "Topic": "715",
   "URI": "http://asc.fasb.org/extlink&oid=123447040&loc=d3e1928-114920"
  },
  "r363": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(a)(6)",
   "Topic": "715",
   "URI": "http://asc.fasb.org/extlink&oid=123447040&loc=d3e1928-114920"
  },
  "r364": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(a)(7)",
   "Topic": "715",
   "URI": "http://asc.fasb.org/extlink&oid=123447040&loc=d3e1928-114920"
  },
  "r365": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(a)(8)",
   "Topic": "715",
   "URI": "http://asc.fasb.org/extlink&oid=123447040&loc=d3e1928-114920"
  },
  "r366": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(a)(9)",
   "Topic": "715",
   "URI": "http://asc.fasb.org/extlink&oid=123447040&loc=d3e1928-114920"
  },
  "r367": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(b)",
   "Topic": "715",
   "URI": "http://asc.fasb.org/extlink&oid=123447040&loc=d3e1928-114920"
  },
  "r368": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(b)(1)",
   "Topic": "715",
   "URI": "http://asc.fasb.org/extlink&oid=123447040&loc=d3e1928-114920"
  },
  "r369": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(b)(2)",
   "Topic": "715",
   "URI": "http://asc.fasb.org/extlink&oid=123447040&loc=d3e1928-114920"
  },
  "r37": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "10A",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(i-k)",
   "Topic": "220",
   "URI": "http://asc.fasb.org/extlink&oid=124509347&loc=SL7669646-108580"
  },
  "r370": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(b)(3)",
   "Topic": "715",
   "URI": "http://asc.fasb.org/extlink&oid=123447040&loc=d3e1928-114920"
  },
  "r371": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(b)(4)",
   "Topic": "715",
   "URI": "http://asc.fasb.org/extlink&oid=123447040&loc=d3e1928-114920"
  },
  "r372": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(b)(5)",
   "Topic": "715",
   "URI": "http://asc.fasb.org/extlink&oid=123447040&loc=d3e1928-114920"
  },
  "r373": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(b)(6)",
   "Topic": "715",
   "URI": "http://asc.fasb.org/extlink&oid=123447040&loc=d3e1928-114920"
  },
  "r374": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(b)(7)",
   "Topic": "715",
   "URI": "http://asc.fasb.org/extlink&oid=123447040&loc=d3e1928-114920"
  },
  "r375": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(b)(8)",
   "Topic": "715",
   "URI": "http://asc.fasb.org/extlink&oid=123447040&loc=d3e1928-114920"
  },
  "r376": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(c)",
   "Topic": "715",
   "URI": "http://asc.fasb.org/extlink&oid=123447040&loc=d3e1928-114920"
  },
  "r377": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(d)(i)",
   "Topic": "715",
   "URI": "http://asc.fasb.org/extlink&oid=123447040&loc=d3e1928-114920"
  },
  "r378": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(d)(ii)",
   "Topic": "715",
   "URI": "http://asc.fasb.org/extlink&oid=123447040&loc=d3e1928-114920"
  },
  "r379": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(d)(iii)",
   "Topic": "715",
   "URI": "http://asc.fasb.org/extlink&oid=123447040&loc=d3e1928-114920"
  },
  "r38": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "10A",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "220",
   "URI": "http://asc.fasb.org/extlink&oid=124509347&loc=SL7669646-108580"
  },
  "r380": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(d)(iv)(01)",
   "Topic": "715",
   "URI": "http://asc.fasb.org/extlink&oid=123447040&loc=d3e1928-114920"
  },
  "r381": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(d)(iv)(02)",
   "Topic": "715",
   "URI": "http://asc.fasb.org/extlink&oid=123447040&loc=d3e1928-114920"
  },
  "r382": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(d)(iv)(02)(A)",
   "Topic": "715",
   "URI": "http://asc.fasb.org/extlink&oid=123447040&loc=d3e1928-114920"
  },
  "r383": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(d)(iv)(02)(B)",
   "Topic": "715",
   "URI": "http://asc.fasb.org/extlink&oid=123447040&loc=d3e1928-114920"
  },
  "r384": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(d)(iv)(02)(C)",
   "Topic": "715",
   "URI": "http://asc.fasb.org/extlink&oid=123447040&loc=d3e1928-114920"
  },
  "r385": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(d)(iv)(03)",
   "Topic": "715",
   "URI": "http://asc.fasb.org/extlink&oid=123447040&loc=d3e1928-114920"
  },
  "r386": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(e)",
   "Topic": "715",
   "URI": "http://asc.fasb.org/extlink&oid=123447040&loc=d3e1928-114920"
  },
  "r387": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(f)",
   "Topic": "715",
   "URI": "http://asc.fasb.org/extlink&oid=123447040&loc=d3e1928-114920"
  },
  "r388": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(g)",
   "Topic": "715",
   "URI": "http://asc.fasb.org/extlink&oid=123447040&loc=d3e1928-114920"
  },
  "r389": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(h)",
   "Topic": "715",
   "URI": "http://asc.fasb.org/extlink&oid=123447040&loc=d3e1928-114920"
  },
  "r39": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "11",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "220",
   "URI": "http://asc.fasb.org/extlink&oid=124509347&loc=d3e637-108580"
  },
  "r390": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(h)(1)",
   "Topic": "715",
   "URI": "http://asc.fasb.org/extlink&oid=123447040&loc=d3e1928-114920"
  },
  "r391": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(h)(2)",
   "Topic": "715",
   "URI": "http://asc.fasb.org/extlink&oid=123447040&loc=d3e1928-114920"
  },
  "r392": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(h)(3)",
   "Topic": "715",
   "URI": "http://asc.fasb.org/extlink&oid=123447040&loc=d3e1928-114920"
  },
  "r393": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(h)(4)",
   "Topic": "715",
   "URI": "http://asc.fasb.org/extlink&oid=123447040&loc=d3e1928-114920"
  },
  "r394": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(h)(5)",
   "Topic": "715",
   "URI": "http://asc.fasb.org/extlink&oid=123447040&loc=d3e1928-114920"
  },
  "r395": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(h)(6)",
   "Topic": "715",
   "URI": "http://asc.fasb.org/extlink&oid=123447040&loc=d3e1928-114920"
  },
  "r396": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(h)(7)",
   "Topic": "715",
   "URI": "http://asc.fasb.org/extlink&oid=123447040&loc=d3e1928-114920"
  },
  "r397": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(i)",
   "Topic": "715",
   "URI": "http://asc.fasb.org/extlink&oid=123447040&loc=d3e1928-114920"
  },
  "r398": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(j)",
   "Topic": "715",
   "URI": "http://asc.fasb.org/extlink&oid=123447040&loc=d3e1928-114920"
  },
  "r399": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(k)(1)",
   "Topic": "715",
   "URI": "http://asc.fasb.org/extlink&oid=123447040&loc=d3e1928-114920"
  },
  "r4": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02(13))",
   "Topic": "210",
   "URI": "http://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682"
  },
  "r40": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "12",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "220",
   "URI": "http://asc.fasb.org/extlink&oid=124509347&loc=d3e640-108580"
  },
  "r400": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(k)(2)",
   "Topic": "715",
   "URI": "http://asc.fasb.org/extlink&oid=123447040&loc=d3e1928-114920"
  },
  "r401": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(k)(3)",
   "Topic": "715",
   "URI": "http://asc.fasb.org/extlink&oid=123447040&loc=d3e1928-114920"
  },
  "r402": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(k)(4)",
   "Topic": "715",
   "URI": "http://asc.fasb.org/extlink&oid=123447040&loc=d3e1928-114920"
  },
  "r403": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(l)",
   "Topic": "715",
   "URI": "http://asc.fasb.org/extlink&oid=123447040&loc=d3e1928-114920"
  },
  "r404": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(n)",
   "Topic": "715",
   "URI": "http://asc.fasb.org/extlink&oid=123447040&loc=d3e1928-114920"
  },
  "r405": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(o)",
   "Topic": "715",
   "URI": "http://asc.fasb.org/extlink&oid=123447040&loc=d3e1928-114920"
  },
  "r406": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(p)",
   "Topic": "715",
   "URI": "http://asc.fasb.org/extlink&oid=123447040&loc=d3e1928-114920"
  },
  "r407": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(q)",
   "Topic": "715",
   "URI": "http://asc.fasb.org/extlink&oid=123447040&loc=d3e1928-114920"
  },
  "r408": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(r)(1)",
   "Topic": "715",
   "URI": "http://asc.fasb.org/extlink&oid=123447040&loc=d3e1928-114920"
  },
  "r409": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(r)(2)",
   "Topic": "715",
   "URI": "http://asc.fasb.org/extlink&oid=123447040&loc=d3e1928-114920"
  },
  "r41": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "14",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "220",
   "URI": "http://asc.fasb.org/extlink&oid=124509347&loc=d3e681-108580"
  },
  "r410": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Topic": "715",
   "URI": "http://asc.fasb.org/extlink&oid=123447040&loc=d3e1928-114920"
  },
  "r411": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Topic": "715",
   "URI": "http://asc.fasb.org/extlink&oid=123447040&loc=d3e2410-114920"
  },
  "r412": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(a)",
   "Topic": "715",
   "URI": "http://asc.fasb.org/extlink&oid=123447040&loc=d3e2417-114920"
  },
  "r413": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(b)",
   "Topic": "715",
   "URI": "http://asc.fasb.org/extlink&oid=123447040&loc=d3e2417-114920"
  },
  "r414": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Topic": "715",
   "URI": "http://asc.fasb.org/extlink&oid=123447040&loc=d3e2417-114920"
  },
  "r415": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Topic": "715",
   "URI": "http://asc.fasb.org/extlink&oid=123447040&loc=d3e2439-114920"
  },
  "r416": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "6",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(a)",
   "Topic": "715",
   "URI": "http://asc.fasb.org/extlink&oid=123447040&loc=d3e2709-114920"
  },
  "r417": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "6",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(a)(1)",
   "Topic": "715",
   "URI": "http://asc.fasb.org/extlink&oid=123447040&loc=d3e2709-114920"
  },
  "r418": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "6",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(a)(2)",
   "Topic": "715",
   "URI": "http://asc.fasb.org/extlink&oid=123447040&loc=d3e2709-114920"
  },
  "r419": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "6",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(a)(3)",
   "Topic": "715",
   "URI": "http://asc.fasb.org/extlink&oid=123447040&loc=d3e2709-114920"
  },
  "r42": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "14A",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "220",
   "URI": "http://asc.fasb.org/extlink&oid=124509347&loc=SL7669686-108580"
  },
  "r420": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "6",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(a)(4)",
   "Topic": "715",
   "URI": "http://asc.fasb.org/extlink&oid=123447040&loc=d3e2709-114920"
  },
  "r421": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "6",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(a)(5)",
   "Topic": "715",
   "URI": "http://asc.fasb.org/extlink&oid=123447040&loc=d3e2709-114920"
  },
  "r422": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "6",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(a)(6)",
   "Topic": "715",
   "URI": "http://asc.fasb.org/extlink&oid=123447040&loc=d3e2709-114920"
  },
  "r423": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "6",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(a)(7)",
   "Topic": "715",
   "URI": "http://asc.fasb.org/extlink&oid=123447040&loc=d3e2709-114920"
  },
  "r424": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "6",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(b)",
   "Topic": "715",
   "URI": "http://asc.fasb.org/extlink&oid=123447040&loc=d3e2709-114920"
  },
  "r425": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "8",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Topic": "715",
   "URI": "http://asc.fasb.org/extlink&oid=123447040&loc=d3e2919-114920"
  },
  "r426": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "17",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "20",
   "Topic": "715",
   "URI": "http://asc.fasb.org/extlink&oid=123450688&loc=d3e4179-114921"
  },
  "r427": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "18",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "20",
   "Topic": "715",
   "URI": "http://asc.fasb.org/extlink&oid=123450688&loc=d3e4587-114921"
  },
  "r428": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "20",
   "Topic": "715",
   "URI": "http://asc.fasb.org/extlink&oid=21916913&loc=d3e273930-122802"
  },
  "r429": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "60",
   "Subparagraph": "(c)",
   "Topic": "715",
   "URI": "http://asc.fasb.org/extlink&oid=6414203&loc=d3e39689-114964"
  },
  "r43": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "15",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "220",
   "URI": "http://asc.fasb.org/extlink&oid=124509347&loc=d3e689-108580"
  },
  "r430": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "60",
   "Topic": "715",
   "URI": "http://asc.fasb.org/extlink&oid=6414203&loc=d3e39716-114964"
  },
  "r431": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "70",
   "Topic": "715",
   "URI": "http://asc.fasb.org/extlink&oid=49170846&loc=d3e28014-114942"
  },
  "r432": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "35",
   "SubTopic": "80",
   "Topic": "715",
   "URI": "http://asc.fasb.org/extlink&oid=29639808&loc=d3e29008-114946"
  },
  "r433": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "11",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "80",
   "Subparagraph": "(a)",
   "Topic": "715",
   "URI": "http://asc.fasb.org/extlink&oid=65877416&loc=SL14450702-114947"
  },
  "r434": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "11",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "80",
   "Subparagraph": "(b)",
   "Topic": "715",
   "URI": "http://asc.fasb.org/extlink&oid=65877416&loc=SL14450702-114947"
  },
  "r435": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "11",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "80",
   "Subparagraph": "(c)",
   "Topic": "715",
   "URI": "http://asc.fasb.org/extlink&oid=65877416&loc=SL14450702-114947"
  },
  "r436": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "11",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "80",
   "Topic": "715",
   "URI": "http://asc.fasb.org/extlink&oid=65877416&loc=SL14450702-114947"
  },
  "r437": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "80",
   "Subparagraph": "(d)",
   "Topic": "715",
   "URI": "http://asc.fasb.org/extlink&oid=65877416&loc=SL14450657-114947"
  },
  "r438": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "6",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "80",
   "Subparagraph": "(a)",
   "Topic": "715",
   "URI": "http://asc.fasb.org/extlink&oid=65877416&loc=SL14450673-114947"
  },
  "r439": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "6",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "80",
   "Subparagraph": "(b)",
   "Topic": "715",
   "URI": "http://asc.fasb.org/extlink&oid=65877416&loc=SL14450673-114947"
  },
  "r44": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "17A",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "220",
   "URI": "http://asc.fasb.org/extlink&oid=124509347&loc=SL34724391-108580"
  },
  "r440": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "6",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "80",
   "Subparagraph": "(c)",
   "Topic": "715",
   "URI": "http://asc.fasb.org/extlink&oid=65877416&loc=SL14450673-114947"
  },
  "r441": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "9",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "80",
   "Subparagraph": "(b)",
   "Topic": "715",
   "URI": "http://asc.fasb.org/extlink&oid=65877416&loc=SL14450691-114947"
  },
  "r442": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "8",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "80",
   "Topic": "715",
   "URI": "http://asc.fasb.org/extlink&oid=35742348&loc=SL14450788-114948"
  },
  "r443": {
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "Topic": "715",
   "URI": "http://asc.fasb.org/topic&trid=2235017"
  },
  "r444": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "35",
   "SubTopic": "10",
   "Topic": "718",
   "URI": "http://asc.fasb.org/extlink&oid=123468992&loc=d3e4534-113899"
  },
  "r445": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "718",
   "URI": "http://asc.fasb.org/extlink&oid=120381028&loc=d3e5047-113901"
  },
  "r446": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "718",
   "URI": "http://asc.fasb.org/extlink&oid=120381028&loc=d3e5047-113901"
  },
  "r447": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "718",
   "URI": "http://asc.fasb.org/extlink&oid=120381028&loc=d3e5047-113901"
  },
  "r448": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a),(g)",
   "Topic": "718",
   "URI": "http://asc.fasb.org/extlink&oid=120381028&loc=d3e5070-113901"
  },
  "r449": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)(1)",
   "Topic": "718",
   "URI": "http://asc.fasb.org/extlink&oid=120381028&loc=d3e5070-113901"
  },
  "r45": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1A",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "220",
   "URI": "http://asc.fasb.org/extlink&oid=124509347&loc=SL7669619-108580"
  },
  "r450": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)(1)(i)",
   "Topic": "718",
   "URI": "http://asc.fasb.org/extlink&oid=120381028&loc=d3e5070-113901"
  },
  "r451": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)(1)(i)-(ii)",
   "Topic": "718",
   "URI": "http://asc.fasb.org/extlink&oid=120381028&loc=d3e5070-113901"
  },
  "r452": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)(1)(iii)",
   "Topic": "718",
   "URI": "http://asc.fasb.org/extlink&oid=120381028&loc=d3e5070-113901"
  },
  "r453": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)(1)(iv)(2)",
   "Topic": "718",
   "URI": "http://asc.fasb.org/extlink&oid=120381028&loc=d3e5070-113901"
  },
  "r454": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)(1)(iv)(3)",
   "Topic": "718",
   "URI": "http://asc.fasb.org/extlink&oid=120381028&loc=d3e5070-113901"
  },
  "r455": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)(1)(iv)(4)",
   "Topic": "718",
   "URI": "http://asc.fasb.org/extlink&oid=120381028&loc=d3e5070-113901"
  },
  "r456": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)(2)",
   "Topic": "718",
   "URI": "http://asc.fasb.org/extlink&oid=120381028&loc=d3e5070-113901"
  },
  "r457": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)(2)(i)-(ii)",
   "Topic": "718",
   "URI": "http://asc.fasb.org/extlink&oid=120381028&loc=d3e5070-113901"
  },
  "r458": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)(2)(iii)(1)",
   "Topic": "718",
   "URI": "http://asc.fasb.org/extlink&oid=120381028&loc=d3e5070-113901"
  },
  "r459": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)(2)(iii)(2)",
   "Topic": "718",
   "URI": "http://asc.fasb.org/extlink&oid=120381028&loc=d3e5070-113901"
  },
  "r46": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1A",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "220",
   "URI": "http://asc.fasb.org/extlink&oid=124509347&loc=SL7669619-108580"
  },
  "r460": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)(2)(iii)(3)",
   "Topic": "718",
   "URI": "http://asc.fasb.org/extlink&oid=120381028&loc=d3e5070-113901"
  },
  "r461": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(d)",
   "Topic": "718",
   "URI": "http://asc.fasb.org/extlink&oid=120381028&loc=d3e5070-113901"
  },
  "r462": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(e)",
   "Topic": "718",
   "URI": "http://asc.fasb.org/extlink&oid=120381028&loc=d3e5070-113901"
  },
  "r463": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(e)(1)",
   "Topic": "718",
   "URI": "http://asc.fasb.org/extlink&oid=120381028&loc=d3e5070-113901"
  },
  "r464": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(g)",
   "Topic": "718",
   "URI": "http://asc.fasb.org/extlink&oid=120381028&loc=d3e5070-113901"
  },
  "r465": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(h)(1)",
   "Topic": "718",
   "URI": "http://asc.fasb.org/extlink&oid=120381028&loc=d3e5070-113901"
  },
  "r466": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(h)(1)(i)",
   "Topic": "718",
   "URI": "http://asc.fasb.org/extlink&oid=120381028&loc=d3e5070-113901"
  },
  "r467": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(i)",
   "Topic": "718",
   "URI": "http://asc.fasb.org/extlink&oid=120381028&loc=d3e5070-113901"
  },
  "r468": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "718",
   "URI": "http://asc.fasb.org/extlink&oid=120381028&loc=d3e5070-113901"
  },
  "r469": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2A",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "718",
   "URI": "http://asc.fasb.org/extlink&oid=120381028&loc=SL79508275-113901"
  },
  "r47": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1A",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(c)",
   "Topic": "220",
   "URI": "http://asc.fasb.org/extlink&oid=124509347&loc=SL7669619-108580"
  },
  "r470": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "15",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "10",
   "Subparagraph": "(e)",
   "Topic": "718",
   "URI": "http://asc.fasb.org/extlink&oid=121322162&loc=SL121327923-165333"
  },
  "r471": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "15",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "10",
   "Subparagraph": "(f)(1)",
   "Topic": "718",
   "URI": "http://asc.fasb.org/extlink&oid=121322162&loc=SL121327923-165333"
  },
  "r472": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "15",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "10",
   "Subparagraph": "(f)(2)",
   "Topic": "718",
   "URI": "http://asc.fasb.org/extlink&oid=121322162&loc=SL121327923-165333"
  },
  "r473": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "15",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "10",
   "Subparagraph": "(g)(2)",
   "Topic": "718",
   "URI": "http://asc.fasb.org/extlink&oid=121322162&loc=SL121327923-165333"
  },
  "r474": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SAB Topic 14.F)",
   "Topic": "718",
   "URI": "http://asc.fasb.org/extlink&oid=122041274&loc=d3e301413-122809"
  },
  "r475": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "12",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "20",
   "Topic": "718",
   "URI": "http://asc.fasb.org/extlink&oid=122142933&loc=d3e11149-113907"
  },
  "r476": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "13",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "20",
   "Topic": "718",
   "URI": "http://asc.fasb.org/extlink&oid=122142933&loc=d3e11178-113907"
  },
  "r477": {
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "Topic": "718",
   "URI": "http://asc.fasb.org/topic&trid=2228938"
  },
  "r478": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "10",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "740",
   "URI": "http://asc.fasb.org/extlink&oid=121826272&loc=d3e32672-109319"
  },
  "r479": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "8",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "10",
   "Subparagraph": "(d)(2)",
   "Topic": "740",
   "URI": "http://asc.fasb.org/extlink&oid=123459177&loc=SL121830611-158277"
  },
  "r48": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1B",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "220",
   "URI": "http://asc.fasb.org/extlink&oid=124509347&loc=SL7669625-108580"
  },
  "r480": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "8",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "10",
   "Subparagraph": "(d)(3)",
   "Topic": "740",
   "URI": "http://asc.fasb.org/extlink&oid=123459177&loc=SL121830611-158277"
  },
  "r481": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SAB TOPIC 6.I.7)",
   "Topic": "740",
   "URI": "http://asc.fasb.org/extlink&oid=122134291&loc=d3e330036-122817"
  },
  "r482": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "11",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "20",
   "Subparagraph": "(b)",
   "Topic": "740",
   "URI": "http://asc.fasb.org/extlink&oid=123586238&loc=d3e39076-109324"
  },
  "r483": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "20",
   "Subparagraph": "(a)",
   "Topic": "740",
   "URI": "http://asc.fasb.org/extlink&oid=123586238&loc=d3e38679-109324"
  },
  "r484": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "20",
   "Subparagraph": "(d)",
   "Topic": "740",
   "URI": "http://asc.fasb.org/extlink&oid=123586238&loc=d3e38679-109324"
  },
  "r485": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "805",
   "URI": "http://asc.fasb.org/extlink&oid=79982066&loc=d3e1392-128463"
  },
  "r486": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "805",
   "URI": "http://asc.fasb.org/extlink&oid=79982066&loc=d3e1486-128463"
  },
  "r487": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "20",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "20",
   "Subparagraph": "(c)",
   "Topic": "805",
   "URI": "http://asc.fasb.org/extlink&oid=123410050&loc=d3e5333-128473"
  },
  "r488": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "30",
   "Subparagraph": "c",
   "Topic": "805",
   "URI": "http://asc.fasb.org/extlink&oid=120321790&loc=d3e6927-128479"
  },
  "r489": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "30",
   "Subparagraph": "(a)(1)",
   "Topic": "805",
   "URI": "http://asc.fasb.org/extlink&oid=120321790&loc=d3e7008-128479"
  },
  "r49": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1B",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "220",
   "URI": "http://asc.fasb.org/extlink&oid=124509347&loc=SL7669625-108580"
  },
  "r490": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "25",
   "SubTopic": "50",
   "Topic": "805",
   "URI": "http://asc.fasb.org/extlink&oid=123385561&loc=d3e9135-128495"
  },
  "r491": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "30",
   "SubTopic": "50",
   "Topic": "805",
   "URI": "http://asc.fasb.org/extlink&oid=123362884&loc=d3e9212-128498"
  },
  "r492": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "30",
   "SubTopic": "50",
   "Topic": "805",
   "URI": "http://asc.fasb.org/extlink&oid=123362884&loc=d3e9215-128498"
  },
  "r493": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "19",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "810",
   "URI": "http://asc.fasb.org/extlink&oid=123454820&loc=SL4569616-111683"
  },
  "r494": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "25",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "810",
   "URI": "http://asc.fasb.org/extlink&oid=116870748&loc=SL6758485-165988"
  },
  "r495": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "25",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "810",
   "URI": "http://asc.fasb.org/extlink&oid=116870748&loc=SL6758485-165988"
  },
  "r496": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1A",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)(3)",
   "Topic": "810",
   "URI": "http://asc.fasb.org/extlink&oid=109239629&loc=SL4573702-111684"
  },
  "r497": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1A",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c),(3)",
   "Topic": "810",
   "URI": "http://asc.fasb.org/extlink&oid=109239629&loc=SL4573702-111684"
  },
  "r498": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(bb)",
   "Topic": "810",
   "URI": "http://asc.fasb.org/extlink&oid=123419778&loc=d3e5710-111685"
  },
  "r499": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)",
   "Topic": "810",
   "URI": "http://asc.fasb.org/extlink&oid=123419778&loc=d3e5710-111685"
  },
  "r5": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02(14))",
   "Topic": "210",
   "URI": "http://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682"
  },
  "r50": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "220",
   "URI": "http://asc.fasb.org/extlink&oid=124509347&loc=d3e557-108580"
  },
  "r500": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "815",
   "URI": "http://asc.fasb.org/extlink&oid=125515794&loc=SL5579240-113959"
  },
  "r501": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1A",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(d)",
   "Topic": "815",
   "URI": "http://asc.fasb.org/extlink&oid=125515794&loc=SL5579245-113959"
  },
  "r502": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1A",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "815",
   "URI": "http://asc.fasb.org/extlink&oid=125515794&loc=SL5579245-113959"
  },
  "r503": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1B",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "815",
   "URI": "http://asc.fasb.org/extlink&oid=125515794&loc=SL5580258-113959"
  },
  "r504": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)(1)(ii)",
   "Topic": "815",
   "URI": "http://asc.fasb.org/extlink&oid=125515794&loc=d3e41620-113959"
  },
  "r505": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "815",
   "URI": "http://asc.fasb.org/extlink&oid=125515794&loc=d3e41620-113959"
  },
  "r506": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "815",
   "URI": "http://asc.fasb.org/extlink&oid=125515794&loc=d3e41638-113959"
  },
  "r507": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4A",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "815",
   "URI": "http://asc.fasb.org/extlink&oid=125515794&loc=SL5618551-113959"
  },
  "r508": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4A",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "815",
   "URI": "http://asc.fasb.org/extlink&oid=125515794&loc=SL5618551-113959"
  },
  "r509": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4B",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)(1)",
   "Topic": "815",
   "URI": "http://asc.fasb.org/extlink&oid=125515794&loc=SL5624163-113959"
  },
  "r51": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "220",
   "URI": "http://asc.fasb.org/extlink&oid=124431353&loc=SL124442407-227067"
  },
  "r510": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4B",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(d)",
   "Topic": "815",
   "URI": "http://asc.fasb.org/extlink&oid=125515794&loc=SL5624163-113959"
  },
  "r511": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4B",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "815",
   "URI": "http://asc.fasb.org/extlink&oid=125515794&loc=SL5624163-113959"
  },
  "r512": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4C",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)",
   "Topic": "815",
   "URI": "http://asc.fasb.org/extlink&oid=125515794&loc=SL5624171-113959"
  },
  "r513": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4C",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(e)",
   "Topic": "815",
   "URI": "http://asc.fasb.org/extlink&oid=125515794&loc=SL5624171-113959"
  },
  "r514": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4C",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "815",
   "URI": "http://asc.fasb.org/extlink&oid=125515794&loc=SL5624171-113959"
  },
  "r515": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4CC",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "815",
   "URI": "http://asc.fasb.org/extlink&oid=125515794&loc=SL109998890-113959"
  },
  "r516": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4D",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)(1)",
   "Topic": "815",
   "URI": "http://asc.fasb.org/extlink&oid=125515794&loc=SL5624177-113959"
  },
  "r517": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4D",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)(5)",
   "Topic": "815",
   "URI": "http://asc.fasb.org/extlink&oid=125515794&loc=SL5624177-113959"
  },
  "r518": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4D",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "815",
   "URI": "http://asc.fasb.org/extlink&oid=125515794&loc=SL5624177-113959"
  },
  "r519": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4D",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "815",
   "URI": "http://asc.fasb.org/extlink&oid=125515794&loc=SL5624177-113959"
  },
  "r52": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "220",
   "URI": "http://asc.fasb.org/extlink&oid=124431353&loc=SL124442411-227067"
  },
  "r520": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4E",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "815",
   "URI": "http://asc.fasb.org/extlink&oid=125515794&loc=SL5624181-113959"
  },
  "r521": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4K",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)(4)",
   "Topic": "815",
   "URI": "http://asc.fasb.org/extlink&oid=125515794&loc=SL5708775-113959"
  },
  "r522": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "815",
   "URI": "http://asc.fasb.org/extlink&oid=125515794&loc=d3e41641-113959"
  },
  "r523": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "8",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)",
   "Topic": "815",
   "URI": "http://asc.fasb.org/extlink&oid=125515794&loc=d3e41678-113959"
  },
  "r524": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "8",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "815",
   "URI": "http://asc.fasb.org/extlink&oid=125515794&loc=d3e41678-113959"
  },
  "r525": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "182",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "10",
   "Topic": "815",
   "URI": "http://asc.fasb.org/extlink&oid=123421605&loc=SL5629052-113961"
  },
  "r526": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Topic": "815",
   "URI": "http://asc.fasb.org/extlink&oid=7516967&loc=d3e66267-113978"
  },
  "r527": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "25",
   "Topic": "815",
   "URI": "http://asc.fasb.org/extlink&oid=121577467&loc=d3e76258-113986"
  },
  "r528": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "30",
   "Subparagraph": "(c)",
   "Topic": "815",
   "URI": "http://asc.fasb.org/extlink&oid=121549185&loc=d3e80748-113994"
  },
  "r529": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "40",
   "Subparagraph": "(f)",
   "Topic": "815",
   "URI": "http://asc.fasb.org/extlink&oid=123477628&loc=d3e90205-114008"
  },
  "r53": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "6",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "220",
   "URI": "http://asc.fasb.org/extlink&oid=124431353&loc=SL124452729-227067"
  },
  "r530": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "40",
   "Subparagraph": "(e)(3)",
   "Topic": "815",
   "URI": "http://asc.fasb.org/extlink&oid=123482062&loc=SL123482106-238011"
  },
  "r531": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "40",
   "Subparagraph": "(e)(4)",
   "Topic": "815",
   "URI": "http://asc.fasb.org/extlink&oid=123482062&loc=SL123482106-238011"
  },
  "r532": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "40",
   "Subparagraph": "(f)",
   "Topic": "815",
   "URI": "http://asc.fasb.org/extlink&oid=123482062&loc=SL123482106-238011"
  },
  "r533": {
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "Topic": "815",
   "URI": "http://asc.fasb.org/topic&trid=2229140"
  },
  "r534": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "820",
   "URI": "http://asc.fasb.org/extlink&oid=123874694&loc=d3e19207-110258"
  },
  "r535": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "820",
   "URI": "http://asc.fasb.org/extlink&oid=123874694&loc=d3e19207-110258"
  },
  "r536": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(bb)",
   "Topic": "820",
   "URI": "http://asc.fasb.org/extlink&oid=123874694&loc=d3e19207-110258"
  },
  "r537": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(bbb)",
   "Topic": "820",
   "URI": "http://asc.fasb.org/extlink&oid=123874694&loc=d3e19207-110258"
  },
  "r538": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(bbb)(1)",
   "Topic": "820",
   "URI": "http://asc.fasb.org/extlink&oid=123874694&loc=d3e19207-110258"
  },
  "r539": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(bbb)(2)",
   "Topic": "820",
   "URI": "http://asc.fasb.org/extlink&oid=123874694&loc=d3e19207-110258"
  },
  "r54": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "15",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "10",
   "Topic": "220",
   "URI": "http://asc.fasb.org/extlink&oid=124507222&loc=d3e1436-108581"
  },
  "r540": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)",
   "Topic": "820",
   "URI": "http://asc.fasb.org/extlink&oid=123874694&loc=d3e19207-110258"
  },
  "r541": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)(1)",
   "Topic": "820",
   "URI": "http://asc.fasb.org/extlink&oid=123874694&loc=d3e19207-110258"
  },
  "r542": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)(2)",
   "Topic": "820",
   "URI": "http://asc.fasb.org/extlink&oid=123874694&loc=d3e19207-110258"
  },
  "r543": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(h)",
   "Topic": "820",
   "URI": "http://asc.fasb.org/extlink&oid=123874694&loc=d3e19207-110258"
  },
  "r544": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "820",
   "URI": "http://asc.fasb.org/extlink&oid=123874694&loc=d3e19207-110258"
  },
  "r545": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "820",
   "URI": "http://asc.fasb.org/extlink&oid=123874694&loc=d3e19279-110258"
  },
  "r546": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "6A",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "820",
   "URI": "http://asc.fasb.org/extlink&oid=123874694&loc=SL6742756-110258"
  },
  "r547": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "6A",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "820",
   "URI": "http://asc.fasb.org/extlink&oid=123874694&loc=SL6742756-110258"
  },
  "r548": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1A",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "825",
   "URI": "http://asc.fasb.org/extlink&oid=123594786&loc=SL75136599-209740"
  },
  "r549": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "825",
   "URI": "http://asc.fasb.org/extlink&oid=123594809&loc=d3e13220-108610"
  },
  "r55": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-03(1)(e))",
   "Topic": "220",
   "URI": "http://asc.fasb.org/extlink&oid=123367319&loc=SL114868656-224227"
  },
  "r550": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "10",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "825",
   "URI": "http://asc.fasb.org/extlink&oid=123594938&loc=d3e13433-108611"
  },
  "r551": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "11",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "825",
   "URI": "http://asc.fasb.org/extlink&oid=123594938&loc=d3e13467-108611"
  },
  "r552": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "12",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "825",
   "URI": "http://asc.fasb.org/extlink&oid=123594938&loc=d3e13476-108611"
  },
  "r553": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "28",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(f)",
   "Topic": "825",
   "URI": "http://asc.fasb.org/extlink&oid=123596393&loc=d3e14064-108612"
  },
  "r554": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "230",
   "Topic": "830",
   "URI": "http://asc.fasb.org/extlink&oid=123444420&loc=d3e33268-110906"
  },
  "r555": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "17",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "30",
   "Topic": "830",
   "URI": "http://asc.fasb.org/extlink&oid=118261656&loc=d3e32136-110900"
  },
  "r556": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "20",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "30",
   "Subparagraph": "(a)",
   "Topic": "830",
   "URI": "http://asc.fasb.org/extlink&oid=118261656&loc=d3e32211-110900"
  },
  "r557": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "20",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "30",
   "Subparagraph": "(b)",
   "Topic": "830",
   "URI": "http://asc.fasb.org/extlink&oid=118261656&loc=d3e32211-110900"
  },
  "r558": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "20",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "30",
   "Subparagraph": "(c)",
   "Topic": "830",
   "URI": "http://asc.fasb.org/extlink&oid=118261656&loc=d3e32211-110900"
  },
  "r559": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "20",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "30",
   "Subparagraph": "(d)",
   "Topic": "830",
   "URI": "http://asc.fasb.org/extlink&oid=118261656&loc=d3e32211-110900"
  },
  "r56": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(210.5-03(11))",
   "Topic": "220",
   "URI": "http://asc.fasb.org/extlink&oid=123367319&loc=SL114868664-224227"
  },
  "r560": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "20",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "30",
   "Topic": "830",
   "URI": "http://asc.fasb.org/extlink&oid=118261656&loc=d3e32211-110900"
  },
  "r561": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "30",
   "Topic": "830",
   "URI": "http://asc.fasb.org/extlink&oid=6450520&loc=d3e32583-110901"
  },
  "r562": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(a)",
   "Topic": "835",
   "URI": "http://asc.fasb.org/extlink&oid=6450988&loc=d3e26243-108391"
  },
  "r563": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "30",
   "Topic": "835",
   "URI": "http://asc.fasb.org/extlink&oid=124435984&loc=d3e28555-108399"
  },
  "r564": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "30",
   "Topic": "840",
   "URI": "http://asc.fasb.org/extlink&oid=123386454&loc=d3e45280-112737"
  },
  "r565": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "30",
   "Subparagraph": "(a)(4)",
   "Topic": "840",
   "URI": "http://asc.fasb.org/extlink&oid=123392090&loc=d3e45377-112738"
  },
  "r566": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "20",
   "Subparagraph": "(a)",
   "Topic": "842",
   "URI": "http://asc.fasb.org/extlink&oid=123391704&loc=SL77918627-209977"
  },
  "r567": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "20",
   "Subparagraph": "(b)",
   "Topic": "842",
   "URI": "http://asc.fasb.org/extlink&oid=123391704&loc=SL77918627-209977"
  },
  "r568": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "12",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "30",
   "Topic": "842",
   "URI": "http://asc.fasb.org/extlink&oid=124258985&loc=SL77919396-209981"
  },
  "r569": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "7",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "852",
   "URI": "http://asc.fasb.org/extlink&oid=124433192&loc=SL2890621-112765"
  },
  "r57": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-03(1))",
   "Topic": "220",
   "URI": "http://asc.fasb.org/extlink&oid=123367319&loc=SL114868664-224227"
  },
  "r570": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "7",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "852",
   "URI": "http://asc.fasb.org/extlink&oid=124433192&loc=SL2890621-112765"
  },
  "r571": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "10",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "10",
   "Topic": "852",
   "URI": "http://asc.fasb.org/extlink&oid=84165509&loc=d3e56426-112766"
  },
  "r572": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(b)(2)(i)",
   "Topic": "860",
   "URI": "http://asc.fasb.org/extlink&oid=121570589&loc=d3e107207-111719"
  },
  "r573": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(b)(2)(ii)",
   "Topic": "860",
   "URI": "http://asc.fasb.org/extlink&oid=121570589&loc=d3e107207-111719"
  },
  "r574": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(b)(3)",
   "Topic": "860",
   "URI": "http://asc.fasb.org/extlink&oid=121570589&loc=d3e107207-111719"
  },
  "r575": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(bb)(1)",
   "Topic": "860",
   "URI": "http://asc.fasb.org/extlink&oid=121570589&loc=d3e107207-111719"
  },
  "r576": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(bb)(2)",
   "Topic": "860",
   "URI": "http://asc.fasb.org/extlink&oid=121570589&loc=d3e107207-111719"
  },
  "r577": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(bb)(3)",
   "Topic": "860",
   "URI": "http://asc.fasb.org/extlink&oid=121570589&loc=d3e107207-111719"
  },
  "r578": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(c)(1)",
   "Topic": "860",
   "URI": "http://asc.fasb.org/extlink&oid=121570589&loc=d3e107207-111719"
  },
  "r579": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(c)(2)",
   "Topic": "860",
   "URI": "http://asc.fasb.org/extlink&oid=121570589&loc=d3e107207-111719"
  },
  "r58": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-03(10))",
   "Topic": "220",
   "URI": "http://asc.fasb.org/extlink&oid=123367319&loc=SL114868664-224227"
  },
  "r580": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(c)(3)",
   "Topic": "860",
   "URI": "http://asc.fasb.org/extlink&oid=121570589&loc=d3e107207-111719"
  },
  "r581": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(b)(1)",
   "Topic": "860",
   "URI": "http://asc.fasb.org/extlink&oid=121570589&loc=d3e107314-111719"
  },
  "r582": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(b)(2)",
   "Topic": "860",
   "URI": "http://asc.fasb.org/extlink&oid=121570589&loc=d3e107314-111719"
  },
  "r583": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(b)(3)",
   "Topic": "860",
   "URI": "http://asc.fasb.org/extlink&oid=121570589&loc=d3e107314-111719"
  },
  "r584": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(c)",
   "Topic": "860",
   "URI": "http://asc.fasb.org/extlink&oid=121570589&loc=d3e107314-111719"
  },
  "r585": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "30",
   "Topic": "860",
   "URI": "http://asc.fasb.org/extlink&oid=66007379&loc=d3e113888-111728"
  },
  "r586": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "7",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "30",
   "Subparagraph": "(a)",
   "Topic": "860",
   "URI": "http://asc.fasb.org/extlink&oid=109249958&loc=SL34722452-111729"
  },
  "r587": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "50",
   "Topic": "860",
   "URI": "http://asc.fasb.org/extlink&oid=6469459&loc=d3e122492-111745"
  },
  "r588": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "50",
   "Subparagraph": "(a)",
   "Topic": "860",
   "URI": "http://asc.fasb.org/extlink&oid=6469459&loc=d3e122501-111745"
  },
  "r589": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "50",
   "Subparagraph": "(d)",
   "Topic": "860",
   "URI": "http://asc.fasb.org/extlink&oid=125521744&loc=d3e122596-111746"
  },
  "r59": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-03(20))",
   "Topic": "220",
   "URI": "http://asc.fasb.org/extlink&oid=123367319&loc=SL114868664-224227"
  },
  "r590": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "50",
   "Subparagraph": "(a)(1)",
   "Topic": "860",
   "URI": "http://asc.fasb.org/extlink&oid=125521744&loc=d3e122625-111746"
  },
  "r591": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "50",
   "Subparagraph": "(a)(2)",
   "Topic": "860",
   "URI": "http://asc.fasb.org/extlink&oid=125521744&loc=d3e122625-111746"
  },
  "r592": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "50",
   "Subparagraph": "(a)(3)",
   "Topic": "860",
   "URI": "http://asc.fasb.org/extlink&oid=125521744&loc=d3e122625-111746"
  },
  "r593": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "50",
   "Subparagraph": "(a)(4)(i)",
   "Topic": "860",
   "URI": "http://asc.fasb.org/extlink&oid=125521744&loc=d3e122625-111746"
  },
  "r594": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "50",
   "Subparagraph": "(a)(1)",
   "Topic": "860",
   "URI": "http://asc.fasb.org/extlink&oid=125521744&loc=d3e122739-111746"
  },
  "r595": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "50",
   "Subparagraph": "(a)(2)",
   "Topic": "860",
   "URI": "http://asc.fasb.org/extlink&oid=125521744&loc=d3e122739-111746"
  },
  "r596": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "50",
   "Subparagraph": "(a)(3)",
   "Topic": "860",
   "URI": "http://asc.fasb.org/extlink&oid=125521744&loc=d3e122739-111746"
  },
  "r597": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "50",
   "Subparagraph": "(a)(4)",
   "Topic": "860",
   "URI": "http://asc.fasb.org/extlink&oid=125521744&loc=d3e122739-111746"
  },
  "r598": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "50",
   "Subparagraph": "(a)(5)",
   "Topic": "860",
   "URI": "http://asc.fasb.org/extlink&oid=125521744&loc=d3e122739-111746"
  },
  "r599": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "50",
   "Subparagraph": "(a)(6)",
   "Topic": "860",
   "URI": "http://asc.fasb.org/extlink&oid=125521744&loc=d3e122739-111746"
  },
  "r6": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02(17))",
   "Topic": "210",
   "URI": "http://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682"
  },
  "r60": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-03(21))",
   "Topic": "220",
   "URI": "http://asc.fasb.org/extlink&oid=123367319&loc=SL114868664-224227"
  },
  "r600": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "50",
   "Subparagraph": "(a)(7)",
   "Topic": "860",
   "URI": "http://asc.fasb.org/extlink&oid=125521744&loc=d3e122739-111746"
  },
  "r601": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "50",
   "Subparagraph": "(b)",
   "Topic": "860",
   "URI": "http://asc.fasb.org/extlink&oid=125521744&loc=d3e122739-111746"
  },
  "r602": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "50",
   "Subparagraph": "(e)(1)",
   "Topic": "860",
   "URI": "http://asc.fasb.org/extlink&oid=125521744&loc=d3e122739-111746"
  },
  "r603": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "50",
   "Subparagraph": "(e)(2)",
   "Topic": "860",
   "URI": "http://asc.fasb.org/extlink&oid=125521744&loc=d3e122739-111746"
  },
  "r604": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "50",
   "Subparagraph": "(e)(3)",
   "Topic": "860",
   "URI": "http://asc.fasb.org/extlink&oid=125521744&loc=d3e122739-111746"
  },
  "r605": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "6",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "910",
   "URI": "http://asc.fasb.org/extlink&oid=123353855&loc=SL119991595-234733"
  },
  "r606": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SAB Topic 11.L)",
   "Topic": "924",
   "URI": "http://asc.fasb.org/extlink&oid=6472922&loc=d3e499488-122856"
  },
  "r607": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Topic": "926",
   "URI": "http://asc.fasb.org/extlink&oid=120154696&loc=d3e54445-107959"
  },
  "r608": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "340",
   "Topic": "928",
   "URI": "http://asc.fasb.org/extlink&oid=6473545&loc=d3e61844-108004"
  },
  "r609": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "25",
   "SubTopic": "20",
   "Topic": "940",
   "URI": "http://asc.fasb.org/extlink&oid=123384075&loc=d3e41242-110953"
  },
  "r61": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-03(24))",
   "Topic": "220",
   "URI": "http://asc.fasb.org/extlink&oid=123367319&loc=SL114868664-224227"
  },
  "r610": {
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "SubTopic": "320",
   "Topic": "940",
   "URI": "http://asc.fasb.org/subtopic&trid=2176304"
  },
  "r611": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "210",
   "Topic": "942",
   "URI": "http://asc.fasb.org/extlink&oid=117340910&loc=d3e59706-112781"
  },
  "r612": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.9-03(1))",
   "Topic": "942",
   "URI": "http://asc.fasb.org/extlink&oid=120398452&loc=d3e534808-122878"
  },
  "r613": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.9-03(10)(1))",
   "Topic": "942",
   "URI": "http://asc.fasb.org/extlink&oid=120398452&loc=d3e534808-122878"
  },
  "r614": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.9-03(10))",
   "Topic": "942",
   "URI": "http://asc.fasb.org/extlink&oid=120398452&loc=d3e534808-122878"
  },
  "r615": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.9-03(11))",
   "Topic": "942",
   "URI": "http://asc.fasb.org/extlink&oid=120398452&loc=d3e534808-122878"
  },
  "r616": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.9-03(13)(3)(a))",
   "Topic": "942",
   "URI": "http://asc.fasb.org/extlink&oid=120398452&loc=d3e534808-122878"
  },
  "r617": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.9-03(13))",
   "Topic": "942",
   "URI": "http://asc.fasb.org/extlink&oid=120398452&loc=d3e534808-122878"
  },
  "r618": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.9-03(14))",
   "Topic": "942",
   "URI": "http://asc.fasb.org/extlink&oid=120398452&loc=d3e534808-122878"
  },
  "r619": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.9-03(16))",
   "Topic": "942",
   "URI": "http://asc.fasb.org/extlink&oid=120398452&loc=d3e534808-122878"
  },
  "r62": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-03(25))",
   "Topic": "220",
   "URI": "http://asc.fasb.org/extlink&oid=123367319&loc=SL114868664-224227"
  },
  "r620": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.9-03(23))",
   "Topic": "942",
   "URI": "http://asc.fasb.org/extlink&oid=120398452&loc=d3e534808-122878"
  },
  "r621": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.9-03(6))",
   "Topic": "942",
   "URI": "http://asc.fasb.org/extlink&oid=120398452&loc=d3e534808-122878"
  },
  "r622": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.9-03(7)(2))",
   "Topic": "942",
   "URI": "http://asc.fasb.org/extlink&oid=120398452&loc=d3e534808-122878"
  },
  "r623": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.9-03.12)",
   "Topic": "942",
   "URI": "http://asc.fasb.org/extlink&oid=120398452&loc=d3e534808-122878"
  },
  "r624": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.9-03.13(3)(a))",
   "Topic": "942",
   "URI": "http://asc.fasb.org/extlink&oid=120398452&loc=d3e534808-122878"
  },
  "r625": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.9-03.15(5))",
   "Topic": "942",
   "URI": "http://asc.fasb.org/extlink&oid=120398452&loc=d3e534808-122878"
  },
  "r626": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.9-03.16)",
   "Topic": "942",
   "URI": "http://asc.fasb.org/extlink&oid=120398452&loc=d3e534808-122878"
  },
  "r627": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.9-03.2)",
   "Topic": "942",
   "URI": "http://asc.fasb.org/extlink&oid=120398452&loc=d3e534808-122878"
  },
  "r628": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.9-03.7)",
   "Topic": "942",
   "URI": "http://asc.fasb.org/extlink&oid=120398452&loc=d3e534808-122878"
  },
  "r629": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "220",
   "Subparagraph": "(SX 210.9-04(13))",
   "Topic": "942",
   "URI": "http://asc.fasb.org/extlink&oid=120399700&loc=SL114874048-224260"
  },
  "r63": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-03(7)(c))",
   "Topic": "220",
   "URI": "http://asc.fasb.org/extlink&oid=123367319&loc=SL114868664-224227"
  },
  "r630": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "220",
   "Subparagraph": "(SX 210.9-04(15))",
   "Topic": "942",
   "URI": "http://asc.fasb.org/extlink&oid=120399700&loc=SL114874048-224260"
  },
  "r631": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "220",
   "Subparagraph": "(SX 210.9-04(22))",
   "Topic": "942",
   "URI": "http://asc.fasb.org/extlink&oid=120399700&loc=SL114874048-224260"
  },
  "r632": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "220",
   "Subparagraph": "(SX 210.9-04(23))",
   "Topic": "942",
   "URI": "http://asc.fasb.org/extlink&oid=120399700&loc=SL114874048-224260"
  },
  "r633": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "220",
   "Subparagraph": "(SX 210.9-04(26))",
   "Topic": "942",
   "URI": "http://asc.fasb.org/extlink&oid=120399700&loc=SL114874048-224260"
  },
  "r634": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "220",
   "Subparagraph": "(SX 210.9-04(27))",
   "Topic": "942",
   "URI": "http://asc.fasb.org/extlink&oid=120399700&loc=SL114874048-224260"
  },
  "r635": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "220",
   "Subparagraph": "(SX 210.9-04.1)",
   "Topic": "942",
   "URI": "http://asc.fasb.org/extlink&oid=120399700&loc=SL114874048-224260"
  },
  "r636": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "220",
   "Subparagraph": "(SX 210.9-04.1-5)",
   "Topic": "942",
   "URI": "http://asc.fasb.org/extlink&oid=120399700&loc=SL114874048-224260"
  },
  "r637": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "220",
   "Subparagraph": "(SX 210.9-04.10)",
   "Topic": "942",
   "URI": "http://asc.fasb.org/extlink&oid=120399700&loc=SL114874048-224260"
  },
  "r638": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "220",
   "Subparagraph": "(SX 210.9-04.11)",
   "Topic": "942",
   "URI": "http://asc.fasb.org/extlink&oid=120399700&loc=SL114874048-224260"
  },
  "r639": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "220",
   "Subparagraph": "(SX 210.9-04.12)",
   "Topic": "942",
   "URI": "http://asc.fasb.org/extlink&oid=120399700&loc=SL114874048-224260"
  },
  "r64": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-03(9)(a))",
   "Topic": "220",
   "URI": "http://asc.fasb.org/extlink&oid=123367319&loc=SL114868664-224227"
  },
  "r640": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "220",
   "Subparagraph": "(SX 210.9-04.13(c),(d))",
   "Topic": "942",
   "URI": "http://asc.fasb.org/extlink&oid=120399700&loc=SL114874048-224260"
  },
  "r641": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "220",
   "Subparagraph": "(SX 210.9-04.13)",
   "Topic": "942",
   "URI": "http://asc.fasb.org/extlink&oid=120399700&loc=SL114874048-224260"
  },
  "r642": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "220",
   "Subparagraph": "(SX 210.9-04.14(b))",
   "Topic": "942",
   "URI": "http://asc.fasb.org/extlink&oid=120399700&loc=SL114874048-224260"
  },
  "r643": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "220",
   "Subparagraph": "(SX 210.9-04.14)",
   "Topic": "942",
   "URI": "http://asc.fasb.org/extlink&oid=120399700&loc=SL114874048-224260"
  },
  "r644": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "220",
   "Subparagraph": "(SX 210.9-04.2)",
   "Topic": "942",
   "URI": "http://asc.fasb.org/extlink&oid=120399700&loc=SL114874048-224260"
  },
  "r645": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "220",
   "Subparagraph": "(SX 210.9-04.4)",
   "Topic": "942",
   "URI": "http://asc.fasb.org/extlink&oid=120399700&loc=SL114874048-224260"
  },
  "r646": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "220",
   "Subparagraph": "(SX 210.9-04.6)",
   "Topic": "942",
   "URI": "http://asc.fasb.org/extlink&oid=120399700&loc=SL114874048-224260"
  },
  "r647": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "220",
   "Subparagraph": "(SX 210.9-04.7)",
   "Topic": "942",
   "URI": "http://asc.fasb.org/extlink&oid=120399700&loc=SL114874048-224260"
  },
  "r648": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "220",
   "Subparagraph": "(SX 210.9-04.8)",
   "Topic": "942",
   "URI": "http://asc.fasb.org/extlink&oid=120399700&loc=SL114874048-224260"
  },
  "r649": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "220",
   "Subparagraph": "(SX 210.9-04.9)",
   "Topic": "942",
   "URI": "http://asc.fasb.org/extlink&oid=120399700&loc=SL114874048-224260"
  },
  "r65": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-03(b)(4))",
   "Topic": "220",
   "URI": "http://asc.fasb.org/extlink&oid=123367319&loc=SL114868664-224227"
  },
  "r650": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "230",
   "Subparagraph": "(b)",
   "Topic": "942",
   "URI": "http://asc.fasb.org/extlink&oid=123398031&loc=d3e60009-112784"
  },
  "r651": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "235",
   "Subparagraph": "(SX 210.9-05(b)(2))",
   "Topic": "942",
   "URI": "http://asc.fasb.org/extlink&oid=120399901&loc=d3e537907-122884"
  },
  "r652": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "320",
   "Subparagraph": "(b)",
   "Topic": "942",
   "URI": "http://asc.fasb.org/extlink&oid=123599081&loc=d3e62557-112803"
  },
  "r653": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "320",
   "Topic": "942",
   "URI": "http://asc.fasb.org/extlink&oid=123599081&loc=d3e62557-112803"
  },
  "r654": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "320",
   "Subparagraph": "(a)",
   "Topic": "942",
   "URI": "http://asc.fasb.org/extlink&oid=123599081&loc=d3e62586-112803"
  },
  "r655": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "320",
   "Subparagraph": "(b)",
   "Topic": "942",
   "URI": "http://asc.fasb.org/extlink&oid=123599081&loc=d3e62586-112803"
  },
  "r656": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "320",
   "Subparagraph": "(c)",
   "Topic": "942",
   "URI": "http://asc.fasb.org/extlink&oid=123599081&loc=d3e62586-112803"
  },
  "r657": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "320",
   "Subparagraph": "(d)",
   "Topic": "942",
   "URI": "http://asc.fasb.org/extlink&oid=123599081&loc=d3e62586-112803"
  },
  "r658": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "320",
   "Topic": "942",
   "URI": "http://asc.fasb.org/extlink&oid=123599081&loc=d3e62586-112803"
  },
  "r659": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3A",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "320",
   "Subparagraph": "(a)",
   "Topic": "942",
   "URI": "http://asc.fasb.org/extlink&oid=123599081&loc=SL120269850-112803"
  },
  "r66": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-03.4)",
   "Topic": "220",
   "URI": "http://asc.fasb.org/extlink&oid=123367319&loc=SL114868664-224227"
  },
  "r660": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3A",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "320",
   "Subparagraph": "(b)",
   "Topic": "942",
   "URI": "http://asc.fasb.org/extlink&oid=123599081&loc=SL120269850-112803"
  },
  "r661": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3A",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "320",
   "Subparagraph": "(c)",
   "Topic": "942",
   "URI": "http://asc.fasb.org/extlink&oid=123599081&loc=SL120269850-112803"
  },
  "r662": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3A",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "320",
   "Subparagraph": "(d)",
   "Topic": "942",
   "URI": "http://asc.fasb.org/extlink&oid=123599081&loc=SL120269850-112803"
  },
  "r663": {
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "SubTopic": "320",
   "Topic": "942",
   "URI": "http://asc.fasb.org/subtopic&trid=2209399"
  },
  "r664": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "360",
   "Topic": "942",
   "URI": "http://asc.fasb.org/extlink&oid=124429447&loc=SL124453093-239630"
  },
  "r665": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "405",
   "Subparagraph": "(c)",
   "Topic": "942",
   "URI": "http://asc.fasb.org/extlink&oid=116652737&loc=d3e64164-112818"
  },
  "r666": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "405",
   "Topic": "942",
   "URI": "http://asc.fasb.org/extlink&oid=116652737&loc=d3e64164-112818"
  },
  "r667": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "470",
   "Topic": "942",
   "URI": "http://asc.fasb.org/extlink&oid=6479118&loc=d3e64650-112822"
  },
  "r668": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "470",
   "Topic": "942",
   "URI": "http://asc.fasb.org/extlink&oid=123599511&loc=d3e64684-112823"
  },
  "r669": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "470",
   "Topic": "942",
   "URI": "http://asc.fasb.org/extlink&oid=123599511&loc=d3e64702-112823"
  },
  "r67": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-03.6)",
   "Topic": "220",
   "URI": "http://asc.fasb.org/extlink&oid=123367319&loc=SL114868664-224227"
  },
  "r670": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.7-03(a)(1)(b))",
   "Topic": "944",
   "URI": "http://asc.fasb.org/extlink&oid=120400017&loc=d3e572229-122910"
  },
  "r671": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.7-03(a)(12))",
   "Topic": "944",
   "URI": "http://asc.fasb.org/extlink&oid=120400017&loc=d3e572229-122910"
  },
  "r672": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.7-03(a)(16)(a)(1))",
   "Topic": "944",
   "URI": "http://asc.fasb.org/extlink&oid=120400017&loc=d3e572229-122910"
  },
  "r673": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.7-03(a)(16))",
   "Topic": "944",
   "URI": "http://asc.fasb.org/extlink&oid=120400017&loc=d3e572229-122910"
  },
  "r674": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.7-03(a)(23)(a)(3))",
   "Topic": "944",
   "URI": "http://asc.fasb.org/extlink&oid=120400017&loc=d3e572229-122910"
  },
  "r675": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.7-03(a)(23)(a)(4))",
   "Topic": "944",
   "URI": "http://asc.fasb.org/extlink&oid=120400017&loc=d3e572229-122910"
  },
  "r676": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.7-03(a)(25))",
   "Topic": "944",
   "URI": "http://asc.fasb.org/extlink&oid=120400017&loc=d3e572229-122910"
  },
  "r677": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.7-03(a)(8))",
   "Topic": "944",
   "URI": "http://asc.fasb.org/extlink&oid=120400017&loc=d3e572229-122910"
  },
  "r678": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.7-03.15(a))",
   "Topic": "944",
   "URI": "http://asc.fasb.org/extlink&oid=120400017&loc=d3e572229-122910"
  },
  "r679": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "220",
   "Subparagraph": "(SX 210.7-04(18))",
   "Topic": "944",
   "URI": "http://asc.fasb.org/extlink&oid=120400993&loc=SL114874131-224263"
  },
  "r68": {
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "Topic": "220",
   "URI": "http://asc.fasb.org/topic&trid=2134417"
  },
  "r680": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "220",
   "Subparagraph": "(SX 210.7-04(19))",
   "Topic": "944",
   "URI": "http://asc.fasb.org/extlink&oid=120400993&loc=SL114874131-224263"
  },
  "r681": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "220",
   "Subparagraph": "(SX 210.7-04(22))",
   "Topic": "944",
   "URI": "http://asc.fasb.org/extlink&oid=120400993&loc=SL114874131-224263"
  },
  "r682": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "220",
   "Subparagraph": "(SX 210.7-04(23))",
   "Topic": "944",
   "URI": "http://asc.fasb.org/extlink&oid=120400993&loc=SL114874131-224263"
  },
  "r683": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "220",
   "Subparagraph": "(SX 210.7-04(4))",
   "Topic": "944",
   "URI": "http://asc.fasb.org/extlink&oid=120400993&loc=SL114874131-224263"
  },
  "r684": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "220",
   "Subparagraph": "(SX 210.7-04(8))",
   "Topic": "944",
   "URI": "http://asc.fasb.org/extlink&oid=120400993&loc=SL114874131-224263"
  },
  "r685": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "220",
   "Subparagraph": "(SX 210.7-04(9))",
   "Topic": "944",
   "URI": "http://asc.fasb.org/extlink&oid=120400993&loc=SL114874131-224263"
  },
  "r686": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "220",
   "Subparagraph": "(SX 210.7-04.4)",
   "Topic": "944",
   "URI": "http://asc.fasb.org/extlink&oid=120400993&loc=SL114874131-224263"
  },
  "r687": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4H",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "40",
   "Topic": "944",
   "URI": "http://asc.fasb.org/extlink&oid=116884468&loc=SL65671331-158438"
  },
  "r688": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "7A",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "40",
   "Subparagraph": "(d)",
   "Topic": "944",
   "URI": "http://asc.fasb.org/extlink&oid=124506351&loc=SL117782755-158439"
  },
  "r689": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "13H",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "40",
   "Subparagraph": "(a)",
   "Topic": "944",
   "URI": "http://asc.fasb.org/extlink&oid=124504033&loc=SL117783719-158441"
  },
  "r69": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "11",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "230",
   "URI": "http://asc.fasb.org/extlink&oid=123570139&loc=d3e3151-108585"
  },
  "r690": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "13H",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "40",
   "Subparagraph": "(c)",
   "Topic": "944",
   "URI": "http://asc.fasb.org/extlink&oid=124504033&loc=SL117783719-158441"
  },
  "r691": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "29F",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "40",
   "Topic": "944",
   "URI": "http://asc.fasb.org/extlink&oid=124504033&loc=SL117819544-158441"
  },
  "r692": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "40",
   "Subparagraph": "(e)",
   "Topic": "944",
   "URI": "http://asc.fasb.org/extlink&oid=124501264&loc=SL117420844-207641"
  },
  "r693": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "40",
   "Subparagraph": "(f)(1)",
   "Topic": "944",
   "URI": "http://asc.fasb.org/extlink&oid=124501264&loc=SL117420844-207641"
  },
  "r694": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "40",
   "Subparagraph": "(f)(2)",
   "Topic": "944",
   "URI": "http://asc.fasb.org/extlink&oid=124501264&loc=SL117420844-207641"
  },
  "r695": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "40",
   "Subparagraph": "(g)(2)(i)",
   "Topic": "944",
   "URI": "http://asc.fasb.org/extlink&oid=124501264&loc=SL117420844-207641"
  },
  "r696": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "40",
   "Subparagraph": "(g)(2)(ii)",
   "Topic": "944",
   "URI": "http://asc.fasb.org/extlink&oid=124501264&loc=SL117420844-207641"
  },
  "r697": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "40",
   "Subparagraph": "(h)(2)",
   "Topic": "944",
   "URI": "http://asc.fasb.org/extlink&oid=124501264&loc=SL117420844-207641"
  },
  "r698": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "80",
   "Subparagraph": "(e)",
   "Topic": "944",
   "URI": "http://asc.fasb.org/extlink&oid=124508989&loc=d3e19393-158473"
  },
  "r699": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "220",
   "Subparagraph": "(k)",
   "Topic": "946",
   "URI": "http://asc.fasb.org/extlink&oid=124433917&loc=SL114874205-224268"
  },
  "r7": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02(19)(a))",
   "Topic": "210",
   "URI": "http://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682"
  },
  "r70": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "12",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "230",
   "URI": "http://asc.fasb.org/extlink&oid=123570139&loc=d3e3179-108585"
  },
  "r700": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "220",
   "Subparagraph": "(SX 210.6-07.2(a),(b),(c),(d))",
   "Topic": "946",
   "URI": "http://asc.fasb.org/extlink&oid=120401555&loc=SL114874292-224272"
  },
  "r701": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "7",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "320",
   "Subparagraph": "(SX 210.12-15(Column B))",
   "Topic": "946",
   "URI": "http://asc.fasb.org/extlink&oid=122147990&loc=d3e611379-123010"
  },
  "r702": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "7",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "320",
   "Subparagraph": "(SX 210.12-15(Column C))",
   "Topic": "946",
   "URI": "http://asc.fasb.org/extlink&oid=122147990&loc=d3e611379-123010"
  },
  "r703": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "7",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "320",
   "Subparagraph": "(SX 210.12-15(Column D))",
   "Topic": "946",
   "URI": "http://asc.fasb.org/extlink&oid=122147990&loc=d3e611379-123010"
  },
  "r704": {
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "SubTopic": "320",
   "Topic": "946",
   "URI": "http://asc.fasb.org/subtopic&trid=2324412"
  },
  "r705": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "310",
   "Topic": "948",
   "URI": "http://asc.fasb.org/extlink&oid=124265262&loc=d3e48678-111004"
  },
  "r706": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "310",
   "Subparagraph": "(SX 210.12-29(Footnote 4))",
   "Topic": "948",
   "URI": "http://asc.fasb.org/extlink&oid=120402547&loc=d3e617274-123014"
  },
  "r707": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "210",
   "Topic": "954",
   "URI": "http://asc.fasb.org/extlink&oid=120413173&loc=SL6242262-115580"
  },
  "r708": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "210",
   "Topic": "954",
   "URI": "http://asc.fasb.org/extlink&oid=120413209&loc=SL6242269-115581"
  },
  "r709": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "310",
   "Subparagraph": "(c)",
   "Topic": "976",
   "URI": "http://asc.fasb.org/extlink&oid=6497875&loc=d3e22274-108663"
  },
  "r71": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "12",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(c)",
   "Topic": "230",
   "URI": "http://asc.fasb.org/extlink&oid=123570139&loc=d3e3179-108585"
  },
  "r710": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "310",
   "Subparagraph": "(b)",
   "Topic": "978",
   "URI": "http://asc.fasb.org/extlink&oid=123360121&loc=d3e27327-108691"
  },
  "r711": {
   "Name": "Exchange Act",
   "Number": "240",
   "Publisher": "SEC",
   "Section": "12",
   "Subsection": "b"
  },
  "r712": {
   "Name": "Exchange Act",
   "Number": "240",
   "Publisher": "SEC",
   "Section": "12",
   "Subsection": "b-2"
  },
  "r713": {
   "Name": "Exchange Act",
   "Number": "240",
   "Publisher": "SEC",
   "Section": "12",
   "Subsection": "d1-1"
  },
  "r714": {
   "Name": "Form 10-Q",
   "Number": "240",
   "Publisher": "SEC",
   "Section": "308",
   "Subsection": "a"
  },
  "r715": {
   "Name": "Forms 10-K, 10-Q, 20-F",
   "Number": "240",
   "Publisher": "SEC",
   "Section": "13",
   "Subsection": "a-1"
  },
  "r716": {
   "Name": "Regulation S-K (SK)",
   "Number": "229",
   "Paragraph": "(a)",
   "Publisher": "SEC",
   "Section": "1402"
  },
  "r717": {
   "Name": "Regulation S-K (SK)",
   "Number": "229",
   "Paragraph": "(b)",
   "Publisher": "SEC",
   "Section": "1402",
   "Subparagraph": "(1)"
  },
  "r718": {
   "Name": "Regulation S-K (SK)",
   "Number": "229",
   "Paragraph": "(b)",
   "Publisher": "SEC",
   "Section": "1402",
   "Subparagraph": "(2)"
  },
  "r719": {
   "Name": "Regulation S-K (SK)",
   "Number": "229",
   "Paragraph": "(b)",
   "Publisher": "SEC",
   "Section": "1402",
   "Subparagraph": "(3)"
  },
  "r72": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "13",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "230",
   "URI": "http://asc.fasb.org/extlink&oid=123570139&loc=d3e3213-108585"
  },
  "r720": {
   "Name": "Regulation S-K (SK)",
   "Number": "229",
   "Paragraph": "(c)",
   "Publisher": "SEC",
   "Section": "1402",
   "Subparagraph": "(2)(i)"
  },
  "r721": {
   "Name": "Regulation S-K (SK)",
   "Number": "229",
   "Paragraph": "(c)",
   "Publisher": "SEC",
   "Section": "1402",
   "Subparagraph": "(2)(ii)"
  },
  "r722": {
   "Name": "Regulation S-K (SK)",
   "Number": "229",
   "Paragraph": "(c)",
   "Publisher": "SEC",
   "Section": "1402",
   "Subparagraph": "(2)(iii)"
  },
  "r723": {
   "Name": "Regulation S-K (SK)",
   "Number": "229",
   "Paragraph": "(b)",
   "Publisher": "SEC",
   "Section": "1403"
  },
  "r724": {
   "Name": "Regulation S-K (SK)",
   "Number": "229",
   "Paragraph": "(a)",
   "Publisher": "SEC",
   "Section": "1404"
  },
  "r725": {
   "Name": "Regulation S-K (SK)",
   "Number": "229",
   "Paragraph": "(b)",
   "Publisher": "SEC",
   "Section": "1404"
  },
  "r726": {
   "Name": "Regulation S-K (SK)",
   "Number": "229",
   "Paragraph": "(a)",
   "Publisher": "SEC",
   "Section": "1405",
   "Subparagraph": "(1)"
  },
  "r727": {
   "Name": "Regulation S-K (SK)",
   "Number": "229",
   "Paragraph": "(a)",
   "Publisher": "SEC",
   "Section": "1405",
   "Subparagraph": "(2)"
  },
  "r728": {
   "Name": "Regulation S-K (SK)",
   "Number": "229",
   "Paragraph": "(a)",
   "Publisher": "SEC",
   "Section": "1405",
   "Subparagraph": "(3)"
  },
  "r729": {
   "Name": "Regulation S-K (SK)",
   "Number": "229",
   "Paragraph": "(a)",
   "Publisher": "SEC",
   "Section": "1405",
   "Subparagraph": "(4)"
  },
  "r73": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "13",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(c)",
   "Topic": "230",
   "URI": "http://asc.fasb.org/extlink&oid=123570139&loc=d3e3213-108585"
  },
  "r730": {
   "Name": "Regulation S-K (SK)",
   "Number": "229",
   "Paragraph": "(c)",
   "Publisher": "SEC",
   "Section": "1405"
  },
  "r731": {
   "Name": "Regulation S-K (SK)",
   "Number": "229",
   "Publisher": "SEC",
   "Section": "1406"
  },
  "r732": {
   "Name": "Regulation S-K (SK)",
   "Number": "229",
   "Paragraph": "(e)",
   "Publisher": "SEC",
   "Section": "1406"
  },
  "r733": {
   "Name": "Regulation S-T",
   "Number": "232",
   "Publisher": "SEC",
   "Section": "405"
  },
  "r734": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "10",
   "Subparagraph": "(a)(3)(iii)(03)",
   "Topic": "848"
  },
  "r74": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "13",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "230",
   "URI": "http://asc.fasb.org/extlink&oid=123570139&loc=d3e3213-108585"
  },
  "r75": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "14",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "230",
   "URI": "http://asc.fasb.org/extlink&oid=123570139&loc=d3e3255-108585"
  },
  "r76": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "15",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "230",
   "URI": "http://asc.fasb.org/extlink&oid=123570139&loc=d3e3291-108585"
  },
  "r77": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "15",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "230",
   "URI": "http://asc.fasb.org/extlink&oid=123570139&loc=d3e3291-108585"
  },
  "r78": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "15",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(f)",
   "Topic": "230",
   "URI": "http://asc.fasb.org/extlink&oid=123570139&loc=d3e3291-108585"
  },
  "r79": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "16",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "230",
   "URI": "http://asc.fasb.org/extlink&oid=123570139&loc=d3e3337-108585"
  },
  "r8": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02(19))",
   "Topic": "210",
   "URI": "http://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682"
  },
  "r80": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "17",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(d)",
   "Topic": "230",
   "URI": "http://asc.fasb.org/extlink&oid=123570139&loc=d3e3367-108585"
  },
  "r81": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "21",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "230",
   "URI": "http://asc.fasb.org/extlink&oid=123570139&loc=d3e3461-108585"
  },
  "r82": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "24",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "230",
   "URI": "http://asc.fasb.org/extlink&oid=123570139&loc=d3e3521-108585"
  },
  "r83": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "25",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(e)",
   "Topic": "230",
   "URI": "http://asc.fasb.org/extlink&oid=123570139&loc=d3e3536-108585"
  },
  "r84": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "25",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(g)",
   "Topic": "230",
   "URI": "http://asc.fasb.org/extlink&oid=123570139&loc=d3e3536-108585"
  },
  "r85": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "25",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "230",
   "URI": "http://asc.fasb.org/extlink&oid=123570139&loc=d3e3536-108585"
  },
  "r86": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "28",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "230",
   "URI": "http://asc.fasb.org/extlink&oid=123570139&loc=d3e3602-108585"
  },
  "r87": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "28",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "230",
   "URI": "http://asc.fasb.org/extlink&oid=123570139&loc=d3e3602-108585"
  },
  "r88": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "28",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "230",
   "URI": "http://asc.fasb.org/extlink&oid=123570139&loc=d3e3602-108585"
  },
  "r89": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "230",
   "URI": "http://asc.fasb.org/extlink&oid=123570139&loc=d3e3044-108585"
  },
  "r9": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02(2))",
   "Topic": "210",
   "URI": "http://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682"
  },
  "r90": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "8",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "230",
   "URI": "http://asc.fasb.org/extlink&oid=123570139&loc=d3e3095-108585"
  },
  "r91": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "230",
   "URI": "http://asc.fasb.org/extlink&oid=123431023&loc=d3e4297-108586"
  },
  "r92": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "230",
   "URI": "http://asc.fasb.org/extlink&oid=123431023&loc=d3e4304-108586"
  },
  "r93": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "230",
   "URI": "http://asc.fasb.org/extlink&oid=123431023&loc=d3e4313-108586"
  },
  "r94": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "230",
   "URI": "http://asc.fasb.org/extlink&oid=123431023&loc=d3e4332-108586"
  },
  "r95": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "8",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "230",
   "URI": "http://asc.fasb.org/extlink&oid=123431023&loc=SL98516268-108586"
  },
  "r96": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "235",
   "URI": "http://asc.fasb.org/extlink&oid=123372394&loc=d3e18726-107790"
  },
  "r97": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.4-08(c))",
   "Topic": "235",
   "URI": "http://asc.fasb.org/extlink&oid=120395691&loc=d3e23780-122690"
  },
  "r98": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.4-08(g)(1)(ii))",
   "Topic": "235",
   "URI": "http://asc.fasb.org/extlink&oid=120395691&loc=d3e23780-122690"
  },
  "r99": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.4-08(h))",
   "Topic": "235",
   "URI": "http://asc.fasb.org/extlink&oid=120395691&loc=d3e23780-122690"
  }
 },
 "version": "2.1"
}
