Quarterly report pursuant to Section 13 or 15(d)

Net Income (Loss) Per Share

v3.22.2.2
Net Income (Loss) Per Share
9 Months Ended
Sep. 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 September 30, Nine Months Ended September 30,
2022 2021 2022 2021
(in thousands, except per share amounts)
Numerator:
Net income $ 28,408  $ 9,258  $ 93,960  $ 13,793 
Denominator:
Weighted average common shares outstanding—basic 78,436  76,582  77,833  75,795 
Dilutive common stock equivalents 1,624  3,233  2,498  3,253 
Weighted average common shares outstanding—diluted 80,060  79,815  80,331  79,048 
Net income per share:
Basic $ 0.36  $ 0.12  $ 1.21  $ 0.18 
Diluted $ 0.35  $ 0.12  $ 1.17  $ 0.17 
For the three months ended September 30, 2022 and 2021, the Company excluded common stock equivalents for outstanding stock-based awards, which represented potentially dilutive securities of 2.5 million and 0.08 million, respectively, from the calculation of diluted net income per share due to their anti-dilutive nature.
For the nine months ended September 30, 2022 and 2021, the Company excluded common stock equivalents for outstanding stock-based awards, which represented potentially dilutive securities of 1.5 million and 0.07 million, respectively, from the calculation of diluted net income per share due to their anti-dilutive nature.