STOCK-BASED COMPENSATION - Summary of Stock-based Compensation Expense (Details) - USD ($) $ in Thousands  | 
3 Months Ended | 6 Months Ended | ||
|---|---|---|---|---|
Jun. 30, 2021  | 
Jun. 30, 2020  | 
Jun. 30, 2021  | 
Jun. 30, 2020  | 
|
| Share-based Payment Arrangement, Expensed and Capitalized, Amount [Line Items] | ||||
| Stock-based compensation expense | $ 2,029 | $ 731 | $ 2,929 | $ 1,355 | 
| Capitalized stock-based compensation | 111 | 141 | 320 | 302 | 
| Selling and marketing | ||||
| Share-based Payment Arrangement, Expensed and Capitalized, Amount [Line Items] | ||||
| Stock-based compensation expense | 14 | 24 | 32 | 47 | 
| General and administrative | ||||
| Share-based Payment Arrangement, Expensed and Capitalized, Amount [Line Items] | ||||
| Stock-based compensation expense | 1,238 | 263 | 1,469 | 525 | 
| Research and development | ||||
| Share-based Payment Arrangement, Expensed and Capitalized, Amount [Line Items] | ||||
| Stock-based compensation expense | $ 777 | $ 444 | $ 1,428 | $ 783 | 
| X | ||||||||||
- Definition Amount of expense for award under share-based payment arrangement. Excludes amount capitalized. Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef 
  | 
| X | ||||||||||
- Definition Amount of cost capitalized for award under share-based payment arrangement. Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef 
  | 
| X | ||||||||||
- Definition Line items represent financial concepts included in a table. These concepts are used to disclose reportable information associated with domain members defined in one or many axes to the table. No definition available. 
  | 
| X | ||||||||||
- Details 
  | 
| X | ||||||||||
- Details 
  | 
| X | ||||||||||
- Details 
  |