Quarterly report pursuant to Section 13 or 15(d)

Net Income (Loss) Per Share

v3.24.2
Net Income (Loss) Per Share
6 Months Ended
Jun. 30, 2024
Earnings Per Share [Abstract]  
Net Income (Loss) Per Share Net Income (Loss) Per Share
Basic earnings per share, or EPS, is calculated by dividing net income (loss) by the weighted-average number of common shares outstanding for the period, without consideration for common stock equivalents. Diluted EPS is computed by dividing net income (loss) by the weighted-average number of common shares outstanding for the period and the weighted-average number of dilutive common stock equivalents outstanding for the period determined using the treasury-stock method. For purposes of this calculation, stock options and restricted stock units are considered to be common stock equivalents and are only included in the calculation of diluted EPS when their effect is dilutive. In periods in which the Company has a net loss, dilutive common stock equivalents are excluded from the calculation of diluted EPS.
The table below presents the computation of basic and diluted EPS:
Three Months Ended June 30, Six Months Ended June 30,
2024 2023 2024 2023
(in thousands, except per share amounts)
Numerator:
Net income (loss) $ (39,266) $ (4,351) $ (111,575) $ 5,182 
Denominator:
Weighted average common shares outstanding—basic 83,477  80,446  82,913  79,961 
Dilutive common stock equivalents —  —  —  1,559 
Weighted average common shares outstanding—diluted 83,477  80,446  82,913  81,520 
Net income (loss) per share:
Basic $ (0.47) $ (0.05) $ (1.35) $ 0.06 
Diluted $ (0.47) $ (0.05) $ (1.35) $ 0.06 
For the three months ended June 30, 2024 and 2023, the Company excluded common stock equivalents for outstanding stock-based awards, which represented potentially dilutive securities of 6.0 million and 5.4 million, respectively, from the calculation of diluted net loss per share due to their anti-dilutive nature.
For the six months ended June 30, 2024 and 2023, the Company excluded common stock equivalents for outstanding stock-based awards, which represented potentially dilutive securities of 6.3 million and 3.2 million, respectively, from the calculation of diluted net income (loss) per share due to their anti-dilutive nature.