<?xml version='1.0' encoding='utf-8'?>
<FilingSummary>
  <Version>3.22.2</Version>
  <ProcessingTime/>
  <ReportFormat>html</ReportFormat>
  <ContextCount>408</ContextCount>
  <ElementCount>438</ElementCount>
  <EntityCount>1</EntityCount>
  <FootnotesReported>true</FootnotesReported>
  <SegmentCount>87</SegmentCount>
  <ScenarioCount>0</ScenarioCount>
  <TuplesReported>false</TuplesReported>
  <UnitCount>7</UnitCount>
  <MyReports>
    <Report instance="vabk-20220630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R1.htm</HtmlFileName>
      <LongName>100000 - Document - Document and Entity Information</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.vnb.com/20220630/taxonomy/role/Role_DocumentDocumentAndEntityInformation</Role>
      <ShortName>Document and Entity Information</ShortName>
      <MenuCategory>Cover</MenuCategory>
      <Position>1</Position>
    </Report>
    <Report instance="vabk-20220630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R2.htm</HtmlFileName>
      <LongName>100010 - Statement - CONSOLIDATED BALANCE SHEETS</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.vnb.com/20220630/taxonomy/role/Role_StatementCONSOLIDATEDBALANCESHEETS</Role>
      <ShortName>CONSOLIDATED BALANCE SHEETS</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>2</Position>
    </Report>
    <Report instance="vabk-20220630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R3.htm</HtmlFileName>
      <LongName>100030 - Statement - CONSOLIDATED BALANCE SHEETS (Parenthetical)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.vnb.com/20220630/taxonomy/role/Role_StatementCONSOLIDATEDBALANCESHEETSParenthetical</Role>
      <ShortName>CONSOLIDATED BALANCE SHEETS (Parenthetical)</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>3</Position>
    </Report>
    <Report instance="vabk-20220630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R4.htm</HtmlFileName>
      <LongName>100040 - Statement - CONSOLIDATED STATEMENTS OF INCOME (Unaudited)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.vnb.com/20220630/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFINCOMEUnaudited</Role>
      <ShortName>CONSOLIDATED STATEMENTS OF INCOME (Unaudited)</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>4</Position>
    </Report>
    <Report instance="vabk-20220630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R5.htm</HtmlFileName>
      <LongName>100050 - Statement - CONSOLIDATED STATEMENTS OF COMPREHENSIVE INCOME (LOSS) (Unaudited)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.vnb.com/20220630/taxonomy/role/StatementConsolidatedStatementsOfComprehensiveIncomeLossUnaudited</Role>
      <ShortName>CONSOLIDATED STATEMENTS OF COMPREHENSIVE INCOME (LOSS) (Unaudited)</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>5</Position>
    </Report>
    <Report instance="vabk-20220630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R6.htm</HtmlFileName>
      <LongName>100060 - Statement - CONSOLIDATED STATEMENTS OF COMPREHENSIVE INCOME (LOSS) (Parenthetical) (Unaudited)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.vnb.com/20220630/taxonomy/role/StatementConsolidatedStatementsOfComprehensiveIncomeLossParentheticalUnaudited</Role>
      <ShortName>CONSOLIDATED STATEMENTS OF COMPREHENSIVE INCOME (LOSS) (Parenthetical) (Unaudited)</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>6</Position>
    </Report>
    <Report instance="vabk-20220630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R7.htm</HtmlFileName>
      <LongName>100070 - Statement - CONSOLIDATED STATEMENTS OF CHANGES IN SHAREHOLDERS' EQUITY (Unaudited)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.vnb.com/20220630/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFCHANGESINSHAREHOLDERSEQUITYUnaudited</Role>
      <ShortName>CONSOLIDATED STATEMENTS OF CHANGES IN SHAREHOLDERS' EQUITY (Unaudited)</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>7</Position>
    </Report>
    <Report instance="vabk-20220630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R8.htm</HtmlFileName>
      <LongName>100080 - Statement - CONSOLIDATED STATEMENTS OF CHANGES IN SHAREHOLDERS' EQUITY (Parenthetical) (Unaudited)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.vnb.com/20220630/taxonomy/role/StatementConsolidatedStatementsOfChangesInShareholdersEquityParentheticalUnaudited</Role>
      <ShortName>CONSOLIDATED STATEMENTS OF CHANGES IN SHAREHOLDERS' EQUITY (Parenthetical) (Unaudited)</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>8</Position>
    </Report>
    <Report instance="vabk-20220630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R9.htm</HtmlFileName>
      <LongName>100090 - Statement - CONSOLIDATED STATEMENTS OF CASH FLOWS (Unaudited)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.vnb.com/20220630/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFCASHFLOWSUnaudited</Role>
      <ShortName>CONSOLIDATED STATEMENTS OF CASH FLOWS (Unaudited)</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>9</Position>
    </Report>
    <Report instance="vabk-20220630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R10.htm</HtmlFileName>
      <LongName>100100 - Disclosure - Summary of Significant Accounting Policies</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.vnb.com/20220630/taxonomy/role/Role_DisclosureSummaryOfSignificantAccountingPolicies</Role>
      <ShortName>Summary of Significant Accounting Policies</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>10</Position>
    </Report>
    <Report instance="vabk-20220630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R11.htm</HtmlFileName>
      <LongName>100110 - Disclosure - Business Combinations</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.vnb.com/20220630/taxonomy/role/Role_DisclosureBusinessCombinations</Role>
      <ShortName>Business Combinations</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>11</Position>
    </Report>
    <Report instance="vabk-20220630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R12.htm</HtmlFileName>
      <LongName>100120 - Disclosure - Securities</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.vnb.com/20220630/taxonomy/role/Role_DisclosureSecurities</Role>
      <ShortName>Securities</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>12</Position>
    </Report>
    <Report instance="vabk-20220630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R13.htm</HtmlFileName>
      <LongName>100130 - Disclosure - Loans</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.vnb.com/20220630/taxonomy/role/Role_DisclosureLoans</Role>
      <ShortName>Loans</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>13</Position>
    </Report>
    <Report instance="vabk-20220630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R14.htm</HtmlFileName>
      <LongName>100140 - Disclosure - Allowance for Loan Losses</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.vnb.com/20220630/taxonomy/role/Role_DisclosureAllowanceForLoanLosses</Role>
      <ShortName>Allowance for Loan Losses</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>14</Position>
    </Report>
    <Report instance="vabk-20220630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R15.htm</HtmlFileName>
      <LongName>100150 - Disclosure - Goodwill and Other Intangible Assets</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.vnb.com/20220630/taxonomy/role/Role_DisclosureGoodwillAndOtherIntangibleAssets</Role>
      <ShortName>Goodwill and Other Intangible Assets</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>15</Position>
    </Report>
    <Report instance="vabk-20220630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R16.htm</HtmlFileName>
      <LongName>100160 - Disclosure - Leases</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.vnb.com/20220630/taxonomy/role/Role_DisclosureLeases</Role>
      <ShortName>Leases</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>16</Position>
    </Report>
    <Report instance="vabk-20220630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R17.htm</HtmlFileName>
      <LongName>100170 - Disclosure - Net Income Per Share</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.vnb.com/20220630/taxonomy/role/Role_DisclosureNetIncomePerShare</Role>
      <ShortName>Net Income Per Share</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>17</Position>
    </Report>
    <Report instance="vabk-20220630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R18.htm</HtmlFileName>
      <LongName>100180 - Disclosure - Stock Incentive Plans</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.vnb.com/20220630/taxonomy/role/Role_DisclosureStockIncentivePlans</Role>
      <ShortName>Stock Incentive Plans</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>18</Position>
    </Report>
    <Report instance="vabk-20220630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R19.htm</HtmlFileName>
      <LongName>100190 - Disclosure - Fair Value Measurements</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.vnb.com/20220630/taxonomy/role/Role_DisclosureFairValueMeasurements</Role>
      <ShortName>Fair Value Measurements</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>19</Position>
    </Report>
    <Report instance="vabk-20220630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R20.htm</HtmlFileName>
      <LongName>100200 - Disclosure - Other Comprehensive Income (Loss)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.vnb.com/20220630/taxonomy/role/DisclosureOtherComprehensiveIncomeLoss</Role>
      <ShortName>Other Comprehensive Income (Loss)</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>20</Position>
    </Report>
    <Report instance="vabk-20220630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R21.htm</HtmlFileName>
      <LongName>100210 - Disclosure - Derivatives Instruments and Hedging Activities</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.vnb.com/20220630/taxonomy/role/DisclosureDerivativesInstrumentsAndHedgingActivities</Role>
      <ShortName>Derivatives Instruments and Hedging Activities</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>21</Position>
    </Report>
    <Report instance="vabk-20220630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R22.htm</HtmlFileName>
      <LongName>100220 - Disclosure - Segment Reporting</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.vnb.com/20220630/taxonomy/role/Role_DisclosureSegmentReporting</Role>
      <ShortName>Segment Reporting</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>22</Position>
    </Report>
    <Report instance="vabk-20220630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R23.htm</HtmlFileName>
      <LongName>100230 - Disclosure - Summary of Significant Accounting Policies (Policies)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.vnb.com/20220630/taxonomy/role/Role_DisclosureSummaryOfSignificantAccountingPoliciesPolicies</Role>
      <ShortName>Summary of Significant Accounting Policies (Policies)</ShortName>
      <MenuCategory>Policies</MenuCategory>
      <ParentRole>http://www.vnb.com/20220630/taxonomy/role/Role_DisclosureSummaryOfSignificantAccountingPolicies</ParentRole>
      <Position>23</Position>
    </Report>
    <Report instance="vabk-20220630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R24.htm</HtmlFileName>
      <LongName>100240 - Disclosure - Business Combinations (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.vnb.com/20220630/taxonomy/role/Role_DisclosureBusinessCombinationsTables</Role>
      <ShortName>Business Combinations (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.vnb.com/20220630/taxonomy/role/Role_DisclosureBusinessCombinations</ParentRole>
      <Position>24</Position>
    </Report>
    <Report instance="vabk-20220630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R25.htm</HtmlFileName>
      <LongName>100250 - Disclosure - Securities (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.vnb.com/20220630/taxonomy/role/Role_DisclosureSecuritiesTables</Role>
      <ShortName>Securities (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.vnb.com/20220630/taxonomy/role/Role_DisclosureSecurities</ParentRole>
      <Position>25</Position>
    </Report>
    <Report instance="vabk-20220630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R26.htm</HtmlFileName>
      <LongName>100260 - Disclosure - Loans (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.vnb.com/20220630/taxonomy/role/Role_DisclosureLoansTables</Role>
      <ShortName>Loans (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.vnb.com/20220630/taxonomy/role/Role_DisclosureLoans</ParentRole>
      <Position>26</Position>
    </Report>
    <Report instance="vabk-20220630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R27.htm</HtmlFileName>
      <LongName>100270 - Disclosure - Allowance for Loan Losses (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.vnb.com/20220630/taxonomy/role/Role_DisclosureAllowanceForLoanLossesTables</Role>
      <ShortName>Allowance for Loan Losses (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.vnb.com/20220630/taxonomy/role/Role_DisclosureAllowanceForLoanLosses</ParentRole>
      <Position>27</Position>
    </Report>
    <Report instance="vabk-20220630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R28.htm</HtmlFileName>
      <LongName>100280 - Disclosure - Goodwill and Other Intangible Assets (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.vnb.com/20220630/taxonomy/role/Role_DisclosureGoodwillAndOtherIntangibleAssetsTables</Role>
      <ShortName>Goodwill and Other Intangible Assets (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.vnb.com/20220630/taxonomy/role/Role_DisclosureGoodwillAndOtherIntangibleAssets</ParentRole>
      <Position>28</Position>
    </Report>
    <Report instance="vabk-20220630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R29.htm</HtmlFileName>
      <LongName>100290 - Disclosure - Leases (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.vnb.com/20220630/taxonomy/role/Role_DisclosureLeasesTables</Role>
      <ShortName>Leases (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.vnb.com/20220630/taxonomy/role/Role_DisclosureLeases</ParentRole>
      <Position>29</Position>
    </Report>
    <Report instance="vabk-20220630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R30.htm</HtmlFileName>
      <LongName>100300 - Disclosure - Net Income Per Share (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.vnb.com/20220630/taxonomy/role/Role_DisclosureNetIncomePerShareTables</Role>
      <ShortName>Net Income Per Share (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.vnb.com/20220630/taxonomy/role/Role_DisclosureNetIncomePerShare</ParentRole>
      <Position>30</Position>
    </Report>
    <Report instance="vabk-20220630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R31.htm</HtmlFileName>
      <LongName>100310 - Disclosure - Stock Incentive Plans (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.vnb.com/20220630/taxonomy/role/Role_DisclosureStockIncentivePlansTables</Role>
      <ShortName>Stock Incentive Plans (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.vnb.com/20220630/taxonomy/role/Role_DisclosureStockIncentivePlans</ParentRole>
      <Position>31</Position>
    </Report>
    <Report instance="vabk-20220630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R32.htm</HtmlFileName>
      <LongName>100320 - Disclosure - Fair Value Measurements (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.vnb.com/20220630/taxonomy/role/Role_DisclosureFairValueMeasurementsTables</Role>
      <ShortName>Fair Value Measurements (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.vnb.com/20220630/taxonomy/role/Role_DisclosureFairValueMeasurements</ParentRole>
      <Position>32</Position>
    </Report>
    <Report instance="vabk-20220630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R33.htm</HtmlFileName>
      <LongName>100330 - Disclosure - Other Comprehensive Income (Loss) (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.vnb.com/20220630/taxonomy/role/DisclosureOtherComprehensiveIncomeLossTables</Role>
      <ShortName>Other Comprehensive Income (Loss) (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.vnb.com/20220630/taxonomy/role/DisclosureOtherComprehensiveIncomeLoss</ParentRole>
      <Position>33</Position>
    </Report>
    <Report instance="vabk-20220630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R34.htm</HtmlFileName>
      <LongName>100340 - Disclosure - Derivatives Instruments and Hedging Activities (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.vnb.com/20220630/taxonomy/role/DisclosureDerivativesInstrumentsAndHedgingActivitiesTables</Role>
      <ShortName>Derivatives Instruments and Hedging Activities (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.vnb.com/20220630/taxonomy/role/DisclosureDerivativesInstrumentsAndHedgingActivities</ParentRole>
      <Position>34</Position>
    </Report>
    <Report instance="vabk-20220630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R35.htm</HtmlFileName>
      <LongName>100350 - Disclosure - Segment Reporting (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.vnb.com/20220630/taxonomy/role/Role_DisclosureSegmentReportingTables</Role>
      <ShortName>Segment Reporting (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.vnb.com/20220630/taxonomy/role/Role_DisclosureSegmentReporting</ParentRole>
      <Position>35</Position>
    </Report>
    <Report instance="vabk-20220630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R36.htm</HtmlFileName>
      <LongName>100360 - Disclosure - Summary of Significant Accounting Policies - Additional Information (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.vnb.com/20220630/taxonomy/role/Role_DisclosureSummaryOfSignificantAccountingPoliciesAdditionalInformationDetails</Role>
      <ShortName>Summary of Significant Accounting Policies - Additional Information (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>36</Position>
    </Report>
    <Report instance="vabk-20220630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R37.htm</HtmlFileName>
      <LongName>100370 - Disclosure - Business Combinations - Additional Information (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.vnb.com/20220630/taxonomy/role/Role_DisclosureBusinessCombinationsAdditionalInformationDetails</Role>
      <ShortName>Business Combinations - Additional Information (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>37</Position>
    </Report>
    <Report instance="vabk-20220630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R38.htm</HtmlFileName>
      <LongName>100380 - Disclosure - Business Combinations - Summary of Total Consideration Paid in Connection with Merger (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.vnb.com/20220630/taxonomy/role/Role_DisclosureBusinessCombinationsSummaryOfTotalConsiderationPaidInConnectionWithMergerDetails</Role>
      <ShortName>Business Combinations - Summary of Total Consideration Paid in Connection with Merger (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>38</Position>
    </Report>
    <Report instance="vabk-20220630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R39.htm</HtmlFileName>
      <LongName>100390 - Disclosure - Business Combinations - Summary of Information About Purchased Credit Impaired (PCI) Loans (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.vnb.com/20220630/taxonomy/role/Role_DisclosureBusinessCombinationsSummaryOfInformationAboutPurchasedCreditImpairedPCILoansDetails</Role>
      <ShortName>Business Combinations - Summary of Information About Purchased Credit Impaired (PCI) Loans (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>39</Position>
    </Report>
    <Report instance="vabk-20220630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R40.htm</HtmlFileName>
      <LongName>100400 - Disclosure - Securities (Amortized Cost and Fair Values of Securities Available for Sale) (Details))</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.vnb.com/20220630/taxonomy/role/Role_DisclosureSecuritiesAmortizedCostAndFairValuesOfSecuritiesAvailableForSaleDetails</Role>
      <ShortName>Securities (Amortized Cost and Fair Values of Securities Available for Sale) (Details))</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.vnb.com/20220630/taxonomy/role/Role_DisclosureSecuritiesTables</ParentRole>
      <Position>40</Position>
    </Report>
    <Report instance="vabk-20220630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R41.htm</HtmlFileName>
      <LongName>100410 - Disclosure - Securities (Narrative) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.vnb.com/20220630/taxonomy/role/Role_DisclosureSecuritiesNarrativeDetails</Role>
      <ShortName>Securities (Narrative) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.vnb.com/20220630/taxonomy/role/Role_DisclosureSecuritiesTables</ParentRole>
      <Position>41</Position>
    </Report>
    <Report instance="vabk-20220630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R42.htm</HtmlFileName>
      <LongName>100420 - Disclosure - Securities (Schedule of Unrealized Losses) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.vnb.com/20220630/taxonomy/role/Role_DisclosureSecuritiesScheduleOfUnrealizedLossesDetails</Role>
      <ShortName>Securities (Schedule of Unrealized Losses) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.vnb.com/20220630/taxonomy/role/Role_DisclosureSecuritiesTables</ParentRole>
      <Position>42</Position>
    </Report>
    <Report instance="vabk-20220630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R43.htm</HtmlFileName>
      <LongName>100430 - Disclosure - Securities (Schedule of Amortized Cost and Fair Values of Securities Available For Sale Based upon Contractual Maturities and by Major Investment Categories) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.vnb.com/20220630/taxonomy/role/DisclosureSecuritiesScheduleOfAmortizedCostAndFairValuesOfSecuritiesAvailableForSaleBasedUponContractualMaturitiesAndByMajorInvestmentCat</Role>
      <ShortName>Securities (Schedule of Amortized Cost and Fair Values of Securities Available For Sale Based upon Contractual Maturities and by Major Investment Categories) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.vnb.com/20220630/taxonomy/role/Role_DisclosureSecuritiesTables</ParentRole>
      <Position>43</Position>
    </Report>
    <Report instance="vabk-20220630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R44.htm</HtmlFileName>
      <LongName>100440 - Disclosure - Loans (Schedule of Composition of Loan Portfolio by Major Loan Classifications) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.vnb.com/20220630/taxonomy/role/Role_DisclosureLoansScheduleOfCompositionOfLoanPortfolioByMajorLoanClassificationsDetails</Role>
      <ShortName>Loans (Schedule of Composition of Loan Portfolio by Major Loan Classifications) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.vnb.com/20220630/taxonomy/role/Role_DisclosureLoansTables</ParentRole>
      <Position>44</Position>
    </Report>
    <Report instance="vabk-20220630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R45.htm</HtmlFileName>
      <LongName>100450 - Disclosure - Loans (Narrative) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.vnb.com/20220630/taxonomy/role/Role_DisclosureLoansNarrativeDetails</Role>
      <ShortName>Loans (Narrative) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.vnb.com/20220630/taxonomy/role/Role_DisclosureLoansTables</ParentRole>
      <Position>45</Position>
    </Report>
    <Report instance="vabk-20220630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R46.htm</HtmlFileName>
      <LongName>100460 - Disclosure - Loans (Summary of Outstanding Principal Balance and Carrying Amount of Loans Acquired in Business Combination) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.vnb.com/20220630/taxonomy/role/Role_DisclosureLoansSummaryOfOutstandingPrincipalBalanceAndCarryingAmountOfLoansAcquiredInBusinessCombinationDetails</Role>
      <ShortName>Loans (Summary of Outstanding Principal Balance and Carrying Amount of Loans Acquired in Business Combination) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.vnb.com/20220630/taxonomy/role/Role_DisclosureLoansTables</ParentRole>
      <Position>46</Position>
    </Report>
    <Report instance="vabk-20220630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R47.htm</HtmlFileName>
      <LongName>100470 - Disclosure - Loans (Summary of Changes in Accretable Yield of Loans Classified as Purchased Credit Impaired) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.vnb.com/20220630/taxonomy/role/DisclosureLoansSummaryOfChangesInAccretableYieldOfLoansClassifiedAsPurchasedCreditImpairedDetails</Role>
      <ShortName>Loans (Summary of Changes in Accretable Yield of Loans Classified as Purchased Credit Impaired) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.vnb.com/20220630/taxonomy/role/Role_DisclosureLoansTables</ParentRole>
      <Position>47</Position>
    </Report>
    <Report instance="vabk-20220630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R48.htm</HtmlFileName>
      <LongName>100480 - Disclosure - Loans (Impaired Loans by Loan Classification) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.vnb.com/20220630/taxonomy/role/Role_DisclosureLoansImpairedLoansByLoanClassificationDetails</Role>
      <ShortName>Loans (Impaired Loans by Loan Classification) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.vnb.com/20220630/taxonomy/role/Role_DisclosureLoansTables</ParentRole>
      <Position>48</Position>
    </Report>
    <Report instance="vabk-20220630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R49.htm</HtmlFileName>
      <LongName>100490 - Disclosure - Loans (Non-Accrual Loans by Loan Classification) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.vnb.com/20220630/taxonomy/role/Role_DisclosureLoansNonAccrualLoansByLoanClassificationDetails</Role>
      <ShortName>Loans (Non-Accrual Loans by Loan Classification) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.vnb.com/20220630/taxonomy/role/Role_DisclosureLoansTables</ParentRole>
      <Position>49</Position>
    </Report>
    <Report instance="vabk-20220630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R50.htm</HtmlFileName>
      <LongName>100500 - Disclosure - Loans (Schedule of Troubled Debt Restructurings) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.vnb.com/20220630/taxonomy/role/Role_DisclosureLoansScheduleOfTroubledDebtRestructuringsDetails</Role>
      <ShortName>Loans (Schedule of Troubled Debt Restructurings) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.vnb.com/20220630/taxonomy/role/Role_DisclosureLoansTables</ParentRole>
      <Position>50</Position>
    </Report>
    <Report instance="vabk-20220630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R51.htm</HtmlFileName>
      <LongName>100510 - Disclosure - Loans (Schedule of Loans Modified Under the Terms of a TDR) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.vnb.com/20220630/taxonomy/role/Role_DisclosureLoansScheduleOfLoansModifiedUnderTermsOfTDRDetails</Role>
      <ShortName>Loans (Schedule of Loans Modified Under the Terms of a TDR) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.vnb.com/20220630/taxonomy/role/Role_DisclosureLoansTables</ParentRole>
      <Position>51</Position>
    </Report>
    <Report instance="vabk-20220630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R52.htm</HtmlFileName>
      <LongName>100520 - Disclosure - Allowance for Loan Losses (Narrative) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.vnb.com/20220630/taxonomy/role/Role_DisclosureAllowanceForLoanLossesNarrativeDetails</Role>
      <ShortName>Allowance for Loan Losses (Narrative) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.vnb.com/20220630/taxonomy/role/Role_DisclosureAllowanceForLoanLossesTables</ParentRole>
      <Position>52</Position>
    </Report>
    <Report instance="vabk-20220630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R53.htm</HtmlFileName>
      <LongName>100530 - Disclosure - Allowance for Loan Losses (Loan Portfolio Designated by the Internal Risk Ratings Assigned to Each Credit) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.vnb.com/20220630/taxonomy/role/Role_DisclosureAllowanceForLoanLossesLoanPortfolioDesignatedByInternalRiskRatingsAssignedToEachCreditDetails</Role>
      <ShortName>Allowance for Loan Losses (Loan Portfolio Designated by the Internal Risk Ratings Assigned to Each Credit) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.vnb.com/20220630/taxonomy/role/Role_DisclosureAllowanceForLoanLossesTables</ParentRole>
      <Position>53</Position>
    </Report>
    <Report instance="vabk-20220630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R54.htm</HtmlFileName>
      <LongName>100540 - Disclosure - Allowance for Loan Losses (Summary of Transactions in Allowance for Loan Losses by Major Loan Portfolio Segment) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.vnb.com/20220630/taxonomy/role/Role_DisclosureAllowanceForLoanLossesSummaryOfTransactionsInAllowanceForLoanLossesByMajorLoanPortfolioSegmentDetails</Role>
      <ShortName>Allowance for Loan Losses (Summary of Transactions in Allowance for Loan Losses by Major Loan Portfolio Segment) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.vnb.com/20220630/taxonomy/role/Role_DisclosureAllowanceForLoanLossesTables</ParentRole>
      <Position>54</Position>
    </Report>
    <Report instance="vabk-20220630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R55.htm</HtmlFileName>
      <LongName>100550 - Disclosure - Allowance for Loan Losses (Schedule of Aging of Past Due Loans) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.vnb.com/20220630/taxonomy/role/Role_DisclosureAllowanceForLoanLossesScheduleOfAgingOfPastDueLoansDetails</Role>
      <ShortName>Allowance for Loan Losses (Schedule of Aging of Past Due Loans) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.vnb.com/20220630/taxonomy/role/Role_DisclosureAllowanceForLoanLossesTables</ParentRole>
      <Position>55</Position>
    </Report>
    <Report instance="vabk-20220630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R56.htm</HtmlFileName>
      <LongName>100560 - Disclosure - Goodwill and Other Intangible Assets (Narrative) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.vnb.com/20220630/taxonomy/role/Role_DisclosureGoodwillAndOtherIntangibleAssetsNarrativeDetails</Role>
      <ShortName>Goodwill and Other Intangible Assets (Narrative) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.vnb.com/20220630/taxonomy/role/Role_DisclosureGoodwillAndOtherIntangibleAssetsTables</ParentRole>
      <Position>56</Position>
    </Report>
    <Report instance="vabk-20220630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R57.htm</HtmlFileName>
      <LongName>100570 - Disclosure - Goodwill and Other Intangible Assets - Schedule of Gross Carrying Amounts and Accumulated Amortization of Other Intangible Assets (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.vnb.com/20220630/taxonomy/role/Role_DisclosureGoodwillAndOtherIntangibleAssetsScheduleOfGrossCarryingAmountsAndAccumulatedAmortizationOfOtherIntangibleAssetsDetails</Role>
      <ShortName>Goodwill and Other Intangible Assets - Schedule of Gross Carrying Amounts and Accumulated Amortization of Other Intangible Assets (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>57</Position>
    </Report>
    <Report instance="vabk-20220630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R58.htm</HtmlFileName>
      <LongName>100580 - Disclosure - Goodwill and Other Intangible Assets - Schedule of Estimated Future Amortization Expense (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.vnb.com/20220630/taxonomy/role/Role_DisclosureGoodwillAndOtherIntangibleAssetsScheduleOfEstimatedFutureAmortizationExpenseDetails</Role>
      <ShortName>Goodwill and Other Intangible Assets - Schedule of Estimated Future Amortization Expense (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>58</Position>
    </Report>
    <Report instance="vabk-20220630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R59.htm</HtmlFileName>
      <LongName>100590 - Disclosure - Leases (Narrative) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.vnb.com/20220630/taxonomy/role/DisclosureLeasesNarrativeDetails</Role>
      <ShortName>Leases (Narrative) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.vnb.com/20220630/taxonomy/role/Role_DisclosureLeasesTables</ParentRole>
      <Position>59</Position>
    </Report>
    <Report instance="vabk-20220630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R60.htm</HtmlFileName>
      <LongName>100600 - Disclosure - Leases (Schedule of Lease Liability, Right-of-use Asset, Weighted Average Remaining Lease Term and Discount Rate) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.vnb.com/20220630/taxonomy/role/DisclosureLeasesScheduleOfLeaseLiabilityRightofuseAssetWeightedAverageRemainingLeaseTermAndDiscountRateDetails</Role>
      <ShortName>Leases (Schedule of Lease Liability, Right-of-use Asset, Weighted Average Remaining Lease Term and Discount Rate) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.vnb.com/20220630/taxonomy/role/Role_DisclosureLeasesTables</ParentRole>
      <Position>60</Position>
    </Report>
    <Report instance="vabk-20220630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R61.htm</HtmlFileName>
      <LongName>100610 - Disclosure - Leases (Schedule of Operating Lease Expense) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.vnb.com/20220630/taxonomy/role/Role_DisclosureLeasesScheduleOfOperatingLeaseExpenseDetails</Role>
      <ShortName>Leases (Schedule of Operating Lease Expense) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.vnb.com/20220630/taxonomy/role/Role_DisclosureLeasesTables</ParentRole>
      <Position>61</Position>
    </Report>
    <Report instance="vabk-20220630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R62.htm</HtmlFileName>
      <LongName>100620 - Disclosure - Leases (Schedule of Operating Lease Liabilities and Reconciliation of Undiscounted Cash Flows) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.vnb.com/20220630/taxonomy/role/Role_DisclosureLeasesScheduleOfOperatingLeaseLiabilitiesAndReconciliationOfUndiscountedCashFlowsDetails</Role>
      <ShortName>Leases (Schedule of Operating Lease Liabilities and Reconciliation of Undiscounted Cash Flows) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.vnb.com/20220630/taxonomy/role/Role_DisclosureLeasesTables</ParentRole>
      <Position>62</Position>
    </Report>
    <Report instance="vabk-20220630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R63.htm</HtmlFileName>
      <LongName>100630 - Disclosure - Net Income Per Share (Schedule of Weighted Average Number of Shares) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.vnb.com/20220630/taxonomy/role/Role_DisclosureNetIncomePerShareScheduleOfWeightedAverageNumberOfSharesDetails</Role>
      <ShortName>Net Income Per Share (Schedule of Weighted Average Number of Shares) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.vnb.com/20220630/taxonomy/role/Role_DisclosureNetIncomePerShareTables</ParentRole>
      <Position>63</Position>
    </Report>
    <Report instance="vabk-20220630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R64.htm</HtmlFileName>
      <LongName>100640 - Disclosure - Net Income Per Share (Narrative) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.vnb.com/20220630/taxonomy/role/Role_DisclosureNetIncomePerShareNarrativeDetails</Role>
      <ShortName>Net Income Per Share (Narrative) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.vnb.com/20220630/taxonomy/role/Role_DisclosureNetIncomePerShareTables</ParentRole>
      <Position>64</Position>
    </Report>
    <Report instance="vabk-20220630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R65.htm</HtmlFileName>
      <LongName>100650 - Disclosure - Stock Incentive Plans (Plan duration - Narrative) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.vnb.com/20220630/taxonomy/role/Role_DisclosureStockIncentivePlansPlanDurationNarrativeDetails</Role>
      <ShortName>Stock Incentive Plans (Plan duration - Narrative) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.vnb.com/20220630/taxonomy/role/Role_DisclosureStockIncentivePlansTables</ParentRole>
      <Position>65</Position>
    </Report>
    <Report instance="vabk-20220630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R66.htm</HtmlFileName>
      <LongName>100660 - Disclosure - Stock Incentive Plans (Summary of Shares Issued and Available Under Each Plans) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.vnb.com/20220630/taxonomy/role/Role_DisclosureStockIncentivePlansSummaryOfSharesIssuedAndAvailableUnderEachPlansDetails</Role>
      <ShortName>Stock Incentive Plans (Summary of Shares Issued and Available Under Each Plans) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.vnb.com/20220630/taxonomy/role/Role_DisclosureStockIncentivePlansTables</ParentRole>
      <Position>66</Position>
    </Report>
    <Report instance="vabk-20220630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R67.htm</HtmlFileName>
      <LongName>100670 - Disclosure - Stock Incentive Plans (Changes in the Stock Options Outstanding) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.vnb.com/20220630/taxonomy/role/Role_DisclosureStockIncentivePlansChangesInStockOptionsOutstandingDetails</Role>
      <ShortName>Stock Incentive Plans (Changes in the Stock Options Outstanding) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.vnb.com/20220630/taxonomy/role/Role_DisclosureStockIncentivePlansTables</ParentRole>
      <Position>67</Position>
    </Report>
    <Report instance="vabk-20220630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R68.htm</HtmlFileName>
      <LongName>100680 - Disclosure - Stock Incentive Plans (Summary Information Pertaining to Options Outstanding) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.vnb.com/20220630/taxonomy/role/Role_DisclosureStockIncentivePlansSummaryInformationPertainingToOptionsOutstandingDetails</Role>
      <ShortName>Stock Incentive Plans (Summary Information Pertaining to Options Outstanding) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.vnb.com/20220630/taxonomy/role/Role_DisclosureStockIncentivePlansTables</ParentRole>
      <Position>68</Position>
    </Report>
    <Report instance="vabk-20220630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R69.htm</HtmlFileName>
      <LongName>100690 - Disclosure - Stock Incentive Plans (Changes in the Restricted Stock Grants Outstanding) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.vnb.com/20220630/taxonomy/role/Role_DisclosureStockIncentivePlansChangesInRestrictedStockGrantsOutstandingDetails</Role>
      <ShortName>Stock Incentive Plans (Changes in the Restricted Stock Grants Outstanding) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.vnb.com/20220630/taxonomy/role/Role_DisclosureStockIncentivePlansTables</ParentRole>
      <Position>69</Position>
    </Report>
    <Report instance="vabk-20220630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R70.htm</HtmlFileName>
      <LongName>100700 - Disclosure - Fair Value Measurements (Assets Measured at Fair Value on Recurring Basis) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.vnb.com/20220630/taxonomy/role/Role_DisclosureFairValueMeasurementsAssetsMeasuredAtFairValueOnRecurringBasisDetails</Role>
      <ShortName>Fair Value Measurements (Assets Measured at Fair Value on Recurring Basis) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.vnb.com/20220630/taxonomy/role/Role_DisclosureFairValueMeasurementsTables</ParentRole>
      <Position>70</Position>
    </Report>
    <Report instance="vabk-20220630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R71.htm</HtmlFileName>
      <LongName>100710 - Disclosure - Fair Value Measurements (Narrative) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.vnb.com/20220630/taxonomy/role/Role_DisclosureFairValueMeasurementsNarrativeDetails</Role>
      <ShortName>Fair Value Measurements (Narrative) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.vnb.com/20220630/taxonomy/role/Role_DisclosureFairValueMeasurementsTables</ParentRole>
      <Position>71</Position>
    </Report>
    <Report instance="vabk-20220630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R72.htm</HtmlFileName>
      <LongName>100720 - Disclosure - Fair Value Measurements (Assets Measured at Fair Value on a Nonrecurring Basis ) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.vnb.com/20220630/taxonomy/role/Role_DisclosureFairValueMeasurementsAssetsMeasuredAtFairValueOnNonrecurringBasisDetails</Role>
      <ShortName>Fair Value Measurements (Assets Measured at Fair Value on a Nonrecurring Basis ) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.vnb.com/20220630/taxonomy/role/Role_DisclosureFairValueMeasurementsTables</ParentRole>
      <Position>72</Position>
    </Report>
    <Report instance="vabk-20220630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R73.htm</HtmlFileName>
      <LongName>100730 - Disclosure - Fair Value Measurements (Quantitative Information About Level 3 Fair Value Measurements) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.vnb.com/20220630/taxonomy/role/Role_DisclosureFairValueMeasurementsQuantitativeInformationAboutLevel3FairValueMeasurementsDetails</Role>
      <ShortName>Fair Value Measurements (Quantitative Information About Level 3 Fair Value Measurements) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.vnb.com/20220630/taxonomy/role/Role_DisclosureFairValueMeasurementsTables</ParentRole>
      <Position>73</Position>
    </Report>
    <Report instance="vabk-20220630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R74.htm</HtmlFileName>
      <LongName>100740 - Disclosure - Fair Value Measurements (Carrying Values and Estimated Fair Values of Financial Instruments) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.vnb.com/20220630/taxonomy/role/Role_DisclosureFairValueMeasurementsCarryingValuesAndEstimatedFairValuesOfFinancialInstrumentsDetails</Role>
      <ShortName>Fair Value Measurements (Carrying Values and Estimated Fair Values of Financial Instruments) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.vnb.com/20220630/taxonomy/role/Role_DisclosureFairValueMeasurementsTables</ParentRole>
      <Position>74</Position>
    </Report>
    <Report instance="vabk-20220630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R75.htm</HtmlFileName>
      <LongName>100750 - Disclosure - Other Comprehensive Income (Loss) (Narrative) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.vnb.com/20220630/taxonomy/role/DisclosureOtherComprehensiveIncomeLossNarrativeDetails</Role>
      <ShortName>Other Comprehensive Income (Loss) (Narrative) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.vnb.com/20220630/taxonomy/role/DisclosureOtherComprehensiveIncomeLossTables</ParentRole>
      <Position>75</Position>
    </Report>
    <Report instance="vabk-20220630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R76.htm</HtmlFileName>
      <LongName>100770 - Disclosure - Other Comprehensive Income - Schedule of Cumulative Balances of the Components of Accumulated Other Comprehensive Income (Loss), Net of Deferred Taxes (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.vnb.com/20220630/taxonomy/role/Role_DisclosureOtherComprehensiveIncomeScheduleOfCumulativeBalancesOfComponentsOfAccumulatedOtherComprehensiveIncomeLossNetOfDeferredTaxesDetails</Role>
      <ShortName>Other Comprehensive Income - Schedule of Cumulative Balances of the Components of Accumulated Other Comprehensive Income (Loss), Net of Deferred Taxes (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>76</Position>
    </Report>
    <Report instance="vabk-20220630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R77.htm</HtmlFileName>
      <LongName>100780 - Disclosure - Derivative Instruments and Hedging Activities (Narrative) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.vnb.com/20220630/taxonomy/role/DisclosureDerivativeInstrumentsAndHedgingActivitiesNarrativeDetails</Role>
      <ShortName>Derivative Instruments and Hedging Activities (Narrative) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>77</Position>
    </Report>
    <Report instance="vabk-20220630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R78.htm</HtmlFileName>
      <LongName>100790 - Disclosure - Derivative Instruments and Hedging Activities - (Summary of Derivative Instruments) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.vnb.com/20220630/taxonomy/role/DisclosureDerivativeInstrumentsAndHedgingActivitiesSummaryOfDerivativeInstrumentsDetails</Role>
      <ShortName>Derivative Instruments and Hedging Activities - (Summary of Derivative Instruments) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>78</Position>
    </Report>
    <Report instance="vabk-20220630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R79.htm</HtmlFileName>
      <LongName>100800 - Disclosure - Segment Reporting (Narrative) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.vnb.com/20220630/taxonomy/role/Role_DisclosureSegmentReportingNarrativeDetails</Role>
      <ShortName>Segment Reporting (Narrative) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.vnb.com/20220630/taxonomy/role/Role_DisclosureSegmentReportingTables</ParentRole>
      <Position>79</Position>
    </Report>
    <Report instance="vabk-20220630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R80.htm</HtmlFileName>
      <LongName>100810 - Disclosure - Segment Reporting (Schedule of Segment Reporting Information) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.vnb.com/20220630/taxonomy/role/Role_DisclosureSegmentReportingScheduleOfSegmentReportingInformationDetails</Role>
      <ShortName>Segment Reporting (Schedule of Segment Reporting Information) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.vnb.com/20220630/taxonomy/role/Role_DisclosureSegmentReportingTables</ParentRole>
      <Position>80</Position>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <LongName>All Reports</LongName>
      <ReportType>Book</ReportType>
      <ShortName>All Reports</ShortName>
    </Report>
  </MyReports>
  <InputFiles>
    <File doctype="10-Q" original="vabk-20220630.htm">vabk-20220630.htm</File>
    <File>vabk-20220630.xsd</File>
    <File>vabk-20220630_cal.xml</File>
    <File>vabk-20220630_def.xml</File>
    <File>vabk-20220630_lab.xml</File>
    <File>vabk-20220630_pre.xml</File>
    <File>vabk-ex31_1.htm</File>
    <File>vabk-ex31_2.htm</File>
    <File>vabk-ex32_1.htm</File>
  </InputFiles>
  <SupplementalFiles/>
  <BaseTaxonomies>
    <BaseTaxonomy items="1426">http://fasb.org/us-gaap/2022</BaseTaxonomy>
    <BaseTaxonomy items="29">http://xbrl.sec.gov/dei/2022</BaseTaxonomy>
  </BaseTaxonomies>
  <HasPresentationLinkbase>true</HasPresentationLinkbase>
  <HasCalculationLinkbase>true</HasCalculationLinkbase>
</FilingSummary>
