v3.24.2.u1
Basic and Diluted Net Income (Loss) Per Share - Computation of Potentially Dilutive Securities Outstanding Excluded from Computation of Diluted Shares (Detail) - shares
6 Months Ended
Jun. 30, 2024
Jun. 30, 2023
Antidilutive Securities Excluded from Computation of Earnings Per Share [Line Items]    
Potentially dilutive securities excluded from computation of diluted shares outstanding 9,966,854 6,703,366
Unreleased Restricted Stock and Performance Stock Units [Member]    
Antidilutive Securities Excluded from Computation of Earnings Per Share [Line Items]    
Potentially dilutive securities excluded from computation of diluted shares outstanding 4,833,070 2,591,591
Employee Stock Option [Member]    
Antidilutive Securities Excluded from Computation of Earnings Per Share [Line Items]    
Potentially dilutive securities excluded from computation of diluted shares outstanding 376,634 497,493
Convertible Senior Notes [Member]    
Antidilutive Securities Excluded from Computation of Earnings Per Share [Line Items]    
Potentially dilutive securities excluded from computation of diluted shares outstanding 362,267 1,807,141
Warrants Related to the Issuance of Convertible Senior Notes [Member]    
Antidilutive Securities Excluded from Computation of Earnings Per Share [Line Items]    
Potentially dilutive securities excluded from computation of diluted shares outstanding 1,807,141 1,807,141
Warrants Related to Term Debt [Member]    
Antidilutive Securities Excluded from Computation of Earnings Per Share [Line Items]    
Potentially dilutive securities excluded from computation of diluted shares outstanding 2,587,742