| Basic and Diluted Net Income (Loss) Per Share |
The following table presents the calculation of basic and diluted net income (loss) per share (in thousands, except per share data): | | | | | | | | | | | | | | | | | | | | | | | | | Three Months Ended September 30, | | Nine Months Ended September 30, | | 2024 | | 2023 | | 2024 | | 2023 | | Numerator: | | | | | | | | | Net income (loss) | $ | 281,136 | | | $ | (93,544) | | | $ | 941,828 | | | $ | (103,094) | | | Less: Net loss attributable to noncontrolling interests | (2,618) | | | (4,806) | | | (9,199) | | | (10,630) | | | Net income (loss) attributable to common stockholders | $ | 283,754 | | | $ | (88,738) | | | $ | 951,027 | | | $ | (92,464) | | | Denominator: | | | | | | | | | Basic shares: | | | | | | | | | Weighted-average shares used to compute basic net income (loss) per share | 616,428 | | | 611,276 | | | 616,830 | | | 606,767 | | | Diluted shares: | | | | | | | | | Stock options, restricted stock, and employee stock purchase plan | 4,224 | | | — | | | 6,481 | | | — | | | Convertible notes | 12,108 | | | — | | | 12,108 | | | — | | | | | | | | | | | Weighted-average shares used to compute diluted net income (loss) per share | 632,760 | | | 611,276 | | | 635,419 | | | 606,767 | | | | | | | | | | | Basic | $ | 0.46 | | | $ | (0.15) | | | $ | 1.54 | | | $ | (0.15) | | | Diluted | $ | 0.45 | | | $ | (0.15) | | | $ | 1.50 | | | $ | (0.15) | |
|
| Antidilutive Securities Excluded from Calculation of Diluted Net Income (Loss) Per Share |
The following potential common shares were excluded from the calculation of diluted net income (loss) per share because their effect would have been anti-dilutive for the periods presented (in thousands): | | | | | | | | | | | | | | | | | | | | | | | | | Three Months Ended September 30, | | Nine Months Ended September 30, | | 2024 | | 2023 | | 2024 | | 2023 | | Stock options, restricted stock, and employee stock purchase plan | 41,498 | | | 50,272 | | | 39,090 | | | 44,909 | | | Convertible notes | — | | | 12,109 | | | — | | | 15,034 | | | Common stock warrants | 12,109 | | | 23,188 | | | 12,109 | | | 23,188 | | | Total anti-dilutive securities | 53,607 | | | 85,569 | | | 51,199 | | | 83,131 | |
|