CASH EQUIVALENTS, INVESTMENTS AND FAIR VALUE MEASUREMENTS - Available for sale debt securities (Details) - USD ($) $ in Thousands |
Sep. 30, 2022 |
Dec. 31, 2021 |
---|---|---|
Cash and Cash Equivalents [Line Items] | ||
Short-term investments | $ 241,807 | $ 426,181 |
Long-term investments | 91,588 | |
Total investments | 327,194 | 579,018 |
Money market funds | ||
Cash and Cash Equivalents [Line Items] | ||
Cash equivalents | $ 85,387 | $ 61,249 |
X | ||||||||||
- Definition Amount of investment in debt security measured at fair value with change in fair value recognized in other comprehensive income (available-for-sale). Reference 1: http://www.xbrl.org/2003/role/disclosureRef
|
X | ||||||||||
- Definition Amount of investment in debt security measured at fair value with change in fair value recognized in other comprehensive income (available-for-sale), classified as current. Reference 1: http://www.xbrl.org/2003/role/disclosureRef
|
X | ||||||||||
- Definition Amount of investment in debt security measured at fair value with change in fair value recognized in other comprehensive income (available-for-sale), classified as noncurrent. Reference 1: http://www.xbrl.org/2003/role/disclosureRef
|
X | ||||||||||
- Definition Line items represent financial concepts included in a table. These concepts are used to disclose reportable information associated with domain members defined in one or many axes to the table. No definition available.
|
X | ||||||||||
- Definition Amount of short-term, highly liquid investments that are both readily convertible to known amounts of cash and so near their maturity that they present insignificant risk of changes in value because of changes in interest rates. Excludes cash and cash equivalents within disposal group and discontinued operation. Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef
|
X | ||||||||||
- Details
|