v3.24.2.u1
Net Loss per Share - Summary of Reconciliation of Denominator Used in Calculation of Basic and Diluted Net Loss Per Share (Detail) - USD ($)
$ / shares in Units, shares in Thousands, $ in Thousands
3 Months Ended 6 Months Ended
Jun. 30, 2024
Mar. 31, 2024
Jun. 30, 2023
Mar. 31, 2023
Jun. 30, 2024
Jun. 30, 2023
Earnings Per Share [Abstract]            
Net loss $ (14,435) $ 5,934 $ (111,803) $ (36,720) $ (8,501) $ (148,523)
Weighted-average common shares outstanding - basic 51,005   49,703   50,847 49,550
Weighted-average common shares, outstanding — diluted 51,005   49,703   50,847 49,550
Net loss per share, basic $ (0.28)   $ (2.25)   $ (0.17) $ (3)
Net loss per share, diluted $ (0.28)   $ (2.25)   $ (0.17) $ (3)