Annual report pursuant to Section 13 and 15(d)

Net Income (Loss) Per Share

v3.22.0.1
Net Income (Loss) Per Share
12 Months Ended
Dec. 31, 2021
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, 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:
Year Ended December 31,
2021 2020 2019
(in thousands, except per share amounts)
Numerator:
Net income (loss) $ 41,969  $ (98,593) $ (19,898)
Denominator:
Weighted average common shares outstanding—basic 76,037  73,133  71,005 
Dilutive common stock equivalents 3,642  —  — 
Weighted average common shares outstanding—diluted 79,679  73,133  71,005 
Net income (loss) per share:
Basic $ 0.55  $ (1.35) $ (0.28)
Diluted $ 0.53  $ (1.35) $ (0.28)
For each of the years ended December 31, 2021, 2020, and 2019, the Company excluded common stock equivalents for outstanding stock-based awards, which represented potentially dilutive securities of 0.07 million for 2021, 3.2 million for 2020 periods, and 2.5 million for 2019 from the calculation of diluted net income (loss) per share due to their anti-dilutive nature.