v3.26.1
(Loss) Earnings Per Share - Schedule of Computation of Basic and Diluted Earnings (Loss) Per Share (Details) - USD ($)
$ / shares in Units, shares in Thousands, $ in Thousands
3 Months Ended 6 Months Ended
Jun. 30, 2026
Mar. 31, 2026
Jun. 30, 2025
Mar. 31, 2025
Jun. 30, 2026
Jun. 30, 2025
Numerator:            
Net (loss) income $ (2,060) $ (14,522) $ 4,523 $ (25,848) $ (16,582) $ (21,325)
Denominator:            
Weighted-average common shares outstanding, basic (in shares) 30,399   28,914   30,148 28,763
Assumed exercise of stock options (in shares) 0   361   0 0
Assumed vesting of RSUs (in shares) 0   186   0 0
Assumed vesting of PSUs (in shares) 0   84   0 0
Assumed issuance of shares under the ESPP (in shares) 0   0   0 0
Weighted-average common shares outstanding, diluted (in shares) 30,399   29,545   30,148 28,763
(Loss) earnings per share:            
(Loss) income per share, basic (in dollars per share) $ (0.07)   $ 0.16   $ (0.55) $ (0.74)
(Loss) income per share, diluted (in dollars per share) $ (0.07)   $ 0.15   $ (0.55) $ (0.74)