v3.26.1
Net (loss) income per share - Schedule of Antidilutive Securities Excluded From Computation of Earnings Per Share (Detail) - shares
3 Months Ended 6 Months Ended
Jun. 30, 2026
Jun. 30, 2025
Jun. 30, 2026
Jun. 30, 2025
Antidilutive Securities Excluded From Computation Of Earnings Per Share [Line Items]        
Antidilutive securities excluded from computation of earnings per share, amount 6,432,614 5,317,792 6,432,614 5,121,414
Options to purchase common stock [Member]        
Antidilutive Securities Excluded From Computation Of Earnings Per Share [Line Items]        
Antidilutive securities excluded from computation of earnings per share, amount 2,138,459 1,086,761 2,138,459 893,331
Unvested restricted stock [Member]        
Antidilutive Securities Excluded From Computation Of Earnings Per Share [Line Items]        
Antidilutive securities excluded from computation of earnings per share, amount 80,388 17,264 80,388 14,316
Common warrants to purchase common stock [Member]        
Antidilutive Securities Excluded From Computation Of Earnings Per Share [Line Items]        
Antidilutive securities excluded from computation of earnings per share, amount 4,213,767 4,213,767 4,213,767 4,213,767