XML 51 R39.htm IDEA: XBRL DOCUMENT
v3.25.3

Common Stock - Equity Offerings (Details) - USD ($) |  |  |  |  |  |  |  | 1 Months Ended | 3 Months Ended | 9 Months Ended |
--- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | ---
Oct. 06, 2025 | Sep. 26, 2025 | Sep. 24, 2025 | Aug. 21, 2025 | Aug. 13, 2025 | Aug. 10, 2022 | Aug. 03, 2021 | Aug. 31, 2025 | Sep. 30, 2025 | Mar. 31, 2025 | Sep. 30, 2024 | Sep. 30, 2025 | Sep. 30, 2024 | Dec. 31, 2024
Class of Stock [Line Items] |  |  |  |  |  |  |  |  |  |  |  |  |  |
Issuance of common stock upon public offering, net of commissions, underwriting discounts and issuance costs |  |  |  |  |  |  |  |  | $ 1,343,379 | $ 13,676,667 | $ 4,237,397 |  |  |
Share unfunded exercise price |  |  |  | $ 0.001 |  |  |  |  |  |  |  |  |  |
Issuance costs |  |  |  |  |  |  |  |  |  |  |  | $ 3,138,911 | $ 0 |
Share Distribution Agrement, Three Months Ended |  |  |  |  |  |  |  |  |  |  |  |  |  |
Class of Stock [Line Items] |  |  |  |  |  |  |  |  |  |  |  |  |  |
Sale of stock (in dollars per share) |  |  |  |  |  |  |  |  | $ 4.27 |  |  | $ 4.27 |  |
Share Distribution Agreement, Nine Months Ended |  |  |  |  |  |  |  |  |  |  |  |  |  |
Class of Stock [Line Items] |  |  |  |  |  |  |  |  |  |  |  |  |  |
Sale of stock (in dollars per share) |  |  |  |  |  |  |  |  | $ 4.27 |  |  | $ 4.27 |  |
Investor |  |  |  |  |  |  |  |  |  |  |  |  |  |
Class of Stock [Line Items] |  |  |  |  |  |  |  |  |  |  |  |  |  |
Sale of stock (in dollars per share) |  |  |  | 3.95 |  |  |  |  |  |  |  |  |  |
Pre Funded Warrants |  |  |  |  |  |  |  |  |  |  |  |  |  |
Class of Stock [Line Items] |  |  |  |  |  |  |  |  |  |  |  |  |  |
Sale of stock (in dollars per share) |  |  |  | $ 3.949 |  |  |  |  |  |  |  |  |  |
Class of warrant or right, outstanding |  |  |  |  |  |  |  |  | 1,077,764 |  |  | 1,077,764 |  |
Pre Funded Warrants | Subsequent Event |  |  |  |  |  |  |  |  |  |  |  |  |  |
Class of Stock [Line Items] |  |  |  |  |  |  |  |  |  |  |  |  |  |
Class of warrant or right, exercise price of warrants or rights | $ 0.001 |  |  |  |  |  |  |  |  |  |  |  |  |
Class of warrant or right, outstanding | 1,077,764 |  |  |  |  |  |  |  |  |  |  |  |  |
Stock issued during period, shares, exercise of warrants, number issued in lieu of cash | 166 |  |  |  |  |  |  |  |  |  |  |  |  |
Stock issued during period shares exercise of warrants | 1,077,598 |  |  |  |  |  |  |  |  |  |  |  |  |
Sandler and Co | Equity Distribution Agreement |  |  |  |  |  |  |  |  |  |  |  |  |  |
Class of Stock [Line Items] |  |  |  |  |  |  |  |  |  |  |  |  |  |
Deferred offering costs |  |  |  |  |  |  |  |  | $ 200,000 |  |  | $ 200,000 |  | $ 500,000
At-the-market offering |  |  |  |  |  |  |  |  |  |  |  |  |  |
Class of Stock [Line Items] |  |  |  |  |  |  |  |  |  |  |  |  |  |
Aggregate gross sales proceeds |  |  |  |  |  |  |  |  |  |  |  | $ 98,749,993 |  |
Percentage on gross proceeds from common stock sold for sales agent commission (as a percent) |  |  |  |  |  | 3.00% |  |  |  |  |  |  |  |
Issuance of common stock upon public offering, net of commissions, underwriting discounts and issuance costs (in shares) |  |  |  |  |  |  |  |  | 327,355 |  | 1,318,752 | 5,164,159 | 1,318,752 |
Sale of stock (in dollars per share) |  |  |  |  |  |  |  |  | $ 3.03 |  | $ 3.38 | $ 3.03 | $ 3.38 |
Issuance of common stock upon public offering, net of commissions, underwriting discounts and issuance costs |  |  |  |  | $ 100,000,000 | $ 50,000,000 |  |  | $ 1,400,000 |  | $ 4,500,000 | $ 15,600,000 | $ 4,500,000 |
Proceeds from issuance of common stock under at-the-market offering, net of issuance costs |  |  |  |  |  |  |  |  | 1,300,000 |  | $ 4,200,000 | 15,020,046 | $ 4,237,397 |
Aggregate gross sales proceeds |  |  |  |  |  |  |  |  | $ 98,700,000 |  |  | $ 98,700,000 |  |
Purchase Warrants |  |  |  |  |  |  |  |  |  |  |  |  |  |
Class of Stock [Line Items] |  |  |  |  |  |  |  |  |  |  |  |  |  |
Issuance of common stock upon public offering, net of commissions, underwriting discounts and issuance costs (in shares) |  |  |  | 2,848,096 |  |  |  |  |  |  |  |  |  |
Class of warrant or right, exercise price of warrants or rights |  |  |  | $ 5.50 |  |  |  |  | $ 5.50 |  |  | $ 5.50 |  |
Issuance costs |  |  |  |  |  |  |  |  |  |  |  | $ 3,700,000 |  |
Class of warrant or right, outstanding |  |  |  |  |  |  |  |  | 2,848,096 |  |  | 2,848,096 |  |
Pre Funded Warrants |  |  |  |  |  |  |  |  |  |  |  |  |  |
Class of Stock [Line Items] |  |  |  |  |  |  |  |  |  |  |  |  |  |
Issuance of common stock upon public offering, net of commissions, underwriting discounts and issuance costs (in shares) |  |  |  | 1,077,764 |  |  |  |  |  |  |  |  |  |
Class of warrant or right, exercise price of warrants or rights |  |  |  |  |  |  |  |  | $ 0.001 |  |  | $ 0.001 |  |
Class of warrant or right, outstanding |  |  |  |  |  |  |  |  | 1,077,764 |  |  | 1,077,764 |  |
Private Placement |  |  |  |  |  |  |  |  |  |  |  |  |  |
Class of Stock [Line Items] |  |  |  |  |  |  |  |  |  |  |  |  |  |
Proceeds from issuance of common stock under at-the-market offering, net of issuance costs |  |  |  |  |  |  |  | $ 23,400,000 |  |  |  |  |  |
Class of warrant or right, exercise price of warrants or rights |  |  |  |  |  |  |  |  | $ 5.50 |  |  | $ 5.50 |  |
Issuance costs |  |  |  |  |  |  |  |  |  |  |  | $ 1,600,000 |  |
Private Placement | Aventis Inc. |  |  |  |  |  |  |  |  |  |  |  |  |  |
Class of Stock [Line Items] |  |  |  |  |  |  |  |  |  |  |  |  |  |
Issuance of common stock upon public offering, net of commissions, underwriting discounts and issuance costs |  |  |  |  |  |  |  |  | $ 23,300,000 |  |  |  |  |
Issuance costs |  |  |  |  |  |  |  |  | $ 200,000 |  |  |  |  |
Private Placement | Sanofi Private Placement | Aventis Inc. |  |  |  |  |  |  |  |  |  |  |  |  |  |
Class of Stock [Line Items] |  |  |  |  |  |  |  |  |  |  |  |  |  |
Issuance of common stock upon public offering, net of commissions, underwriting discounts and issuance costs |  |  | $ 23,300,000 |  |  |  |  |  |  |  |  |  |  |
Issuance costs |  |  | $ 200,000 |  |  |  |  |  |  |  |  |  |  |
Class A Common Stock |  |  |  |  |  |  |  |  |  |  |  |  |  |
Class of Stock [Line Items] |  |  |  |  |  |  |  |  |  |  |  |  |  |
Common stock, par value per share (in dollars per share) |  |  |  |  |  |  |  |  | $ 0.001 |  |  | $ 0.001 |  | $ 0.001
Issuance of common stock upon public offering, net of commissions, underwriting discounts and issuance costs (in shares) |  | 18,959,914 |  | 5,251,349 |  |  | 1,125,000 |  |  |  |  |  |  |
Sale of stock (in dollars per share) |  | $ 9.23 |  |  |  |  |  |  |  |  |  |  |  |
Issuance of common stock upon public offering, net of commissions, underwriting discounts and issuance costs |  | $ 164,100,000 |  |  |  |  |  |  |  |  |  |  |  |
Issuance costs |  | $ 400,000 |  |  |  |  |  |  |  |  |  |  |  |
Class A Common Stock | At-the-market offering |  |  |  |  |  |  |  |  |  |  |  |  |  |
Class of Stock [Line Items] |  |  |  |  |  |  |  |  |  |  |  |  |  |
Common stock, par value per share (in dollars per share) |  |  |  |  |  | $ 0.001 |  |  |  |  |  |  |  |
Aggregate gross sales proceeds |  |  |  |  | 100,000,000 | $ 50,000,000 |  |  |  |  |  |  |  |
Shares sold (in shares) |  |  |  |  |  |  |  |  | 0 |  | 0 | 0 | 0 |
Class A Common Stock | Private Placement | Sanofi Private Placement | Aventis Inc. |  |  |  |  |  |  |  |  |  |  |  |  |  |
Class of Stock [Line Items] |  |  |  |  |  |  |  |  |  |  |  |  |  |
Sale of stock (in dollars per share) |  |  | $ 9.23 |  |  |  |  |  |  |  |  |  |  |
Common Stock |  |  |  |  |  |  |  |  |  |  |  |  |  |
Class of Stock [Line Items] |  |  |  |  |  |  |  |  |  |  |  |  |  |
Issuance of common stock upon public offering, net of commissions, underwriting discounts and issuance costs (in shares) |  |  | 2,708,559 |  |  |  |  |  |  |  |  |  |  |
Maximum |  |  |  |  |  |  |  |  |  |  |  |  |  |
Class of Stock [Line Items] |  |  |  |  |  |  |  |  |  |  |  |  |  |
Aggregate amount |  |  |  |  | $ 300,000,000 | $ 200,000,000 |  |  |  |  |  |  |  |
Date of effective period (in years) |  |  |  |  |  | 3 years |  |  |  |  |  |  |  |

