v3.26.1
Stock-Based Compensation - Narrative (Details) - USD ($)
3 Months Ended 6 Months Ended
May 21, 2024
Jul. 23, 2021
Jun. 30, 2026
Jun. 30, 2025
Jun. 30, 2026
Jun. 30, 2025
Jun. 11, 2026
Dec. 31, 2025
Mar. 20, 2025
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]                  
Vesting period (in years) 13 months                
Granted (in shares)         2,993,621        
Exercise price (in dollars per share)         $ 4.87        
Outstanding options (in shares)     10,964,703   10,964,703     8,250,958  
Stock-based compensation expense $ 600,000   $ 1,627,909 $ 1,524,943 $ 3,264,583 $ 3,217,210      
Grant date weighted average fair value (in dollars per share)         $ 4.87        
Location, Statement of Income, Balance [Axis]: us-gaap:GeneralAndAdministrativeExpense                  
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]                  
Stock-based compensation expense     965,329 914,574 $ 1,931,598 1,873,805      
Location, Statement of Income, Balance [Axis]: us-gaap:ResearchAndDevelopmentExpense                  
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]                  
Stock-based compensation expense     662,580 610,369 1,332,985 1,343,405      
Location, Statement of Income, Balance [Axis]: imrx:GeneralAndAdministrativeAndResearchAndDevelopmentExpense                  
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]                  
Stock-based compensation expense     21,000 78,000 $ 46,000 160,000      
Vested Repriced Option                  
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]                  
Stock-based compensation expense 200,000                
Unvested Repriced Option                  
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]                  
Stock-based compensation expense $ 400,000                
Incentive Plan                  
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]                  
Vesting period (in years)         4 years        
Stock-based compensation expense     1,627,909 $ 1,524,943 $ 3,264,583 $ 3,217,210      
Compensation expense remaining to be recognized     $ 12,146,420   $ 12,146,420        
Compensation expense recognized over a weighted-average period (in years)         2 years 8 months 23 days        
2021 Plan                  
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]                  
Shares reserved for future issuance (in shares)     816,942   816,942        
Exercise price (in dollars per share) $ 3.01                
Outstanding options (in shares) 2,986,354                
2021 Plan | Maximum                  
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]                  
Shares reserved for future issuance (in shares)   2,590,000              
Aggregate number of shares outstanding (as a percent)   4.00%              
2021 Plan | Maximum | Class A Common Stock                  
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]                  
Granted (in shares)   15,350,000              
2021 ESPP | Class A Common Stock                  
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]                  
Shares reserved for future issuance (in shares)   250,000 1,460,190   1,460,190        
Aggregate number of shares outstanding (as a percent)   1.00%              
Granted (in shares)         566,900        
2021 ESPP | Maximum | Class A Common Stock                  
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]                  
Granted (in shares)   3,340,000              
Inducement Award Plan                  
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]                  
Shares reserved for future issuance (in shares)     1,882,000   1,882,000        
Inducement Award Plan | Maximum                  
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]                  
Shares reserved for future issuance (in shares)             2,000,000   500,000