INCOME TAXES - Schedule of Unrecognized Tax Benefits Roll Forward (Details) - USD ($) $ in Thousands |
12 Months Ended | ||
|---|---|---|---|
Dec. 31, 2022 |
Dec. 31, 2021 |
Dec. 31, 2020 |
|
| Reconciliation of Unrecognized Tax Benefits, Excluding Amounts Pertaining to Examined Tax Returns [Roll Forward] | |||
| Balance, beginning of year | $ 111,019 | $ 12,807 | $ 10,344 |
| Settlements | (6,128) | 0 | 0 |
| Increase related to tax positions taken during a prior year | 13,940 | 0 | 212 |
| Decreases related to tax positions taken during a prior year | (9,187) | 0 | (882) |
| Increases related to tax positions taken during the current year | 14,462 | 98,212 | 3,133 |
| Balance, end of year | $ 124,106 | $ 111,019 | $ 12,807 |