X
- Definition Common Stock Authorized, Aggregate Gross Sales Proceeds Remaining + References No definition available. + Details
Name: | imrx_CommonStockAuthorizedAggregateGrossSalesProceedsRemaining
Namespace Prefix: | imrx_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Equity Offering Combined Aggregate Amount + References No definition available. + Details
Name: | imrx_EquityOfferingCombinedAggregateAmount
Namespace Prefix: | imrx_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Equity Offering Combined Aggregate Date Of Effective Period + References No definition available. + Details
Name: | imrx_EquityOfferingCombinedAggregateDateOfEffectivePeriod
Namespace Prefix: | imrx_
Data Type: | xbrli:durationItemType
Balance Type: | na
Period Type: | duration

X
- Definition Amount of maximum aggregate gross proceeds from equity offering. + References No definition available. + Details
Name: | imrx_MaximumAggregateGrossProceedsFromEquityOffering
Namespace Prefix: | imrx_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition The percentage on gross proceeds from common stock sold for sales agent commission. + References No definition available. + Details
Name: | imrx_PercentageOnGrossProceedsFromCommonStockSoldForSalesAgentCommission
Namespace Prefix: | imrx_
Data Type: | dtr-types:percentItemType
Balance Type: | na
Period Type: | instant

X
- Definition Share Unfunded Exercise Price + References No definition available. + Details
Name: | imrx_ShareUnfundedExercisePrice
Namespace Prefix: | imrx_
Data Type: | dtr-types:perShareItemType
Balance Type: | na
Period Type: | instant

