v3.24.2
Net Earnings (Loss) Per Share - Reconciliation of the Numerator and Denominator used in Computing Basic and Diluted Net Earnings (Loss) Per Share (Details) - USD ($)
$ / shares in Units, shares in Thousands, $ in Thousands
3 Months Ended 6 Months Ended
Jun. 30, 2024
Jun. 30, 2023
Jun. 30, 2024
Jun. 30, 2023
Numerator:        
Net income (loss) $ 9,963 $ (8,066) $ 43,307 $ (12,424)
Interest add back 0 0 2,433 0
Net income (loss) attributable to common stock holders $ 9,963 $ (8,066) $ 45,740 $ (12,424)
Denominator:        
Weighted-average shares outstanding - basic 27,889 26,713 27,623 26,499
Weighted-average shares outstanding - diluted 29,422 26,713 31,718 26,499
Net loss per share - basic $ 0.36 $ (0.30) $ 1.57 $ (0.47)
Net loss per share - diluted $ 0.34 $ (0.30) $ 1.44 $ (0.47)
Stock Plans        
Denominator:        
Weighted-average shares outstanding - diluted 1,533   1,506  
2021 Notes        
Denominator:        
Weighted-average shares outstanding - diluted 0   2,589