<?xml version='1.0' encoding='utf-8'?>
<FilingSummary>
  <Version>3.22.0.1</Version>
  <ProcessingTime/>
  <ReportFormat>html</ReportFormat>
  <ContextCount>171</ContextCount>
  <ElementCount>429</ElementCount>
  <EntityCount>1</EntityCount>
  <FootnotesReported>false</FootnotesReported>
  <SegmentCount>61</SegmentCount>
  <ScenarioCount>0</ScenarioCount>
  <TuplesReported>false</TuplesReported>
  <UnitCount>10</UnitCount>
  <MyReports>
    <Report instance="imrx-20211231x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R1.htm</HtmlFileName>
      <LongName>00090 - Document - Document and Entity Information</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://immuneering.com/role/DocumentDocumentAndEntityInformation</Role>
      <ShortName>Document and Entity Information</ShortName>
      <MenuCategory>Cover</MenuCategory>
      <Position>1</Position>
    </Report>
    <Report instance="imrx-20211231x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R2.htm</HtmlFileName>
      <LongName>00100 - Statement - CONSOLIDATED BALANCE SHEETS</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://immuneering.com/role/StatementConsolidatedBalanceSheets</Role>
      <ShortName>CONSOLIDATED BALANCE SHEETS</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>2</Position>
    </Report>
    <Report instance="imrx-20211231x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R3.htm</HtmlFileName>
      <LongName>00105 - Statement - CONSOLIDATED BALANCE SHEETS (Parentheticals)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://immuneering.com/role/StatementConsolidatedBalanceSheetsParentheticals</Role>
      <ShortName>CONSOLIDATED BALANCE SHEETS (Parentheticals)</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>3</Position>
    </Report>
    <Report instance="imrx-20211231x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R4.htm</HtmlFileName>
      <LongName>00200 - Statement - CONSOLIDATED STATEMENTS OF OPERATIONS AND COMPREHENSIVE LOSS</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://immuneering.com/role/StatementConsolidatedStatementsOfOperationsAndComprehensiveLoss</Role>
      <ShortName>CONSOLIDATED STATEMENTS OF OPERATIONS AND COMPREHENSIVE LOSS</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>4</Position>
    </Report>
    <Report instance="imrx-20211231x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R5.htm</HtmlFileName>
      <LongName>00300 - Statement - CONSOLIDATED STATEMENTS OF CONVERTIBLE PREFERRED STOCK AND STOCKHOLDERS' EQUITY (DEFICIT)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://immuneering.com/role/StatementConsolidatedStatementsOfConvertiblePreferredStockAndStockholdersEquityDeficit</Role>
      <ShortName>CONSOLIDATED STATEMENTS OF CONVERTIBLE PREFERRED STOCK AND STOCKHOLDERS' EQUITY (DEFICIT)</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>5</Position>
    </Report>
    <Report instance="imrx-20211231x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R6.htm</HtmlFileName>
      <LongName>00305 - Statement - CONSOLIDATED STATEMENTS OF CONVERTIBLE PREFERRED STOCK AND STOCKHOLDERS' EQUITY (DEFICIT) (Parentheticals)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://immuneering.com/role/StatementConsolidatedStatementsOfConvertiblePreferredStockAndStockholdersEquityDeficitParentheticals</Role>
      <ShortName>CONSOLIDATED STATEMENTS OF CONVERTIBLE PREFERRED STOCK AND STOCKHOLDERS' EQUITY (DEFICIT) (Parentheticals)</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>6</Position>
    </Report>
    <Report instance="imrx-20211231x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R7.htm</HtmlFileName>
      <LongName>00400 - Statement - CONSOLIDATED STATEMENTS OF CASH FLOWS</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://immuneering.com/role/StatementConsolidatedStatementsOfCashFlows</Role>
      <ShortName>CONSOLIDATED STATEMENTS OF CASH FLOWS</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>7</Position>
    </Report>
    <Report instance="imrx-20211231x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R8.htm</HtmlFileName>
      <LongName>10101 - Disclosure - Organization and Nature of Business</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://immuneering.com/role/DisclosureOrganizationAndNatureOfBusiness</Role>
      <ShortName>Organization and Nature of Business</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>8</Position>
    </Report>
    <Report instance="imrx-20211231x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R9.htm</HtmlFileName>
      <LongName>10201 - Disclosure - Summary of Significant Accounting Policies</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://immuneering.com/role/DisclosureSummaryOfSignificantAccountingPolicies</Role>
      <ShortName>Summary of Significant Accounting Policies</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>9</Position>
    </Report>
    <Report instance="imrx-20211231x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R10.htm</HtmlFileName>
      <LongName>10301 - Disclosure - Marketable Securities</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://immuneering.com/role/DisclosureMarketableSecurities</Role>
      <ShortName>Marketable Securities</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>10</Position>
    </Report>
    <Report instance="imrx-20211231x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R11.htm</HtmlFileName>
      <LongName>10401 - Disclosure - Fair Value Measurements</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://immuneering.com/role/DisclosureFairValueMeasurements</Role>
      <ShortName>Fair Value Measurements</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>11</Position>
    </Report>
    <Report instance="imrx-20211231x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R12.htm</HtmlFileName>
      <LongName>10501 - Disclosure - Property and Equipment, net</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://immuneering.com/role/DisclosurePropertyAndEquipmentNet</Role>
      <ShortName>Property and Equipment, net</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>12</Position>
    </Report>
    <Report instance="imrx-20211231x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R13.htm</HtmlFileName>
      <LongName>10601 - Disclosure - Business Combination</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://immuneering.com/role/DisclosureBusinessCombination</Role>
      <ShortName>Business Combination</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>13</Position>
    </Report>
    <Report instance="imrx-20211231x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R14.htm</HtmlFileName>
      <LongName>10701 - Disclosure - Accrued Expenses</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://immuneering.com/role/DisclosureAccruedExpenses</Role>
      <ShortName>Accrued Expenses</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>14</Position>
    </Report>
    <Report instance="imrx-20211231x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R15.htm</HtmlFileName>
      <LongName>10801 - Disclosure - Convertible Preferred Stock</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://immuneering.com/role/DisclosureConvertiblePreferredStock</Role>
      <ShortName>Convertible Preferred Stock</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>15</Position>
    </Report>
    <Report instance="imrx-20211231x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R16.htm</HtmlFileName>
      <LongName>10901 - Disclosure - Common Stock</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://immuneering.com/role/DisclosureCommonStock</Role>
      <ShortName>Common Stock</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>16</Position>
    </Report>
    <Report instance="imrx-20211231x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R17.htm</HtmlFileName>
      <LongName>11001 - Disclosure - Net Loss Per Share Attributable to Common Stockholders</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://immuneering.com/role/DisclosureNetLossPerShareAttributableToCommonStockholders</Role>
      <ShortName>Net Loss Per Share Attributable to Common Stockholders</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>17</Position>
    </Report>
    <Report instance="imrx-20211231x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R18.htm</HtmlFileName>
      <LongName>11101 - Disclosure - Stock-Based Compensation</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://immuneering.com/role/DisclosureStockBasedCompensation</Role>
      <ShortName>Stock-Based Compensation</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>18</Position>
    </Report>
    <Report instance="imrx-20211231x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R19.htm</HtmlFileName>
      <LongName>11201 - Disclosure - Income Taxes</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://immuneering.com/role/DisclosureIncomeTaxes</Role>
      <ShortName>Income Taxes</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>19</Position>
    </Report>
    <Report instance="imrx-20211231x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R20.htm</HtmlFileName>
      <LongName>11301 - Disclosure - Commitments and Contingencies</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://immuneering.com/role/DisclosureCommitmentsAndContingencies</Role>
      <ShortName>Commitments and Contingencies</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>20</Position>
    </Report>
    <Report instance="imrx-20211231x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R21.htm</HtmlFileName>
      <LongName>20202 - Disclosure - Summary of Significant Accounting Policies (Policies)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://immuneering.com/role/DisclosureSummaryOfSignificantAccountingPoliciesPolicies</Role>
      <ShortName>Summary of Significant Accounting Policies (Policies)</ShortName>
      <MenuCategory>Policies</MenuCategory>
      <ParentRole>http://immuneering.com/role/DisclosureSummaryOfSignificantAccountingPolicies</ParentRole>
      <Position>21</Position>
    </Report>
    <Report instance="imrx-20211231x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R22.htm</HtmlFileName>
      <LongName>30203 - Disclosure - Summary of Significant Accounting Policies (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://immuneering.com/role/DisclosureSummaryOfSignificantAccountingPoliciesTables</Role>
      <ShortName>Summary of Significant Accounting Policies (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://immuneering.com/role/DisclosureSummaryOfSignificantAccountingPolicies</ParentRole>
      <Position>22</Position>
    </Report>
    <Report instance="imrx-20211231x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R23.htm</HtmlFileName>
      <LongName>30303 - Disclosure - Marketable Securities (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://immuneering.com/role/DisclosureMarketableSecuritiesTables</Role>
      <ShortName>Marketable Securities (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://immuneering.com/role/DisclosureMarketableSecurities</ParentRole>
      <Position>23</Position>
    </Report>
    <Report instance="imrx-20211231x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R24.htm</HtmlFileName>
      <LongName>30403 - Disclosure - Fair Value Measurements (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://immuneering.com/role/DisclosureFairValueMeasurementsTables</Role>
      <ShortName>Fair Value Measurements (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://immuneering.com/role/DisclosureFairValueMeasurements</ParentRole>
      <Position>24</Position>
    </Report>
    <Report instance="imrx-20211231x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R25.htm</HtmlFileName>
      <LongName>30503 - Disclosure - Property and Equipment, net (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://immuneering.com/role/DisclosurePropertyAndEquipmentNetTables</Role>
      <ShortName>Property and Equipment, net (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://immuneering.com/role/DisclosurePropertyAndEquipmentNet</ParentRole>
      <Position>25</Position>
    </Report>
    <Report instance="imrx-20211231x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R26.htm</HtmlFileName>
      <LongName>30603 - Disclosure - Business Combination (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://immuneering.com/role/DisclosureBusinessCombinationTables</Role>
      <ShortName>Business Combination (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://immuneering.com/role/DisclosureBusinessCombination</ParentRole>
      <Position>26</Position>
    </Report>
    <Report instance="imrx-20211231x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R27.htm</HtmlFileName>
      <LongName>30703 - Disclosure - Accrued Expenses (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://immuneering.com/role/DisclosureAccruedExpensesTables</Role>
      <ShortName>Accrued Expenses (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://immuneering.com/role/DisclosureAccruedExpenses</ParentRole>
      <Position>27</Position>
    </Report>
    <Report instance="imrx-20211231x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R28.htm</HtmlFileName>
      <LongName>30903 - Disclosure - Common Stock (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://immuneering.com/role/DisclosureCommonStockTables</Role>
      <ShortName>Common Stock (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://immuneering.com/role/DisclosureCommonStock</ParentRole>
      <Position>28</Position>
    </Report>
    <Report instance="imrx-20211231x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R29.htm</HtmlFileName>
      <LongName>31003 - Disclosure - Net Loss Per Share Attributable to Common Stockholders (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://immuneering.com/role/DisclosureNetLossPerShareAttributableToCommonStockholdersTables</Role>
      <ShortName>Net Loss Per Share Attributable to Common Stockholders (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://immuneering.com/role/DisclosureNetLossPerShareAttributableToCommonStockholders</ParentRole>
      <Position>29</Position>
    </Report>
    <Report instance="imrx-20211231x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R30.htm</HtmlFileName>
      <LongName>31103 - Disclosure - Stock-Based Compensation (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://immuneering.com/role/DisclosureStockBasedCompensationTables</Role>
      <ShortName>Stock-Based Compensation (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://immuneering.com/role/DisclosureStockBasedCompensation</ParentRole>
      <Position>30</Position>
    </Report>
    <Report instance="imrx-20211231x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R31.htm</HtmlFileName>
      <LongName>31203 - Disclosure - Income Taxes (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://immuneering.com/role/DisclosureIncomeTaxesTables</Role>
      <ShortName>Income Taxes (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://immuneering.com/role/DisclosureIncomeTaxes</ParentRole>
      <Position>31</Position>
    </Report>
    <Report instance="imrx-20211231x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R32.htm</HtmlFileName>
      <LongName>31303 - Disclosure - Commitments and Contingencies (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://immuneering.com/role/DisclosureCommitmentsAndContingenciesTables</Role>
      <ShortName>Commitments and Contingencies (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://immuneering.com/role/DisclosureCommitmentsAndContingencies</ParentRole>
      <Position>32</Position>
    </Report>
    <Report instance="imrx-20211231x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R33.htm</HtmlFileName>
      <LongName>40101 - Disclosure - Organization and Nature of Business (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://immuneering.com/role/DisclosureOrganizationAndNatureOfBusinessDetails</Role>
      <ShortName>Organization and Nature of Business (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://immuneering.com/role/DisclosureOrganizationAndNatureOfBusiness</ParentRole>
      <Position>33</Position>
    </Report>
    <Report instance="imrx-20211231x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R34.htm</HtmlFileName>
      <LongName>40201 - Disclosure - Summary of Significant Accounting Policies - Narrative (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://immuneering.com/role/DisclosureSummaryOfSignificantAccountingPoliciesNarrativeDetails</Role>
      <ShortName>Summary of Significant Accounting Policies - Narrative (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>34</Position>
    </Report>
    <Report instance="imrx-20211231x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R35.htm</HtmlFileName>
      <LongName>40202 - Disclosure - Summary of Significant Accounting Policies - Concentration of Credit Risk (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://immuneering.com/role/DisclosureSummaryOfSignificantAccountingPoliciesConcentrationOfCreditRiskDetails</Role>
      <ShortName>Summary of Significant Accounting Policies - Concentration of Credit Risk (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>35</Position>
    </Report>
    <Report instance="imrx-20211231x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R36.htm</HtmlFileName>
      <LongName>40203 - Disclosure - Summary of Significant Accounting Policies - Property and Equipment (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://immuneering.com/role/DisclosureSummaryOfSignificantAccountingPoliciesPropertyAndEquipmentDetails</Role>
      <ShortName>Summary of Significant Accounting Policies - Property and Equipment (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>36</Position>
    </Report>
    <Report instance="imrx-20211231x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R37.htm</HtmlFileName>
      <LongName>40301 - Disclosure - Marketable Securities (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://immuneering.com/role/DisclosureMarketableSecuritiesDetails</Role>
      <ShortName>Marketable Securities (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://immuneering.com/role/DisclosureMarketableSecuritiesTables</ParentRole>
      <Position>37</Position>
    </Report>
    <Report instance="imrx-20211231x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R38.htm</HtmlFileName>
      <LongName>40401 - Disclosure - Fair Value Measurements (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://immuneering.com/role/DisclosureFairValueMeasurementsDetails</Role>
      <ShortName>Fair Value Measurements (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://immuneering.com/role/DisclosureFairValueMeasurementsTables</ParentRole>
      <Position>38</Position>
    </Report>
    <Report instance="imrx-20211231x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R39.htm</HtmlFileName>
      <LongName>40501 - Disclosure - Property and Equipment, net (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://immuneering.com/role/DisclosurePropertyAndEquipmentNetDetails</Role>
      <ShortName>Property and Equipment, net (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://immuneering.com/role/DisclosurePropertyAndEquipmentNetTables</ParentRole>
      <Position>39</Position>
    </Report>
    <Report instance="imrx-20211231x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R40.htm</HtmlFileName>
      <LongName>40502 - Disclosure - Property and Equipment, net - Depreciation (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://immuneering.com/role/DisclosurePropertyAndEquipmentNetDepreciationDetails</Role>
      <ShortName>Property and Equipment, net - Depreciation (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>40</Position>
    </Report>
    <Report instance="imrx-20211231x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R41.htm</HtmlFileName>
      <LongName>40601 - Disclosure - Business Combination - Narrative (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://immuneering.com/role/DisclosureBusinessCombinationNarrativeDetails</Role>
      <ShortName>Business Combination - Narrative (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>41</Position>
    </Report>
    <Report instance="imrx-20211231x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R42.htm</HtmlFileName>
      <LongName>40602 - Disclosure - Business Combination - Assets Acquired and Liabilities Assumed (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://immuneering.com/role/DisclosureBusinessCombinationAssetsAcquiredAndLiabilitiesAssumedDetails</Role>
      <ShortName>Business Combination - Assets Acquired and Liabilities Assumed (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>42</Position>
    </Report>
    <Report instance="imrx-20211231x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R43.htm</HtmlFileName>
      <LongName>40701 - Disclosure - Accrued Expenses (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://immuneering.com/role/DisclosureAccruedExpensesDetails</Role>
      <ShortName>Accrued Expenses (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://immuneering.com/role/DisclosureAccruedExpensesTables</ParentRole>
      <Position>43</Position>
    </Report>
    <Report instance="imrx-20211231x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R44.htm</HtmlFileName>
      <LongName>40801 - Disclosure - Convertible Preferred Stock - Series A (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://immuneering.com/role/DisclosureConvertiblePreferredStockSeriesDetails</Role>
      <ShortName>Convertible Preferred Stock - Series A (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>44</Position>
    </Report>
    <Report instance="imrx-20211231x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R45.htm</HtmlFileName>
      <LongName>40802 - Disclosure - Convertible Preferred Stock - Series B (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://immuneering.com/role/DisclosureConvertiblePreferredStockSeriesBDetails</Role>
      <ShortName>Convertible Preferred Stock - Series B (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>45</Position>
    </Report>
    <Report instance="imrx-20211231x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R46.htm</HtmlFileName>
      <LongName>40901 - Disclosure - Common Stock - Class A common stock (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://immuneering.com/role/DisclosureCommonStockClassCommonStockDetails</Role>
      <ShortName>Common Stock - Class A common stock (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>46</Position>
    </Report>
    <Report instance="imrx-20211231x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R47.htm</HtmlFileName>
      <LongName>40902 - Disclosure - Common Stock (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://immuneering.com/role/DisclosureCommonStockDetails</Role>
      <ShortName>Common Stock (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://immuneering.com/role/DisclosureCommonStockTables</ParentRole>
      <Position>47</Position>
    </Report>
    <Report instance="imrx-20211231x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R48.htm</HtmlFileName>
      <LongName>40903 - Disclosure - Common Stock - Class B common stock (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://immuneering.com/role/DisclosureCommonStockClassBCommonStockDetails</Role>
      <ShortName>Common Stock - Class B common stock (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>48</Position>
    </Report>
    <Report instance="imrx-20211231x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R49.htm</HtmlFileName>
      <LongName>40904 - Disclosure - Common Stock - Common stock warrant (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://immuneering.com/role/DisclosureCommonStockCommonStockWarrantDetails</Role>
      <ShortName>Common Stock - Common stock warrant (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>49</Position>
    </Report>
    <Report instance="imrx-20211231x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R50.htm</HtmlFileName>
      <LongName>40905 - Disclosure - Common Stock - IPO (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://immuneering.com/role/DisclosureCommonStockIpoDetails</Role>
      <ShortName>Common Stock - IPO (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>50</Position>
    </Report>
    <Report instance="imrx-20211231x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R51.htm</HtmlFileName>
      <LongName>41001 - Disclosure - Net Loss Per Share Attributable to Common Stockholders - Basic and diluted net loss per share attributable to common stockholders (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://immuneering.com/role/DisclosureNetLossPerShareAttributableToCommonStockholdersBasicAndDilutedNetLossPerShareAttributableToCommonStockholdersDetails</Role>
      <ShortName>Net Loss Per Share Attributable to Common Stockholders - Basic and diluted net loss per share attributable to common stockholders (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>51</Position>
    </Report>
    <Report instance="imrx-20211231x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R52.htm</HtmlFileName>
      <LongName>41002 - Disclosure - Net Loss Per Share Attributable to Common Stockholders - Antidilutive effect (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://immuneering.com/role/DisclosureNetLossPerShareAttributableToCommonStockholdersAntidilutiveEffectDetails</Role>
      <ShortName>Net Loss Per Share Attributable to Common Stockholders - Antidilutive effect (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>52</Position>
    </Report>
    <Report instance="imrx-20211231x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R53.htm</HtmlFileName>
      <LongName>41101 - Disclosure - Stock-Based Compensation - Narratives (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://immuneering.com/role/DisclosureStockBasedCompensationNarrativesDetails</Role>
      <ShortName>Stock-Based Compensation - Narratives (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>53</Position>
    </Report>
    <Report instance="imrx-20211231x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R54.htm</HtmlFileName>
      <LongName>41102 - Disclosure - Stock-Based Compensation - Assumptions (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://immuneering.com/role/DisclosureStockBasedCompensationAssumptionsDetails</Role>
      <ShortName>Stock-Based Compensation - Assumptions (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>54</Position>
    </Report>
    <Report instance="imrx-20211231x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R55.htm</HtmlFileName>
      <LongName>41103 - Disclosure - Stock-Based Compensation - stock option activity (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://immuneering.com/role/DisclosureStockBasedCompensationStockOptionActivityDetails</Role>
      <ShortName>Stock-Based Compensation - stock option activity (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>55</Position>
    </Report>
    <Report instance="imrx-20211231x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R56.htm</HtmlFileName>
      <LongName>41104 - Disclosure - Stock-Based Compensation - Share-based compensation expense (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://immuneering.com/role/DisclosureStockBasedCompensationShareBasedCompensationExpenseDetails</Role>
      <ShortName>Stock-Based Compensation - Share-based compensation expense (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>56</Position>
    </Report>
    <Report instance="imrx-20211231x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R57.htm</HtmlFileName>
      <LongName>41201 - Disclosure - Income Taxes - Net loss and the effective income tax rate (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://immuneering.com/role/DisclosureIncomeTaxesNetLossAndEffectiveIncomeTaxRateDetails</Role>
      <ShortName>Income Taxes - Net loss and the effective income tax rate (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>57</Position>
    </Report>
    <Report instance="imrx-20211231x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R58.htm</HtmlFileName>
      <LongName>41202 - Disclosure - Income Taxes - Net deferred tax assets (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://immuneering.com/role/DisclosureIncomeTaxesNetDeferredTaxAssetsDetails</Role>
      <ShortName>Income Taxes - Net deferred tax assets (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>58</Position>
    </Report>
    <Report instance="imrx-20211231x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R59.htm</HtmlFileName>
      <LongName>41203 - Disclosure - Income Taxes - Narrative (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://immuneering.com/role/DisclosureIncomeTaxesNarrativeDetails</Role>
      <ShortName>Income Taxes - Narrative (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>59</Position>
    </Report>
    <Report instance="imrx-20211231x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R60.htm</HtmlFileName>
      <LongName>41204 - Disclosure - Income Taxes - Unrecognized tax benefits (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://immuneering.com/role/DisclosureIncomeTaxesUnrecognizedTaxBenefitsDetails</Role>
      <ShortName>Income Taxes - Unrecognized tax benefits (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>60</Position>
    </Report>
    <Report instance="imrx-20211231x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R61.htm</HtmlFileName>
      <LongName>41301 - Disclosure - Commitments and Contingencies - Narratives (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://immuneering.com/role/DisclosureCommitmentsAndContingenciesNarrativesDetails</Role>
      <ShortName>Commitments and Contingencies - Narratives (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>61</Position>
    </Report>
    <Report instance="imrx-20211231x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R62.htm</HtmlFileName>
      <LongName>41302 - Disclosure - Commitments and Contingencies - Maturities of the lease liabilities due (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://immuneering.com/role/DisclosureCommitmentsAndContingenciesMaturitiesOfLeaseLiabilitiesDueDetails</Role>
      <ShortName>Commitments and Contingencies - Maturities of the lease liabilities due (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>62</Position>
    </Report>
    <Report instance="imrx-20211231x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R63.htm</HtmlFileName>
      <LongName>41303 - Disclosure - Commitments and Contingencies - Lease cost (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://immuneering.com/role/DisclosureCommitmentsAndContingenciesLeaseCostDetails</Role>
      <ShortName>Commitments and Contingencies - Lease cost (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>63</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="imrx-20211231x10k.htm">imrx-20211231x10k.htm</File>
    <File>imrx-20211231.xsd</File>
    <File>imrx-20211231_cal.xml</File>
    <File>imrx-20211231_def.xml</File>
    <File>imrx-20211231_lab.xml</File>
    <File>imrx-20211231_pre.xml</File>
    <File>imrx-20211231xex21d1.htm</File>
    <File>imrx-20211231xex23d1.htm</File>
    <File>imrx-20211231xex31d1.htm</File>
    <File>imrx-20211231xex31d2.htm</File>
    <File>imrx-20211231xex32d1.htm</File>
    <File>imrx-20211231xex32d2.htm</File>
    <File>imrx-20211231xex4d3.htm</File>
  </InputFiles>
  <SupplementalFiles>
    <File>imrx-20211231x10k006.jpg</File>
    <File>imrx-20211231x10k007.jpg</File>
    <File>imrx-20211231x10k008.jpg</File>
    <File>imrx-20211231x10k009.jpg</File>
    <File>imrx-20211231x10k010.jpg</File>
    <File>imrx-20211231x10k011.jpg</File>
    <File>imrx-20211231x10k012.jpg</File>
    <File>imrx-20211231x10k013.jpg</File>
    <File>imrx-20211231x10k014.jpg</File>
    <File>imrx-20211231x10k015.jpg</File>
    <File>imrx-20211231x10k016.jpg</File>
    <File>imrx-20211231x10k017.jpg</File>
    <File>imrx-20211231x10k018.jpg</File>
    <File>imrx-20211231x10k019.jpg</File>
    <File>imrx-20211231x10k020.jpg</File>
    <File>imrx-20211231x10k021.jpg</File>
    <File>imrx-20211231x10k022.jpg</File>
    <File>imrx-20211231x10k023.jpg</File>
    <File>imrx-20211231x10k024.jpg</File>
    <File>imrx-20211231x10k025.jpg</File>
    <File>imrx-20211231x10k026.jpg</File>
    <File>imrx-20211231x10k027.jpg</File>
    <File>imrx-20211231x10k028.jpg</File>
    <File>imrx-20211231x10k029.jpg</File>
    <File>imrx-20211231x10k030.jpg</File>
    <File>imrx-20211231x10k031.jpg</File>
    <File>imrx-20211231x10k032.jpg</File>
    <File>imrx-20211231x10k033.jpg</File>
    <File>imrx-20211231x10k034.jpg</File>
  </SupplementalFiles>
  <BaseTaxonomies>
    <BaseTaxonomy items="609">http://fasb.org/us-gaap/2021-01-31</BaseTaxonomy>
    <BaseTaxonomy items="42">http://xbrl.sec.gov/dei/2021q4</BaseTaxonomy>
  </BaseTaxonomies>
  <HasPresentationLinkbase>true</HasPresentationLinkbase>
  <HasCalculationLinkbase>true</HasCalculationLinkbase>
</FilingSummary>