X
- Definition Stock Issued During Period Shares Exercise Of Warrants + References No definition available. + Details
Name: | imrx_StockIssuedDuringPeriodSharesExerciseOfWarrants
Namespace Prefix: | imrx_
Data Type: | xbrli:sharesItemType
Balance Type: | na
Period Type: | duration

X
- Definition Stock Issued During Period, Shares, Exercise Of Warrants, Number Issued In Lieu Of Cash + References No definition available. + Details
Name: | imrx_StockIssuedDuringPeriodSharesExerciseOfWarrantsNumberIssuedInLieuOfCash
Namespace Prefix: | imrx_
Data Type: | xbrli:sharesItemType
Balance Type: | na
Period Type: | duration

X
- Definition Line items represent financial concepts included in a table. These concepts are used to disclose reportable information associated with domain members defined in one or many axes to the table. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Topic 815 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 8A -Publisher FASB -URI https://asc.fasb.org/1943274/2147480434/815-10-50-8A Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Topic 505 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 2 -Publisher FASB -URI https://asc.fasb.org/1943274/2147481112/505-10-50-2 Reference 3: http://www.xbrl.org/2009/role/commonPracticeRef -Topic 235 -SubTopic 10 -Name Accounting Standards Codification -Section S50 -Paragraph 1 -Publisher FASB -URI https://asc.fasb.org/1943274/2147480738/235-10-S50-1 Reference 4: http://www.xbrl.org/2003/role/disclosureRef -Topic 480 -SubTopic 10 -Name Accounting Standards Codification -Section S50 -Paragraph 1 -Publisher FASB -URI https://asc.fasb.org/1943274/2147479857/480-10-S50-1 Reference 5: http://www.xbrl.org/2003/role/exampleRef -Topic 505 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 13 -Subparagraph (d) -Publisher FASB -URI https://asc.fasb.org/1943274/2147481112/505-10-50-13 Reference 6: http://www.xbrl.org/2003/role/recommendedDisclosureRef -Topic 272 -SubTopic 10 -Name Accounting Standards Codification -Section 45 -Paragraph 3 -Publisher FASB -URI https://asc.fasb.org/1943274/2147483014/272-10-45-3 Reference 7: http://www.xbrl.org/2003/role/disclosureRef -Topic 272 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 1 -Publisher FASB -URI https://asc.fasb.org/1943274/2147482987/272-10-50-1 Reference 8: http://www.xbrl.org/2009/role/commonPracticeRef -Topic 235 -SubTopic 10 -Name Accounting Standards Codification -Section S99 -Paragraph 1 -Subparagraph (SX 210.4-08(d)) -Publisher FASB -URI https://asc.fasb.org/1943274/2147480678/235-10-S99-1 Reference 9: http://www.xbrl.org/2003/role/disclosureRef -Topic 505 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 13 -Subparagraph (a) -Publisher FASB -URI https://asc.fasb.org/1943274/2147481112/505-10-50-13 Reference 10: http://www.xbrl.org/2003/role/disclosureRef -Topic 505 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 13 -Subparagraph (b) -Publisher FASB -URI https://asc.fasb.org/1943274/2147481112/505-10-50-13 Reference 11: http://www.xbrl.org/2003/role/disclosureRef -Topic 505 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 13 -Subparagraph (e) -Publisher FASB -URI https://asc.fasb.org/1943274/2147481112/505-10-50-13 Reference 12: http://www.xbrl.org/2003/role/disclosureRef -Topic 505 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 13 -Subparagraph (h) -Publisher FASB -URI https://asc.fasb.org/1943274/2147481112/505-10-50-13 Reference 13: http://www.xbrl.org/2003/role/disclosureRef -Topic 505 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 14 -Subparagraph (b) -Publisher FASB -URI https://asc.fasb.org/1943274/2147481112/505-10-50-14 Reference 14: http://www.xbrl.org/2003/role/disclosureRef -Topic 505 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 18 -Subparagraph (c) -Publisher FASB -URI https://asc.fasb.org/1943274/2147481112/505-10-50-18 Reference 15: http://www.xbrl.org/2003/role/disclosureRef -Topic 210 -SubTopic 10 -Name Accounting Standards Codification -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02(27)(b)) -Publisher FASB -URI https://asc.fasb.org/1943274/2147480566/210-10-S99-1 Reference 16: http://www.xbrl.org/2003/role/disclosureRef -Topic 210 -SubTopic 10 -Name Accounting Standards Codification -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02(28)) -Publisher FASB -URI https://asc.fasb.org/1943274/2147480566/210-10-S99-1 Reference 17: http://www.xbrl.org/2003/role/disclosureRef -Topic 210 -SubTopic 10 -Name Accounting Standards Codification -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02(29)) -Publisher FASB -URI https://asc.fasb.org/1943274/2147480566/210-10-S99-1 Reference 18: http://www.xbrl.org/2003/role/disclosureRef -Topic 946 -SubTopic 10 -Name Accounting Standards Codification -Section S99 -Paragraph 3 -Subparagraph (SX 210.6-03(i)(2)) -Publisher FASB -URI https://asc.fasb.org/1943274/2147479886/946-10-S99-3 Reference 19: http://www.xbrl.org/2003/role/disclosureRef -Topic 946 -SubTopic 10 -Name Accounting Standards Codification -Section S99 -Paragraph 3 -Subparagraph (SX 210.6-03(i)(1)) -Publisher FASB -URI https://asc.fasb.org/1943274/2147479886/946-10-S99-3 Reference 20: http://www.xbrl.org/2003/role/disclosureRef -Topic 946 -SubTopic 10 -Name Accounting Standards Codification -Section S99 -Paragraph 3 -Subparagraph (SX 210.6-03(i)(2)(i)) -Publisher FASB -URI https://asc.fasb.org/1943274/2147479886/946-10-S99-3 Reference 21: http://www.xbrl.org/2003/role/disclosureRef -Topic 946 -SubTopic 10 -Name Accounting Standards Codification -Section S99 -Paragraph 3 -Subparagraph (SX 210.6-03(i)(2)(ii)) -Publisher FASB -URI https://asc.fasb.org/1943274/2147479886/946-10-S99-3 + Details
Name: | us-gaap_ClassOfStockLineItems
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Exercise price per share or per unit of warrants or rights outstanding. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Topic 235 -SubTopic 10 -Name Accounting Standards Codification -Section S50 -Paragraph 1 -Publisher FASB -URI https://asc.fasb.org/1943274/2147480738/235-10-S50-1 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Topic 235 -SubTopic 10 -Name Accounting Standards Codification -Section S99 -Paragraph 1 -Subparagraph (SX 210.4-08(h)(4)) -Publisher FASB -URI https://asc.fasb.org/1943274/2147480678/235-10-S99-1 Reference 3: http://www.xbrl.org/2003/role/disclosureRef -Topic 505 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 3 -Publisher FASB -URI https://asc.fasb.org/1943274/2147481112/505-10-50-3 + Details
Name: | us-gaap_ClassOfWarrantOrRightExercisePriceOfWarrantsOrRights1
Namespace Prefix: | us-gaap_
Data Type: | dtr-types:perShareItemType
Balance Type: | na
Period Type: | instant

