INCOME TAXES - Schedule of Reconciliation of Beginning and Ending Balances of Gross Unrecognized Tax Benefits (Details) - USD ($) $ in Thousands |
12 Months Ended | ||
|---|---|---|---|
Dec. 31, 2024 |
Dec. 31, 2023 |
Dec. 31, 2022 |
|
| Unrecognized Tax Benefits [Roll Forward] | |||
| Balance at beginning of period | $ 30,655 | $ 19,746 | $ 17,584 |
| Additions for tax positions related to the current year | 7,316 | 4,859 | 1,706 |
| Additions for tax positions of prior years | 2,941 | 7,921 | 728 |
| Reductions for tax positions of prior years | (3,026) | (1,871) | (272) |
| Balance at end of period | $ 37,886 | $ 30,655 | $ 19,746 |
| X | ||||||||||
- Definition A roll forward is a reconciliation of a concept from the beginning of a period to the end of a period. No definition available.
|
| X | ||||||||||
- Definition Amount of unrecognized tax benefits. Reference 1: http://www.xbrl.org/2003/role/exampleRef
|
| X | ||||||||||
- Definition Amount of decrease in unrecognized tax benefits resulting from tax positions taken in prior period tax returns. Reference 1: http://www.xbrl.org/2003/role/exampleRef
|
| X | ||||||||||
- Definition Amount of increase in unrecognized tax benefits resulting from tax positions that have been or will be taken in current period tax return. Reference 1: http://www.xbrl.org/2003/role/exampleRef
|
| X | ||||||||||
- Definition Amount of increase in unrecognized tax benefits resulting from tax positions taken in prior period tax returns. Reference 1: http://www.xbrl.org/2003/role/exampleRef
|