| Earnings (loss) per share |
18. Earnings (loss) per share The computation of earnings (loss) per share attributable to common stockholders is as follows (in thousands, except per share amounts): | | | | | | | | | | | | | | | | | | | | | | | | | | | | Table 18.1. Earnings (loss) per share | | | Three months ended June 30, | | Six months ended June 30, | | | 2026 | | 2025 | | 2026 | | 2025 | | Net income (loss) from continuing operations | | $ | 48,214 | | | $ | (482,100) | | | $ | 103,460 | | | $ | (417,309) | | | | Less: Net loss attributable to noncontrolling interests | | (7) | | | — | | | (14) | | | — | | | Net income (loss) attributable to common stockholders | | $ | 48,221 | | | $ | (482,100) | | | $ | 103,474 | | | $ | (417,309) | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Net income (loss) available to common stockholders - basic and diluted | | $ | 48,221 | | | $ | (482,100) | | | $ | 103,474 | | | $ | (417,309) | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Weighted-average common shares – basic | | 248,183 | | | 107,514 | | | 246,122 | | | 82,877 | | | Add: Weighted-average effect of dilutive securities | | 20,454 | | | — | | | 21,818 | | | — | | | | Weighted-average common shares – diluted | | 268,637 | | | 107,514 | | | 267,940 | | | 82,877 | | | | | | | | | | | | | | Earnings (loss) per common share attributable to common stockholders: | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Basic | | $ | 0.19 | | | $ | (4.48) | | | $ | 0.42 | | | $ | (5.04) | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Diluted | | $ | 0.18 | | | $ | (4.48) | | | $ | 0.39 | | | $ | (5.04) | | |
The outstanding securities that were excluded from the computation of diluted earnings (loss) per share attributable to common stockholders for the periods presented because including them would have been antidilutive are as follows (in thousands): | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Table 18.2. Potentially Dilutive Securities | | | | | | Three Months Ended June 30, | | Six months ended June 30, | | | | | | 2026 | | 2025 | | 2026 | | 2025 | | | | | | | | | | | | | | | | Stock options and RSUs | | | 766 | | | 37,518 | | | 765 | | | 37,518 | | | | | Common stock in connection with business combinations | | | — | | | 2,103 | | | — | | | 2,103 | | | | Convertible debt, net of debt discount | | | — | | | 1,125 | | | — | | | 1,125 | | | | | | | | | | | | | | | | | Total | | | 766 | | | 40,746 | | | 765 | | | 40,746 | | | | | | | | | | | | | | | |
|