Quarterly report pursuant to Section 13 or 15(d)

Net Income (Loss) Per Share

v3.21.2
Net Income (Loss) Per Share
6 Months Ended
Jun. 30, 2021
Earnings Per Share [Abstract]  
Net Income (Loss) Per Share Net Income (Loss) Per ShareBasic 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, common stock options, restricted stock units and restricted stock awards 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,
2021 2020 2021 2020
(in thousands, except per share amounts)
Numerator:
Net income (loss) $ 733  $ (21,807) $ 4,535  $ (37,276)
Denominator:
Weighted average common shares outstanding—basic 75,930  72,740  75,394  72,389 
Dilutive common stock equivalents 3,096  —  3,263  — 
Weighted average common shares outstanding—diluted 79,026  72,740  78,657  72,389 
Net income (loss) per share:
Basic $ 0.01  $ (0.30) $ 0.06  $ (0.51)
Diluted $ 0.01  $ (0.30) $ 0.06  $ (0.51)
For the three and six months ended June 30, 2021 and 2020, the Company excluded common stock equivalents for outstanding stock-based awards, which represented potentially dilutive securities of 0.04 million and 0.1 million for the 2021 periods, respectively, and 2.5 million and 2.9 million for the 2020 periods, respectively, from the calculation of diluted net income (loss) per share due to their anti-dilutive nature.