Quarterly report pursuant to Section 13 or 15(d)

Earnings Per Share

v3.21.2
Earnings Per Share
9 Months Ended
Sep. 30, 2021
Earnings Per Share [Abstract]  
Earnings Per Share Earnings Per Share
The computation of the Company’s basic and diluted net income (loss) per share is as follows (in thousands, except per share amounts):
Three Months Ended September 30, Nine Months Ended September 30,
2021 2020 2021 2020
Numerator:  
Net income (loss) attributable to common stockholders $ 24,129  $ 37,447  $ (40,904) $ (4,074)
Denominator:  
Weighted average shares used to compute net income (loss) per share attributable to common stockholders, basic 206,103  125,003  204,355  121,813 
Weighted average effect of potentially dilutive shares to purchase common stock
6,913  9,545  —  — 
Weighted average shares used to compute net income (loss) per share attributable to common stockholders, diluted 213,016  134,548  204,355  121,813 
Net income (loss) per share attributable to common stockholders
Basic $ 0.12  $ 0.30  $ (0.20) $ (0.03)
Diluted $ 0.11  $ 0.28  $ (0.20) $ (0.03)

The following shares were excluded from the computation of diluted net income (loss) per share as the impact of including those shares would be anti-dilutive (in thousands):
Three Months Ended September 30, Nine Months Ended September 30,
2021 2020 2021 2020
Outstanding stock options 835  82  743  1,532 
Unvested restricted stock units 1,954  196  1,418  1,348 
Convertible senior notes (if converted) 3,392  —  3,041  — 
Total 6,181  278  5,202  2,880