X
- Definition Number of warrants or rights outstanding. + References No definition available. + Details
Name: | us-gaap_ClassOfWarrantOrRightOutstanding
Namespace Prefix: | us-gaap_
Data Type: | xbrli:sharesItemType
Balance Type: | na
Period Type: | instant

X
- Definition Face amount or stated value per share of common stock. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Topic 210 -SubTopic 10 -Name Accounting Standards Codification -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02(29)) -Publisher FASB -URI https://asc.fasb.org/1943274/2147480566/210-10-S99-1 + Details
Name: | us-gaap_CommonStockParOrStatedValuePerShare
Namespace Prefix: | us-gaap_
Data Type: | dtr-types:perShareItemType
Balance Type: | na
Period Type: | instant

X
- Definition Specific incremental costs directly attributable to a proposed or actual offering of securities which are deferred at the end of the reporting period. + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Topic 340 -SubTopic 10 -Name Accounting Standards Codification -Section S99 -Paragraph 1 -Subparagraph (SAB Topic 5.A) -Publisher FASB -URI https://asc.fasb.org/1943274/2147480341/340-10-S99-1 + Details
Name: | us-gaap_DeferredOfferingCosts
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition The cash outflow for cost incurred directly with the issuance of an equity security. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Name Accounting Standards Codification -Topic 230 -SubTopic 10 -Section 45 -Paragraph 15 -Publisher FASB -URI https://asc.fasb.org/1943274/2147482740/230-10-45-15 + Details
Name: | us-gaap_PaymentsOfStockIssuanceCosts
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition The cash inflow from the additional capital contribution to the entity. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Name Accounting Standards Codification -Section 45 -Paragraph 14 -Subparagraph (a) -SubTopic 10 -Topic 230 -Publisher FASB -URI https://asc.fasb.org/1943274/2147482740/230-10-45-14 + Details
Name: | us-gaap_ProceedsFromIssuanceOfCommonStock
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition The number of shares issued or sold by the subsidiary or equity method investee per stock transaction. + References No definition available. + Details
Name: | us-gaap_SaleOfStockNumberOfSharesIssuedInTransaction
Namespace Prefix: | us-gaap_
Data Type: | xbrli:sharesItemType
Balance Type: | na
Period Type: | duration

