Quarterly report pursuant to Section 13 or 15(d)

Net Income (Loss) Per Share

v3.22.2
Net Income (Loss) Per Share
6 Months Ended
Jun. 30, 2022
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,
2022 2021 2022 2021
(in thousands, except per share amounts)
Numerator:
Net income $ 31,966  $ 733  $ 65,552  $ 4,535 
Denominator:
Weighted average common shares outstanding—basic 77,858  75,930  77,527  75,394 
Dilutive common stock equivalents 2,421  3,096  2,935  3,263 
Weighted average common shares outstanding—diluted 80,279  79,026  80,462  78,657 
Net income per share:
Basic $ 0.41  $ 0.01  $ 0.85  $ 0.06 
Diluted $ 0.40  $ 0.01  $ 0.81  $ 0.06 
For the three months ended June 30, 2022 and 2021, the Company excluded common stock equivalents for outstanding stock-based awards, which represented potentially dilutive securities of 1.0 million and 0.04 million, respectively, from the calculation of diluted net income per share due to their anti-dilutive nature.
For the six months ended June 30, 2022 and 2021, the Company excluded common stock equivalents for outstanding stock-based awards, which represented potentially dilutive securities of 1.0 million and 0.1 million, respectively, from the calculation of diluted net income per share due to their anti-dilutive nature.