INCOME TAXES - Unrecognized Tax Benefits (Details) - USD ($) $ in Thousands |
12 Months Ended | |
|---|---|---|
Dec. 31, 2021 |
Dec. 31, 2020 |
|
| Reconciliation of Unrecognized Tax Benefits, Excluding Amounts Pertaining to Examined Tax Returns [Roll Forward] | ||
| Unrecognized benefit - beginning of period | $ 7,420 | $ 2,177 |
| Gross increases - current year tax positions | 37,879 | 4,395 |
| Gross increases - prior year tax positions | 909 | 848 |
| Unrecognized benefit - end of period | $ 46,208 | $ 7,420 |