X
- Definition Per share amount received by subsidiary or equity investee for each share of common stock issued or sold in the stock transaction. + References No definition available. + Details
Name: | us-gaap_SaleOfStockPricePerShare
Namespace Prefix: | us-gaap_
Data Type: | dtr-types:perShareItemType
Balance Type: | na
Period Type: | instant

X
- Definition Number of new stock issued during the period. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Name Accounting Standards Codification -Section 50 -Paragraph 2 -SubTopic 10 -Topic 505 -Publisher FASB -URI https://asc.fasb.org/1943274/2147481112/505-10-50-2 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Topic 210 -SubTopic 10 -Name Accounting Standards Codification -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02(28)) -Publisher FASB -URI https://asc.fasb.org/1943274/2147480566/210-10-S99-1 Reference 3: http://fasb.org/us-gaap/role/ref/legacyRef -Topic 210 -SubTopic 10 -Name Accounting Standards Codification -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02(29)) -Publisher FASB -URI https://asc.fasb.org/1943274/2147480566/210-10-S99-1 Reference 4: http://www.xbrl.org/2003/role/disclosureRef -Topic 946 -SubTopic 505 -Name Accounting Standards Codification -Section 50 -Paragraph 2 -Subparagraph (a) -Publisher FASB -URI https://asc.fasb.org/1943274/2147478448/946-505-50-2 Reference 5: http://www.xbrl.org/2003/role/disclosureRef -Topic 946 -SubTopic 220 -Name Accounting Standards Codification -Section S99 -Paragraph 3 -Subparagraph (SX 210.6-09(4)(b)) -Publisher FASB -URI https://asc.fasb.org/1943274/2147479134/946-220-S99-3 Reference 6: http://www.xbrl.org/2003/role/disclosureRef -Topic 946 -SubTopic 10 -Name Accounting Standards Codification -Section S99 -Paragraph 3 -Subparagraph (SX 210.6-03(i)(1)) -Publisher FASB -URI https://asc.fasb.org/1943274/2147479886/946-10-S99-3 Reference 7: http://fasb.org/us-gaap/role/ref/legacyRef -Topic 505 -SubTopic 10 -Name Accounting Standards Codification -Section S99 -Paragraph 1 -Subparagraph (SX 210.3-04) -Publisher FASB -URI https://asc.fasb.org/1943274/2147480008/505-10-S99-1 + Details
Name: | us-gaap_StockIssuedDuringPeriodSharesNewIssues
Namespace Prefix: | us-gaap_
Data Type: | xbrli:sharesItemType
Balance Type: | na
Period Type: | duration

