FINANCIAL INSTRUMENTS AND FAIR VALUE MEASUREMENTS - Long-term investment and convertible senior notes (Details) - USD ($) $ / shares in Units, shares in Thousands, $ in Thousands |
1 Months Ended | 3 Months Ended | 6 Months Ended | |||
|---|---|---|---|---|---|---|
Apr. 30, 2025 |
Jun. 30, 2026 |
Jun. 30, 2025 |
Jun. 30, 2026 |
Jun. 30, 2025 |
Dec. 31, 2025 |
|
| FINANCIAL INSTRUMENTS AND FAIR VALUE MEASUREMENTS | ||||||
| Number of preferred stock shares purchased | 1,568 | |||||
| Long-term investment | $ 15,000 | $ 15,000 | ||||
| Percentage of shares purchased | 10.00% | |||||
| Warrants to purchase shares | 320 | |||||
| Exercise price | $ 0.01 | |||||
| Fair value of warrant | $ 0 | |||||
| Observable price change | $ 0 | $ 0 | $ 0 | $ 0 | ||
| Long-term investment | 15,000 | 15,000 | $ 15,000 | |||
| Convertible Debt, Fair Value Disclosures | $ 309,168 | $ 309,168 | $ 327,043 | |||
| X | ||||||||||
- Definition Exercise price per share or per unit of warrants or rights outstanding. Reference 1: http://www.xbrl.org/2003/role/disclosureRef
|
| X | ||||||||||
- Definition Number of securities into which each warrant or right may be converted. For example, but not limited to, each warrant may be converted into two shares. Reference 1: http://www.xbrl.org/2003/role/disclosureRef
|
| X | ||||||||||
- Definition Fair value portion of borrowing which can be exchanged for a specified number of another security at the option of the issuer or the holder, for example, but not limited to, the entity's common stock. Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef
|
| X | ||||||||||
- Definition Fair value, after the effects of master netting arrangements, of a financial asset or other contract with one or more underlyings, notional amount or payment provision or both, and the contract can be net settled by means outside the contract or delivery of an asset. Includes assets not subject to a master netting arrangement and not elected to be offset. Reference 1: http://www.xbrl.org/2003/role/exampleRef
|
| X | ||||||||||
- References No definition available.
|
| X | ||||||||||
- Definition The total amount of investments that are intended to be held for an extended period of time (longer than one operating cycle). Reference 1: http://www.xbrl.org/2003/role/disclosureRef
|
| X | ||||||||||
- Definition The cash outflow for securities or other assets acquired, which qualify for treatment as an investing activity and are to be liquidated, if necessary, beyond the current operating cycle. Includes cash flows from securities classified as trading securities that were acquired for reasons other than sale in the long-term. Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef
|
| X | ||||||||||
- Definition The net change in the difference between the fair value and the carrying value, or in the comparative fair values, of derivative instruments, including options, swaps, futures, and forward contracts, held at each balance sheet date, that was included in earnings for the period. Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef
|
| X | ||||||||||
- Definition Represents the percentage of securities purchased to the total securities outstanding. No definition available.
|
| X | ||||||||||
- Definition Represents the number of preferred stock shares purchased during the period as investment. No definition available.
|