<?xml version='1.0' encoding='utf-8'?>
<FilingSummary>
  <Version>3.22.1</Version>
  <ProcessingTime/>
  <ReportFormat>html</ReportFormat>
  <ContextCount>173</ContextCount>
  <ElementCount>291</ElementCount>
  <EntityCount>1</EntityCount>
  <FootnotesReported>false</FootnotesReported>
  <SegmentCount>62</SegmentCount>
  <ScenarioCount>0</ScenarioCount>
  <TuplesReported>false</TuplesReported>
  <UnitCount>7</UnitCount>
  <MyReports>
    <Report instance="vcnx-10k_20211231.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.vaccinex.com/20211231/taxonomy/role/DocumentDocumentAndEntityInformation</Role>
      <ShortName>Document And Entity Information</ShortName>
      <MenuCategory>Cover</MenuCategory>
      <Position>1</Position>
    </Report>
    <Report instance="vcnx-10k_20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R2.htm</HtmlFileName>
      <LongName>100010 - Statement - Consolidated Balance Sheets</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.vaccinex.com/20211231/taxonomy/role/StatementConsolidatedBalanceSheets</Role>
      <ShortName>Consolidated Balance Sheets</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>2</Position>
    </Report>
    <Report instance="vcnx-10k_20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R3.htm</HtmlFileName>
      <LongName>100020 - Statement - Consolidated Balance Sheets (Parenthetical)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.vaccinex.com/20211231/taxonomy/role/StatementConsolidatedBalanceSheetsParenthetical</Role>
      <ShortName>Consolidated Balance Sheets (Parenthetical)</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>3</Position>
    </Report>
    <Report instance="vcnx-10k_20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R4.htm</HtmlFileName>
      <LongName>100030 - Statement - Consolidated Statements of Operations and Comprehensive Loss</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.vaccinex.com/20211231/taxonomy/role/StatementConsolidatedStatementsOfOperationsAndComprehensiveLoss</Role>
      <ShortName>Consolidated Statements of Operations and Comprehensive Loss</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>4</Position>
    </Report>
    <Report instance="vcnx-10k_20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R5.htm</HtmlFileName>
      <LongName>100040 - Statement - Consolidated Statements of Stockholders' Equity (Deficit)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.vaccinex.com/20211231/taxonomy/role/StatementConsolidatedStatementsOfStockholdersEquityDeficit</Role>
      <ShortName>Consolidated Statements of Stockholders' Equity (Deficit)</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>5</Position>
    </Report>
    <Report instance="vcnx-10k_20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R6.htm</HtmlFileName>
      <LongName>100050 - Statement - Consolidated Statements of Cash Flows</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.vaccinex.com/20211231/taxonomy/role/StatementConsolidatedStatementsOfCashFlows</Role>
      <ShortName>Consolidated Statements of Cash Flows</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>6</Position>
    </Report>
    <Report instance="vcnx-10k_20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R7.htm</HtmlFileName>
      <LongName>100060 - Disclosure - Company and Nature of Business</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.vaccinex.com/20211231/taxonomy/role/DisclosureCompanyAndNatureOfBusiness</Role>
      <ShortName>Company and Nature of Business</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>7</Position>
    </Report>
    <Report instance="vcnx-10k_20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R8.htm</HtmlFileName>
      <LongName>100070 - Disclosure - Summary of Significant Accounting Policies</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.vaccinex.com/20211231/taxonomy/role/DisclosureSummaryOfSignificantAccountingPolicies</Role>
      <ShortName>Summary of Significant Accounting Policies</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>8</Position>
    </Report>
    <Report instance="vcnx-10k_20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R9.htm</HtmlFileName>
      <LongName>100080 - Disclosure - Balance Sheet Components</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.vaccinex.com/20211231/taxonomy/role/DisclosureBalanceSheetComponents</Role>
      <ShortName>Balance Sheet Components</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>9</Position>
    </Report>
    <Report instance="vcnx-10k_20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R10.htm</HtmlFileName>
      <LongName>100090 - Disclosure - Fair Value of Financial Measurements</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.vaccinex.com/20211231/taxonomy/role/DisclosureFairValueOfFinancialMeasurements</Role>
      <ShortName>Fair Value of Financial Measurements</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>10</Position>
    </Report>
    <Report instance="vcnx-10k_20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R11.htm</HtmlFileName>
      <LongName>100100 - Disclosure - License and Services Agreement</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.vaccinex.com/20211231/taxonomy/role/DisclosureLicenseAndServicesAgreement</Role>
      <ShortName>License and Services Agreement</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>11</Position>
    </Report>
    <Report instance="vcnx-10k_20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R12.htm</HtmlFileName>
      <LongName>100110 - Disclosure - Collaboration Agreements</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.vaccinex.com/20211231/taxonomy/role/DisclosureCollaborationAgreements</Role>
      <ShortName>Collaboration Agreements</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>12</Position>
    </Report>
    <Report instance="vcnx-10k_20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R13.htm</HtmlFileName>
      <LongName>100120 - Disclosure - Commitments and Contingencies</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.vaccinex.com/20211231/taxonomy/role/DisclosureCommitmentsAndContingencies</Role>
      <ShortName>Commitments and Contingencies</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>13</Position>
    </Report>
    <Report instance="vcnx-10k_20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R14.htm</HtmlFileName>
      <LongName>100130 - Disclosure - Leases</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.vaccinex.com/20211231/taxonomy/role/DisclosureLeases</Role>
      <ShortName>Leases</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>14</Position>
    </Report>
    <Report instance="vcnx-10k_20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R15.htm</HtmlFileName>
      <LongName>100140 - Disclosure - Long-term Debt</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.vaccinex.com/20211231/taxonomy/role/DisclosureLongTermDebt</Role>
      <ShortName>Long-term Debt</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>15</Position>
    </Report>
    <Report instance="vcnx-10k_20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R16.htm</HtmlFileName>
      <LongName>100150 - Disclosure - Convertible Debenture</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.vaccinex.com/20211231/taxonomy/role/DisclosureConvertibleDebenture</Role>
      <ShortName>Convertible Debenture</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>16</Position>
    </Report>
    <Report instance="vcnx-10k_20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R17.htm</HtmlFileName>
      <LongName>100160 - Disclosure - Common Stock Reserved For Issuance</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.vaccinex.com/20211231/taxonomy/role/DisclosureCommonStockReservedForIssuance</Role>
      <ShortName>Common Stock Reserved For Issuance</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>17</Position>
    </Report>
    <Report instance="vcnx-10k_20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R18.htm</HtmlFileName>
      <LongName>100170 - Disclosure - Stock-Based Compensation</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.vaccinex.com/20211231/taxonomy/role/DisclosureStockBasedCompensation</Role>
      <ShortName>Stock-Based Compensation</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>18</Position>
    </Report>
    <Report instance="vcnx-10k_20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R19.htm</HtmlFileName>
      <LongName>100180 - Disclosure - Income Taxes</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.vaccinex.com/20211231/taxonomy/role/DisclosureIncomeTaxes</Role>
      <ShortName>Income Taxes</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>19</Position>
    </Report>
    <Report instance="vcnx-10k_20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R20.htm</HtmlFileName>
      <LongName>100190 - Disclosure - Net Loss Per Share Attributable to Common Stockholders</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.vaccinex.com/20211231/taxonomy/role/DisclosureNetLossPerShareAttributableToCommonStockholders</Role>
      <ShortName>Net Loss Per Share Attributable to Common Stockholders</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>20</Position>
    </Report>
    <Report instance="vcnx-10k_20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R21.htm</HtmlFileName>
      <LongName>100200 - Disclosure - Employee Benefit Plan</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.vaccinex.com/20211231/taxonomy/role/DisclosureEmployeeBenefitPlan</Role>
      <ShortName>Employee Benefit Plan</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>21</Position>
    </Report>
    <Report instance="vcnx-10k_20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R22.htm</HtmlFileName>
      <LongName>100210 - Disclosure - Related Party Transactions</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.vaccinex.com/20211231/taxonomy/role/DisclosureRelatedPartyTransactions</Role>
      <ShortName>Related Party Transactions</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>22</Position>
    </Report>
    <Report instance="vcnx-10k_20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R23.htm</HtmlFileName>
      <LongName>100220 - Disclosure - Subsequent Event</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.vaccinex.com/20211231/taxonomy/role/DisclosureSubsequentEvent</Role>
      <ShortName>Subsequent Event</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>23</Position>
    </Report>
    <Report instance="vcnx-10k_20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R24.htm</HtmlFileName>
      <LongName>100230 - Disclosure - Summary of Significant Accounting Policies (Policies)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.vaccinex.com/20211231/taxonomy/role/DisclosureSummaryOfSignificantAccountingPoliciesPolicies</Role>
      <ShortName>Summary of Significant Accounting Policies (Policies)</ShortName>
      <MenuCategory>Policies</MenuCategory>
      <ParentRole>http://www.vaccinex.com/20211231/taxonomy/role/DisclosureSummaryOfSignificantAccountingPolicies</ParentRole>
      <Position>24</Position>
    </Report>
    <Report instance="vcnx-10k_20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R25.htm</HtmlFileName>
      <LongName>100240 - Disclosure - Summary of Significant Accounting Policies (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.vaccinex.com/20211231/taxonomy/role/DisclosureSummaryOfSignificantAccountingPoliciesTables</Role>
      <ShortName>Summary of Significant Accounting Policies (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.vaccinex.com/20211231/taxonomy/role/DisclosureSummaryOfSignificantAccountingPolicies</ParentRole>
      <Position>25</Position>
    </Report>
    <Report instance="vcnx-10k_20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R26.htm</HtmlFileName>
      <LongName>100250 - Disclosure - Balance Sheet Components (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.vaccinex.com/20211231/taxonomy/role/DisclosureBalanceSheetComponentsTables</Role>
      <ShortName>Balance Sheet Components (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.vaccinex.com/20211231/taxonomy/role/DisclosureBalanceSheetComponents</ParentRole>
      <Position>26</Position>
    </Report>
    <Report instance="vcnx-10k_20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R27.htm</HtmlFileName>
      <LongName>100260 - Disclosure - Fair Value of Financial Measurements (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.vaccinex.com/20211231/taxonomy/role/DisclosureFairValueOfFinancialMeasurementsTables</Role>
      <ShortName>Fair Value of Financial Measurements (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.vaccinex.com/20211231/taxonomy/role/DisclosureFairValueOfFinancialMeasurements</ParentRole>
      <Position>27</Position>
    </Report>
    <Report instance="vcnx-10k_20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R28.htm</HtmlFileName>
      <LongName>100270 - Disclosure - Convertible Debenture (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.vaccinex.com/20211231/taxonomy/role/DisclosureConvertibleDebentureTables</Role>
      <ShortName>Convertible Debenture (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.vaccinex.com/20211231/taxonomy/role/DisclosureConvertibleDebenture</ParentRole>
      <Position>28</Position>
    </Report>
    <Report instance="vcnx-10k_20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R29.htm</HtmlFileName>
      <LongName>100280 - Disclosure - Common Stock Reserved For Issuance (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.vaccinex.com/20211231/taxonomy/role/DisclosureCommonStockReservedForIssuanceTables</Role>
      <ShortName>Common Stock Reserved For Issuance (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.vaccinex.com/20211231/taxonomy/role/DisclosureCommonStockReservedForIssuance</ParentRole>
      <Position>29</Position>
    </Report>
    <Report instance="vcnx-10k_20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R30.htm</HtmlFileName>
      <LongName>100290 - Disclosure - Stock-Based Compensation (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.vaccinex.com/20211231/taxonomy/role/DisclosureStockBasedCompensationTables</Role>
      <ShortName>Stock-Based Compensation (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.vaccinex.com/20211231/taxonomy/role/DisclosureStockBasedCompensation</ParentRole>
      <Position>30</Position>
    </Report>
    <Report instance="vcnx-10k_20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R31.htm</HtmlFileName>
      <LongName>100300 - Disclosure - Income Tax (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.vaccinex.com/20211231/taxonomy/role/DisclosureIncomeTaxTables</Role>
      <ShortName>Income Tax (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.vaccinex.com/20211231/taxonomy/role/DisclosureIncomeTaxes</ParentRole>
      <Position>31</Position>
    </Report>
    <Report instance="vcnx-10k_20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R32.htm</HtmlFileName>
      <LongName>100310 - Disclosure - Net Loss Per Share Attributable to Common Stockholders (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.vaccinex.com/20211231/taxonomy/role/DisclosureNetLossPerShareAttributableToCommonStockholdersTables</Role>
      <ShortName>Net Loss Per Share Attributable to Common Stockholders (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.vaccinex.com/20211231/taxonomy/role/DisclosureNetLossPerShareAttributableToCommonStockholders</ParentRole>
      <Position>32</Position>
    </Report>
    <Report instance="vcnx-10k_20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R33.htm</HtmlFileName>
      <LongName>100320 - Disclosure - Company and Nature of Business - Additional Information (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.vaccinex.com/20211231/taxonomy/role/DisclosureCompanyAndNatureOfBusinessAdditionalInformationDetails</Role>
      <ShortName>Company and Nature of Business - Additional Information (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>33</Position>
    </Report>
    <Report instance="vcnx-10k_20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R34.htm</HtmlFileName>
      <LongName>100330 - Disclosure - Summary of Significant Accounting Policies - Additional Information (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.vaccinex.com/20211231/taxonomy/role/DisclosureSummaryOfSignificantAccountingPoliciesAdditionalInformationDetails</Role>
      <ShortName>Summary of Significant Accounting Policies - Additional Information (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>34</Position>
    </Report>
    <Report instance="vcnx-10k_20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R35.htm</HtmlFileName>
      <LongName>100340 - Disclosure - Summary of Significant Accounting Policies - Summary of Estimated Useful Lives for Property and Equipment (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.vaccinex.com/20211231/taxonomy/role/DisclosureSummaryOfSignificantAccountingPoliciesSummaryOfEstimatedUsefulLivesForPropertyAndEquipmentDetail</Role>
      <ShortName>Summary of Significant Accounting Policies - Summary of Estimated Useful Lives for Property and Equipment (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>35</Position>
    </Report>
    <Report instance="vcnx-10k_20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R36.htm</HtmlFileName>
      <LongName>100350 - Disclosure - Balance Sheet Components - Property and Equipment (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.vaccinex.com/20211231/taxonomy/role/DisclosureBalanceSheetComponentsPropertyAndEquipmentDetails</Role>
      <ShortName>Balance Sheet Components - Property and Equipment (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>36</Position>
    </Report>
    <Report instance="vcnx-10k_20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R37.htm</HtmlFileName>
      <LongName>100360 - Disclosure - Balance Sheet Components - Additional Information (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.vaccinex.com/20211231/taxonomy/role/DisclosureBalanceSheetComponentsAdditionalInformationDetails</Role>
      <ShortName>Balance Sheet Components - Additional Information (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>37</Position>
    </Report>
    <Report instance="vcnx-10k_20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R38.htm</HtmlFileName>
      <LongName>100370 - Disclosure - Balance Sheet Components - Schedule of Accrued Expenses (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.vaccinex.com/20211231/taxonomy/role/DisclosureBalanceSheetComponentsScheduleOfAccruedExpensesDetails</Role>
      <ShortName>Balance Sheet Components - Schedule of Accrued Expenses (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>38</Position>
    </Report>
    <Report instance="vcnx-10k_20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R39.htm</HtmlFileName>
      <LongName>100380 - Disclosure - Fair Value of Financial Measurements - Summary of Fair Value of Financial Assets by Level within Fair Value Hierarchy (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.vaccinex.com/20211231/taxonomy/role/DisclosureFairValueOfFinancialMeasurementsSummaryOfFairValueOfFinancialAssetsByLevelWithinFairValueHierarchyDetails</Role>
      <ShortName>Fair Value of Financial Measurements - Summary of Fair Value of Financial Assets by Level within Fair Value Hierarchy (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>39</Position>
    </Report>
    <Report instance="vcnx-10k_20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R40.htm</HtmlFileName>
      <LongName>100390 - Disclosure - Fair Value of Financial Measurements - Additional Information (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.vaccinex.com/20211231/taxonomy/role/DisclosureFairValueOfFinancialMeasurementsAdditionalInformationDetails</Role>
      <ShortName>Fair Value of Financial Measurements - Additional Information (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>40</Position>
    </Report>
    <Report instance="vcnx-10k_20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R41.htm</HtmlFileName>
      <LongName>100400 - Disclosure - License and Services Agreement - Additional Information (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.vaccinex.com/20211231/taxonomy/role/DisclosureLicenseAndServicesAgreementAdditionalInformationDetails</Role>
      <ShortName>License and Services Agreement - Additional Information (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>41</Position>
    </Report>
    <Report instance="vcnx-10k_20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R42.htm</HtmlFileName>
      <LongName>100410 - Disclosure - Collaboration Agreements - Additional Information (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.vaccinex.com/20211231/taxonomy/role/DisclosureCollaborationAgreementsAdditionalInformationDetails</Role>
      <ShortName>Collaboration Agreements - Additional Information (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>42</Position>
    </Report>
    <Report instance="vcnx-10k_20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R43.htm</HtmlFileName>
      <LongName>100420 - Disclosure - Commitments and Contingencies - Additional Information (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.vaccinex.com/20211231/taxonomy/role/DisclosureCommitmentsAndContingenciesAdditionalInformationDetails</Role>
      <ShortName>Commitments and Contingencies - Additional Information (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>43</Position>
    </Report>
    <Report instance="vcnx-10k_20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R44.htm</HtmlFileName>
      <LongName>100430 - Disclosure - Leases - Additional Information (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.vaccinex.com/20211231/taxonomy/role/DisclosureLeasesAdditionalInformationDetails</Role>
      <ShortName>Leases - Additional Information (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>44</Position>
    </Report>
    <Report instance="vcnx-10k_20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R45.htm</HtmlFileName>
      <LongName>100440 - Disclosure - Long-term Debt - Additional Information (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.vaccinex.com/20211231/taxonomy/role/DisclosureLongTermDebtAdditionalInformationDetails</Role>
      <ShortName>Long-term Debt - Additional Information (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>45</Position>
    </Report>
    <Report instance="vcnx-10k_20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R46.htm</HtmlFileName>
      <LongName>100450 - Disclosure - Convertible Debenture - Schedule of Senior Secured Convertible Debt (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.vaccinex.com/20211231/taxonomy/role/DisclosureConvertibleDebentureScheduleOfSeniorSecuredConvertibleDebtDetails</Role>
      <ShortName>Convertible Debenture - Schedule of Senior Secured Convertible Debt (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>46</Position>
    </Report>
    <Report instance="vcnx-10k_20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R47.htm</HtmlFileName>
      <LongName>100460 - Disclosure - Convertible Debenture - Additional Information (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.vaccinex.com/20211231/taxonomy/role/DisclosureConvertibleDebentureAdditionalInformationDetails</Role>
      <ShortName>Convertible Debenture - Additional Information (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>47</Position>
    </Report>
    <Report instance="vcnx-10k_20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R48.htm</HtmlFileName>
      <LongName>100470 - Disclosure - Common Stock Reserved For Issuance - Common Stock Reserved For Potential Future Issuances (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.vaccinex.com/20211231/taxonomy/role/DisclosureCommonStockReservedForIssuanceCommonStockReservedForPotentialFutureIssuancesDetails</Role>
      <ShortName>Common Stock Reserved For Issuance - Common Stock Reserved For Potential Future Issuances (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>48</Position>
    </Report>
    <Report instance="vcnx-10k_20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R49.htm</HtmlFileName>
      <LongName>100480 - Disclosure - Common Stock Reserved For Issuance - Additional Information (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.vaccinex.com/20211231/taxonomy/role/DisclosureCommonStockReservedForIssuanceAdditionalInformationDetails</Role>
      <ShortName>Common Stock Reserved For Issuance - Additional Information (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>49</Position>
    </Report>
    <Report instance="vcnx-10k_20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R50.htm</HtmlFileName>
      <LongName>100490 - Disclosure - Stock-Based Compensation - Additional Information (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.vaccinex.com/20211231/taxonomy/role/DisclosureStockBasedCompensationAdditionalInformationDetails</Role>
      <ShortName>Stock-Based Compensation - Additional Information (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>50</Position>
    </Report>
    <Report instance="vcnx-10k_20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R51.htm</HtmlFileName>
      <LongName>100500 - Disclosure - Stock-Based Compensation - Summary of Stock Option Activity and Related Information (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.vaccinex.com/20211231/taxonomy/role/DisclosureStockBasedCompensationSummaryOfStockOptionActivityAndRelatedInformationDetails</Role>
      <ShortName>Stock-Based Compensation - Summary of Stock Option Activity and Related Information (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>51</Position>
    </Report>
    <Report instance="vcnx-10k_20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R52.htm</HtmlFileName>
      <LongName>100510 - Disclosure - Stock-Based Compensation - Grant Date Fair Value of Employee Stock Options Estimated Using Black-Scholes Option-Pricing Model with Weighted-Average Assumptions (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.vaccinex.com/20211231/taxonomy/role/DisclosureStockBasedCompensationGrantDateFairValueOfEmployeeStockOptionsEstimatedUsingBlackScholesOptionPricingModelWithWeightedAverageAssumptionsDetails</Role>
      <ShortName>Stock-Based Compensation - Grant Date Fair Value of Employee Stock Options Estimated Using Black-Scholes Option-Pricing Model with Weighted-Average Assumptions (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>52</Position>
    </Report>
    <Report instance="vcnx-10k_20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R53.htm</HtmlFileName>
      <LongName>100520 - Disclosure - Stock-Based Compensation - Total Stock-Based Compensation Expense Recognized in Condensed Consolidated Statements of Operations and Comprehensive Loss (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.vaccinex.com/20211231/taxonomy/role/DisclosureStockBasedCompensationTotalStockBasedCompensationExpenseRecognizedInCondensedConsolidatedStatementsOfOperationsAndComprehensiveLossDetails</Role>
      <ShortName>Stock-Based Compensation - Total Stock-Based Compensation Expense Recognized in Condensed Consolidated Statements of Operations and Comprehensive Loss (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>53</Position>
    </Report>
    <Report instance="vcnx-10k_20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R54.htm</HtmlFileName>
      <LongName>100530 - Disclosure - Income Taxes - Additional Information (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.vaccinex.com/20211231/taxonomy/role/DisclosureIncomeTaxesAdditionalInformationDetails</Role>
      <ShortName>Income Taxes - Additional Information (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>54</Position>
    </Report>
    <Report instance="vcnx-10k_20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R55.htm</HtmlFileName>
      <LongName>100540 - Disclosure - Income Taxes - Schedule of Effective Income Tax Rate Reconciliation (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.vaccinex.com/20211231/taxonomy/role/DisclosureIncomeTaxesScheduleOfEffectiveIncomeTaxRateReconciliationDetails</Role>
      <ShortName>Income Taxes - Schedule of Effective Income Tax Rate Reconciliation (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>55</Position>
    </Report>
    <Report instance="vcnx-10k_20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R56.htm</HtmlFileName>
      <LongName>100550 - Disclosure - Income Taxes - Schedule of Deferred Tax Assets and Liabilities (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.vaccinex.com/20211231/taxonomy/role/DisclosureIncomeTaxesScheduleOfDeferredTaxAssetsAndLiabilitiesDetails</Role>
      <ShortName>Income Taxes - Schedule of Deferred Tax Assets and Liabilities (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>56</Position>
    </Report>
    <Report instance="vcnx-10k_20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R57.htm</HtmlFileName>
      <LongName>100560 - Disclosure - Net Loss Per Share Attributable to Common Stockholders - Weighted-Average Common Stock Equivalents Excluded from Calculation of Diluted Net Loss Per Share as They Had Anti-Dilutive Effect (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.vaccinex.com/20211231/taxonomy/role/DisclosureNetLossPerShareAttributableToCommonStockholdersWeightedAverageCommonStockEquivalentsExcludedFromCalculationOfDilutedNetLossPerShareAsTheyHadAntiDilutiveEffectDetails</Role>
      <ShortName>Net Loss Per Share Attributable to Common Stockholders - Weighted-Average Common Stock Equivalents Excluded from Calculation of Diluted Net Loss Per Share as They Had Anti-Dilutive Effect (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>57</Position>
    </Report>
    <Report instance="vcnx-10k_20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R58.htm</HtmlFileName>
      <LongName>100570 - Disclosure - Employee Benefit Plan - Additional Information (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.vaccinex.com/20211231/taxonomy/role/DisclosureEmployeeBenefitPlanAdditionalInformationDetails</Role>
      <ShortName>Employee Benefit Plan - Additional Information (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>58</Position>
    </Report>
    <Report instance="vcnx-10k_20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R59.htm</HtmlFileName>
      <LongName>100580 - Disclosure - Related Party Transactions - Additional Information (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.vaccinex.com/20211231/taxonomy/role/DisclosureRelatedPartyTransactionsAdditionalInformationDetails</Role>
      <ShortName>Related Party Transactions - Additional Information (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>59</Position>
    </Report>
    <Report instance="vcnx-10k_20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R60.htm</HtmlFileName>
      <LongName>100590 - Disclosure - Subsequent Event - Additional Information (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.vaccinex.com/20211231/taxonomy/role/DisclosureSubsequentEventAdditionalInformationDetails</Role>
      <ShortName>Subsequent Event - Additional Information (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>60</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-K" original="vcnx-10k_20211231.htm">vcnx-10k_20211231.htm</File>
    <File>vcnx-20211231.xsd</File>
    <File>vcnx-20211231_cal.xml</File>
    <File>vcnx-20211231_def.xml</File>
    <File>vcnx-20211231_lab.xml</File>
    <File>vcnx-20211231_pre.xml</File>
    <File>vcnx-ex231_936.htm</File>
    <File>vcnx-ex311_340.htm</File>
    <File>vcnx-ex312_339.htm</File>
    <File>vcnx-ex321_338.htm</File>
  </InputFiles>
  <SupplementalFiles>
    <File>gjry1qk3mthk000001.jpg</File>
    <File>gjry1qk3mthk000002.jpg</File>
    <File>gjry1qk3mthk000003.jpg</File>
    <File>gjry1qk3mthk000004.jpg</File>
    <File>gjry1qk3mthk000005.jpg</File>
    <File>gjry1qk3mthk000006.jpg</File>
    <File>gjry1qk3mthk000007.jpg</File>
    <File>gjry1qk3mthk000008.jpg</File>
    <File>gjry1qk3mthk000009.jpg</File>
    <File>gjry1qk3mthk000010.jpg</File>
    <File>gjry1qk3mthk000011.jpg</File>
    <File>gjry1qk3mthk000012.jpg</File>
    <File>gjry1qk3mthk000013.jpg</File>
    <File>gjry1qk3mthk000014.jpg</File>
    <File>gjry1qk3mthk000015.jpg</File>
    <File>gjry1qk3mthk000016.jpg</File>
    <File>gjry1qk3mthk000017.jpg</File>
    <File>gjry1qk3mthk000018.jpg</File>
    <File>gjry1qk3mthk000019.jpg</File>
    <File>gjry1qk3mthk000020.jpg</File>
    <File>gjry1qk3mthk000021.jpg</File>
    <File>gjry1qk3mthk000022.jpg</File>
  </SupplementalFiles>
  <BaseTaxonomies>
    <BaseTaxonomy items="506">http://fasb.org/us-gaap/2021-01-31</BaseTaxonomy>
    <BaseTaxonomy items="37">http://xbrl.sec.gov/dei/2021q4</BaseTaxonomy>
  </BaseTaxonomies>
  <HasPresentationLinkbase>true</HasPresentationLinkbase>
  <HasCalculationLinkbase>true</HasCalculationLinkbase>
</FilingSummary>
