STOCK-BASED COMPENSATION - Schedule of Income Statement Location for Compensation Expense (Details) - USD ($) $ in Thousands |
12 Months Ended | |
---|---|---|
Dec. 31, 2021 |
Dec. 31, 2020 |
|
Share-based Compensation Arrangement by Share-based Payment Award [Line Items] | ||
Compensation expense | $ 40,804 | $ 17,031 |
Cost of revenues | ||
Share-based Compensation Arrangement by Share-based Payment Award [Line Items] | ||
Compensation expense | 8 | 6 |
Research and development | ||
Share-based Compensation Arrangement by Share-based Payment Award [Line Items] | ||
Compensation expense | 9,298 | 2,773 |
Sales and marketing | ||
Share-based Compensation Arrangement by Share-based Payment Award [Line Items] | ||
Compensation expense | 881 | 348 |
General and administrative | ||
Share-based Compensation Arrangement by Share-based Payment Award [Line Items] | ||
Compensation expense | $ 30,617 | $ 13,904 |