| Earnings Per Share |
Earnings Per Share Basic net (loss) income per share is computed by dividing net (loss) income attributable to common stockholders by the weighted-average number of common shares outstanding during the period. Diluted net (loss) income per share is computed by dividing net (loss) income attributable to common stockholders by the weighted-average number of common shares outstanding during the period adjusted to include the effect of potentially dilutive securities. Potentially dilutive securities are excluded from the computation of dilutive EPS in periods in which the effect would be antidilutive. The computation of the Company’s basic and diluted net (loss) income per share is as follows (in thousands, except per share data): | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Three Months Ended September 30, | | Nine Months Ended September 30, | | | 2023 | | 2022 | | 2023 | | 2022 | | Numerator: | | | | | | | | | Net (loss) income attributable to common stockholders | | $ | (1,069,459) | | | $ | 210,560 | | | $ | (1,254,373) | | | $ | 110,356 | | | | | | | | | | | | | | | | | | | | | Debt Discount Amortization | | — | | | 571 | | | — | | | 1,692 | | Net (loss) income available to common stockholders | | $ | (1,069,459) | | | $ | 211,131 | | | $ | (1,254,373) | | | $ | 112,048 | | | Denominator: | | | | | | | | | Weighted average shares used to compute net (loss) income per share attributable to common stockholders, basic | | 217,344 | | | 212,696 | | | 216,029 | | | 210,609 | | | Weighted average effect of potentially dilutive shares to purchase common stock | | — | | | 8,154 | | | — | | | 8,053 | | Weighted average shares used to compute net (loss) income per share attributable to common stockholders, diluted | | 217,344 | | | 220,850 | | | 216,029 | | | 218,662 | | Net (loss) income per share attributable to common stockholders | | | | | | | | | | Basic | | $ | (4.92) | | | $ | 0.99 | | | $ | (5.81) | | | $ | 0.52 | | | Diluted | | $ | (4.92) | | | $ | 0.96 | | | $ | (5.81) | | | $ | 0.51 | |
The following shares were excluded from the computation of diluted net (loss) income 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, | | | 2023 | | 2022 | | 2023 | | 2022 | | | | | | | | | | | Outstanding stock options | | 1,516 | | | 1,686 | | | 1,529 | | | 1,703 | | | Unvested restricted stock units | | 8,663 | | | 1,576 | | | 6,840 | | | 3,282 | | | Convertible Senior Notes (if converted) | | 3,392 | | | 3,392 | | | 2,262 | | | 3,392 | | | Total | | 13,571 | | | 6,654 | | | 10,631 | | | 8,377 | |
|