| Schedule of Computation of Basic and Diluted Net Income (Loss) Per Share |
The following table presents the computation of basic and diluted net (loss) income per share (in thousands, except per share amounts): | | | | | | | | | | | | | | | | | | | | | | | | | Years Ended December 31, | | | | | | 2025 | | 2024 | | 2023 | | Basic | | | | | | | | | | | Numerator: | | | | | | | | | | | Net (loss) income | | | | | $ | (103,421) | | | $ | (837,068) | | | $ | 18,180 | | | Denominator: | | | | | | | | | | Weighted average shares used to compute net (loss) income per share, basic | | | | | 107,484 | | | 103,300 | | | 116,504 | | | | | | | | | | | | Net (loss) income per share, basic | | | | | $ | (0.96) | | | $ | (8.10) | | | $ | 0.16 | | | | | | | | | | | | | Diluted | | | | | | | | | | | Numerator: | | | | | | | | | | | Net (loss) income | | | | | $ | (103,421) | | | $ | (837,068) | | | $ | 18,180 | | Convertible senior notes activity, net of tax | | | | | — | | | — | | | (61,694) | | Net loss, diluted | | | | | $ | (103,421) | | | $ | (837,068) | | | $ | (43,514) | | | Denominator: | | | | | | | | | | Weighted average shares used to compute net (loss) income per share, basic | | | | | 107,484 | | | 103,300 | | | 116,504 | | | Shares related to convertible senior notes | | | | | — | | | — | | | 12,065 | | | Weighted average shares used to compute net loss per share, diluted | | | | | 107,484 | | | 103,300 | | | 128,569 | | | | | | | | | | | | Net loss per share, diluted | | | | | $ | (0.96) | | | $ | (8.10) | | | $ | (0.34) | |
|
| Schedule of Common Shares Outstanding Excluded from Computation of Diluted Net Loss Per Share |
The following table presents potential weighted-average shares of common stock outstanding that were excluded from the computation of diluted net loss per share because including them would have been anti-dilutive (in thousands): | | | | | | | | | | | | | | | | | | | | | | | | | Years Ended December 31, | | | | | | 2025 | | 2024 | | 2023 | | Shares related to stock plan activity | | | | | 3,786 | | | 7,206 | | | 8,442 | | | | | | | | | | | | | Shares related to convertible senior notes | | | | | 2,069 | | | 9,234 | | | — | | | | | | | | | | | | | | | | | | | | | | | Total common stock equivalents | | | | | 5,855 | | | 16,440 | | | 8,442 | |
|