Schedule of Calculation of Basic and Diluted Net (Loss) Income Per Share |
The following table presents the calculation of basic and diluted net income (loss) per share for the periods presented (in thousands, except per share amounts): | | | | | | | | | | | | | | | | | | | | | | | | | Three Months Ended June 30, | | Six Months Ended June 30, | | 2025 | | 2024 | | 2025 | | 2024 | Numerator: | | | | | | | | | | | | | | | | | | | | | | | | Net income (loss) | $ | 28,840 | | | $ | 53,005 | | | $ | (23,256) | | | $ | 116,009 | | | | | | | | | | Add back interest expense, net of tax attributable to assumed conversion of convertible senior notes | 1,873 | | | 1,585 | | | — | | | 3,170 | | | | | | | | | | | | | | | | | | Net income (loss) attributable to common stockholders—diluted | $ | 30,713 | | | $ | 54,590 | | | $ | (23,256) | | | $ | 119,179 | | | | | | | | | | Denominator: | | | | | | | | Weighted-average common shares outstanding—basic | 103,212 | | | 116,432 | | | 105,246 | | | 117,445 | | | | | | | | | | Dilutive effect of outstanding stock-based compensation awards | 2,243 | | | 1,972 | | | — | | | 2,104 | | | | | | | | | | Dilutive effect of assumed conversion of convertible senior notes | 16,059 | | | 14,714 | | | — | | | 14,714 | | | | | | | | | | Weighted-average common shares outstanding—diluted | 121,514 | | | 133,118 | | | 105,246 | | | 134,263 | | | | | | | | | | Net income (loss) per share attributable to common stockholders—basic | $ | 0.28 | | | $ | 0.46 | | | $ | (0.22) | | | $ | 0.99 | | Net income (loss) per share attributable to common stockholders—diluted | $ | 0.25 | | | $ | 0.41 | | | $ | (0.22) | | | $ | 0.89 | | | | | | | | | | | | | | | | | |
|
Schedule of Antidilutive Securities Excluded from Computation of Earnings Per Share |
The following potentially issuable common shares were excluded from the calculation of diluted net income (loss) per share attributable to common stockholders because their effect would have been anti-dilutive for the periods presented (in thousands): | | | | | | | | | | | | | | | | | | | | | | | | | Three Months Ended June 30, | | Six Months Ended June 30, | | 2025 | | 2024 | | 2025 | | 2024 | Stock-based compensation awards | 5,391 | | | 5,020 | | | 11,649 | | | 4,960 | | Convertible senior notes | — | | | — | | | 22,873 | | | — | | Total anti-dilutive securities | 5,391 | | | 5,020 | | | 34,522 | | | 4,960 | |
|