| 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, | | | 2022 | | 2021 | | 2022 | | 2021 | | Numerator: | | | | | | | | | | Net income (loss) used in computing basic net income (loss) per share attributable to common stockholders | | $ | 210,560 | | | $ | 24,129 | | | $ | 110,356 | | | $ | (40,904) | | | Add: Senior Convertible Notes discount amortization | | 571 | | | — | | | 1,692 | | | — | | | Net income (loss) used in computing diluted net income (loss) per share attributable to common stockholders | | $ | 211,131 | | | $ | 24,129 | | | $ | 112,048 | | | $ | (40,904) | | | Denominator: | | | | | | | | | | Basic shares: | | | | | | | | | | Weighted average shares used to compute net income (loss) per share attributable to common stockholders | | 212,696 | | | 206,103 | | | 210,609 | | | 204,355 | | Weighted average effect of potentially dilutive shares to purchase common stock | | 8,154 | | | 6,913 | | | 8,053 | | | — | | | Diluted shares: | | | | | | | | | | Weighted average shares used to compute net income (loss) per share attributable to common stockholders | | 220,850 | | | 213,016 | | | 218,662 | | | 204,355 | | | Net income (loss) per share attributable to common stockholders | | | | | | | | | | Basic | | $ | 0.99 | | | $ | 0.12 | | | $ | 0.52 | | | $ | (0.20) | | | Diluted | | $ | 0.96 | | | $ | 0.11 | | | $ | 0.51 | | | $ | (0.20) | | 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, | | | 2022 | | 2021 | | 2022 | | 2021 | | | | | | | | | | | Outstanding stock options | | 1,686 | | | 835 | | | 1,703 | | | 743 | | | Unvested restricted stock units | | 1,576 | | | 1,954 | | | 3,282 | | | 1,418 | | | Capped Calls for Senior Convertible Notes | | 3,392 | | | 3,392 | | | 3,392 | | | 3,041 | | | Total | | 6,654 | | | 6,181 | | | 8,377 | | | 5,202 | |
|