BASIS OF PRESENTATION - Adoption of 2020-06 (Details) - USD ($) $ in Thousands |
Sep. 30, 2022 |
Dec. 31, 2021 |
Dec. 31, 2020 |
|---|---|---|---|
| New Accounting Pronouncements or Change in Accounting Principle [Line Items] | |||
| Deferred tax liabilities | $ 69,743 | $ 45,788 | |
| Long-term convertible securities | 566,612 | 564,426 | |
| Retained earnings | $ 826,172 | $ 698,568 | |
| Cumulative Effect, Period of Adoption, Adjustment | |||
| New Accounting Pronouncements or Change in Accounting Principle [Line Items] | |||
| Deferred tax liabilities | $ (20,600) | ||
| Retained earnings | (2,800) | ||
| Additional paid-in capital | (63,300) | ||
| Cumulative Effect, Period of Adoption, Adjustment, Debt Discount Reclassification | |||
| New Accounting Pronouncements or Change in Accounting Principle [Line Items] | |||
| Long-term convertible securities | 89,100 | ||
| Cumulative Effect, Period of Adoption, Adjustment, Debt Discount Amortization and Equity Costs Reclassification | |||
| New Accounting Pronouncements or Change in Accounting Principle [Line Items] | |||
| Long-term convertible securities | $ (2,500) |