Earnings (loss) per share - Schedule of computation of net income per share (Detail) - USD ($) $ / shares in Units, shares in Thousands, $ in Thousands |
3 Months Ended | 6 Months Ended | 12 Months Ended | ||||||
|---|---|---|---|---|---|---|---|---|---|
Jun. 30, 2025 |
Mar. 31, 2025 |
Jun. 30, 2024 |
Mar. 31, 2024 |
Jun. 30, 2025 |
Jun. 30, 2024 |
Dec. 31, 2024 |
Dec. 31, 2023 |
Dec. 31, 2022 |
|
| Earnings Per Share [Abstract] | |||||||||
| Net income (loss) from continuing operations | $ (482,100) | $ 32,923 | $ (417,309) | $ 81,562 | $ 156,991 | $ 271,549 | $ (761,772) | ||
| Net loss from discontinued operations | (1,324) | (3,987) | (7,075) | ||||||
| Net income (loss) | (482,100) | $ 64,791 | 32,923 | $ 48,639 | (417,309) | 81,562 | 155,667 | 267,562 | (768,847) |
| Dividend preference on preferred shares | 0 | (32,923) | 0 | (81,562) | (91,044) | (90,363) | 0 | ||
| Undistributed earnings allocated to preferred shares | (46,514) | (132,291) | 0 | ||||||
| Net income (loss) available to common stockholders – basic | (482,100) | 0 | (417,309) | 18,109 | 44,908 | (768,847) | |||
| Changes in fair value of convertible debt and warrant liability | 0 | 0 | 0 | (1,053) | (1,036) | (15,264) | 0 | ||
| Dividend preference on preferred shares | 0 | (32,923) | 0 | (80,509) | (90,363) | (90,363) | 0 | ||
| Undistributed earnings allocated to preferred shares | (42,154) | (109,037) | 0 | ||||||
| Net income (loss) available to common stockholders – diluted | $ (482,100) | $ 0 | $ (417,309) | $ 0 | $ 22,114 | $ 52,898 | $ (768,847) | ||
| Weighted-average common shares – basic | 107,514 | 54,396 | 82,877 | 54,186 | 54,413 | 47,265 | 46,663 | ||
| Weighted-average effect of dilutive securities | 0 | 16,020 | 0 | 18,790 | 18,629 | 20,284 | 0 | ||
| Weighted-average common shares – diluted | 107,514 | 70,416 | 82,877 | 72,976 | 73,042 | 67,549 | 46,663 | ||
| Continuing operations, Basic | $ 0.33 | $ 0.95 | $ (16.33) | ||||||
| Discontinued operations | 0 | 0 | (0.15) | ||||||
| Basic earnings (loss) per common share | $ (4.48) | $ 0 | $ (5.04) | $ 0 | 0.33 | 0.95 | (16.48) | ||
| Continuing operations, Diluted | 0.3 | 0.78 | (16.33) | ||||||
| Discontinued operations | 0 | 0 | (0.15) | ||||||
| Diluted earnings (loss) per common share | $ (4.48) | $ 0 | $ (5.04) | $ 0 | $ 0.3 | $ 0.78 | $ (16.48) | ||
| X | ||||||||||
- Definition Basic earnings (loss) per common share. No definition available.
|
| X | ||||||||||
- Definition Changes in fair value of convertible debt and warrant liability. No definition available.
|
| X | ||||||||||
- Definition Diluted earnings (loss) per common share. No definition available.
|
| X | ||||||||||
- Definition Per basic share amount, after tax, of income (loss) from the day-to-day business activities of the discontinued operation. No definition available.
|
| X | ||||||||||
- Definition Per diluted share amount, after tax, of income (loss) from the day-to-day business activities of the discontinued operation. No definition available.
|
| X | ||||||||||
- Definition Amount of paid and unpaid cash, stock, and paid-in-kind (PIK) dividends declared, for example, but not limited to, common and preferred stock. Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef
|
| X | ||||||||||
- Definition The contractual amount of dividends (or interest on participating income bonds) that must be paid for the current period (for example, unpaid cumulative dividends). Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef
|
| X | ||||||||||
- References No definition available.
|
| X | ||||||||||
- Definition Amount after tax of income (loss) from continuing operations including portion attributable to the noncontrolling interest. Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef
|
| X | ||||||||||
- Definition The amount of net income (loss) from continuing operations per each share of common stock or unit outstanding during the reporting period. Reference 1: http://www.xbrl.org/2003/role/disclosureRef
|
| X | ||||||||||
- Definition The amount of net income (loss) derived from continuing operations during the period available to each share of common stock or common unit outstanding during the reporting period and to each share or unit that would have been outstanding assuming the issuance of common shares or units for all dilutive potential common shares or units outstanding during the reporting period. Reference 1: http://www.xbrl.org/2003/role/disclosureRef
|
| X | ||||||||||
- Definition Amount after tax of income (loss) from a discontinued operation including the portion attributable to the noncontrolling interest. Includes, but is not limited to, the income (loss) from operations during the phase-out period, gain (loss) on disposal, gain (loss) for reversal of write-down (write-down) to fair value, less cost to sell, and adjustments to a prior period gain (loss) on disposal. Reference 1: http://www.xbrl.org/2003/role/disclosureRef
|
| X | ||||||||||
- Definition The portion of profit or loss for the period, net of income taxes, which is attributable to the parent. Reference 1: http://www.xbrl.org/2003/role/disclosureRef
|
| X | ||||||||||
- Definition Amount, after deduction of tax, noncontrolling interests, dividends on preferred stock and participating securities; of income (loss) available to common shareholders. Reference 1: http://www.xbrl.org/2003/role/disclosureRef
|
| X | ||||||||||
- Definition Amount, after deduction of tax, noncontrolling interests, dividends on preferred stock and participating securities, and addition from assumption of issuance of common shares for dilutive potential common shares; of income (loss) available to common shareholders. Reference 1: http://www.xbrl.org/2003/role/disclosureRef
|
| X | ||||||||||
- Definition Amount of undistributed earnings (loss) allocated to participating securities for the basic earnings (loss) per share or per unit calculation under the two-class method. Reference 1: http://www.xbrl.org/2003/role/disclosureRef
|
| X | ||||||||||
- Definition Amount of undistributed earnings (loss), allocated to common stock, as if earnings and addition from assumption of issuance of common shares for dilutive potential common shares, had been distributed. Excludes distributed earnings. Reference 1: http://www.xbrl.org/2003/role/disclosureRef
|
| X | ||||||||||
- Definition The sum of dilutive potential common shares or units used in the calculation of the diluted per-share or per-unit computation. Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef
|
| X | ||||||||||
- Definition The average number of shares or units issued and outstanding that are used in calculating diluted EPS or earnings per unit (EPU), determined based on the timing of issuance of shares or units in the period. Reference 1: http://www.xbrl.org/2003/role/disclosureRef
|
| X | ||||||||||
- Definition Number of [basic] shares or units, after adjustment for contingently issuable shares or units and other shares or units not deemed outstanding, determined by relating the portion of time within a reporting period that common shares or units have been outstanding to the total time in that period. Reference 1: http://www.xbrl.org/2003/role/disclosureRef
|