| FAIR VALUE MEASUREMENT - Summary of Changes in Fair Values of Level 3 Liabilities (Details) - Contingent Consideration, Liability $ in Thousands | 12 Months Ended | 
|---|---|
| Dec. 31, 2022  USD ($) | |
| Fair Value, Liabilities Measured on Recurring Basis, Unobservable Input Reconciliation, Calculation [Roll Forward] | |
| Balance as of December 31, 2021 | $ 0 | 
| Recorded in connection with business combinations | 3,361 | 
| Fair value adjustments based upon post-acquisition performance | (2,411) | 
| Balance as of December 31, 2022 | $ 950 | 
| 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 gain (loss) recognized in income from liability measured at fair value on recurring basis using unobservable input (level 3). Reference 1: http://www.xbrl.org/2003/role/disclosureRef 
 | 
| X | ||||||||||
| 
- Definition Amount of issuances of financial instrument classified as a liability measured using unobservable inputs that reflect the entity's own assumption about the assumptions market participants would use in pricing. Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef 
 | 
| X | ||||||||||
| 
- Definition Fair value of financial instrument classified as a liability measured using unobservable inputs that reflect the entity's own assumption about the assumptions market participants would use in pricing. Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef 
 | 
| X | ||||||||||
| 
- Details 
 |