XML 56 R51.htm IDEA: XBRL DOCUMENT v3.19.3.a.u2
STOCK-BASED COMPENSATION - Summary of Stock-based Compensation Expenses (Details) - USD ($)
$ in Thousands
12 Months Ended
Dec. 31, 2019
Dec. 31, 2018
Dec. 31, 2017
Employee Service Share-based Compensation, Allocation of Recognized Period Costs [Line Items]      
Share-based compensation, total $ 5,464 $ 8,686 $ 6,102
Sales and marketing      
Employee Service Share-based Compensation, Allocation of Recognized Period Costs [Line Items]      
Share-based compensation, total 947 946 1,025
Research and development      
Employee Service Share-based Compensation, Allocation of Recognized Period Costs [Line Items]      
Share-based compensation, total 1,304 1,948 981
General and administrative      
Employee Service Share-based Compensation, Allocation of Recognized Period Costs [Line Items]      
Share-based compensation, total 3,213 5,792 4,096
Stock options      
Employee Service Share-based Compensation, Allocation of Recognized Period Costs [Line Items]      
Share-based compensation, total 701 1,222 3,735
RSUs and RSAs      
Employee Service Share-based Compensation, Allocation of Recognized Period Costs [Line Items]      
Share-based compensation, total 4,692 7,372 2,234
Employee stock purchase plan      
Employee Service Share-based Compensation, Allocation of Recognized Period Costs [Line Items]      
Share-based compensation, total $ 71 $ 92 $ 133