X
- Definition Equity impact of the value of new stock issued during the period. Includes shares issued in an initial public offering or a secondary public offering. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Name Accounting Standards Codification -Section 50 -Paragraph 2 -SubTopic 10 -Topic 505 -Publisher FASB -URI https://asc.fasb.org/1943274/2147481112/505-10-50-2 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Topic 210 -SubTopic 10 -Name Accounting Standards Codification -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02(28)) -Publisher FASB -URI https://asc.fasb.org/1943274/2147480566/210-10-S99-1 Reference 3: http://fasb.org/us-gaap/role/ref/legacyRef -Topic 210 -SubTopic 10 -Name Accounting Standards Codification -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02(29)) -Publisher FASB -URI https://asc.fasb.org/1943274/2147480566/210-10-S99-1 Reference 4: http://www.xbrl.org/2003/role/exampleRef -Topic 946 -SubTopic 830 -Name Accounting Standards Codification -Section 55 -Paragraph 11 -Publisher FASB -URI https://asc.fasb.org/1943274/2147479168/946-830-55-11 Reference 5: http://www.xbrl.org/2003/role/disclosureRef -Topic 946 -SubTopic 205 -Name Accounting Standards Codification -Section 45 -Paragraph 4 -Subparagraph (a) -Publisher FASB -URI https://asc.fasb.org/1943274/2147478009/946-205-45-4 Reference 6: http://www.xbrl.org/2003/role/disclosureRef -Topic 946 -SubTopic 505 -Name Accounting Standards Codification -Section 50 -Paragraph 2 -Subparagraph (a) -Publisher FASB -URI https://asc.fasb.org/1943274/2147478448/946-505-50-2 Reference 7: http://www.xbrl.org/2003/role/disclosureRef -Topic 946 -SubTopic 220 -Name Accounting Standards Codification -Section S99 -Paragraph 3 -Subparagraph (SX 210.6-09(4)(b)) -Publisher FASB -URI https://asc.fasb.org/1943274/2147479134/946-220-S99-3 Reference 8: http://fasb.org/us-gaap/role/ref/legacyRef -Topic 505 -SubTopic 10 -Name Accounting Standards Codification -Section S99 -Paragraph 1 -Subparagraph (SX 210.3-04) -Publisher FASB -URI https://asc.fasb.org/1943274/2147480008/505-10-S99-1 + Details
Name: | us-gaap_StockIssuedDuringPeriodValueNewIssues
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Details
Name: | us-gaap_DistributionsMadeToMemberOrLimitedPartnerByDistributionTypeAxis=imrx_ShareDistributionAgreementThreeMonthsEndedMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_DistributionsMadeToMemberOrLimitedPartnerByDistributionTypeAxis=imrx_ShareDistributionAgreementNineMonthsEndedMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_RelatedPartyTransactionAxis=us-gaap_InvestorMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_ClassOfWarrantOrRightAxis=imrx_PreFundedWarrantsMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_SubsequentEventTypeAxis=us-gaap_SubsequentEventMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | dei_LegalEntityAxis=imrx_SandlerAndCoMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_TypeOfArrangementAxis=imrx_EquityDistributionAgreementMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_SubsidiarySaleOfStockAxis=imrx_AtMarketOfferingMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_SubsidiarySaleOfStockAxis=imrx_PurchaseWarrantsMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_SubsidiarySaleOfStockAxis=imrx_PreFundedWarrantsMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_SubsidiarySaleOfStockAxis=us-gaap_PrivatePlacementMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | srt_CounterpartyNameAxis=imrx_AventisInc.Member
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_TypeOfArrangementAxis=imrx_SanofiPrivatePlacementMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_StatementClassOfStockAxis=us-gaap_CommonClassAMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_StatementClassOfStockAxis=us-gaap_CommonStockMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | srt_RangeAxis=srt_MaximumMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |