XML 49 R38.htm IDEA: XBRL DOCUMENT v3.10.0.1
STOCK-BASED COMPENSATION - Allocation of Stock-based Compensation (Details) - USD ($)
$ in Thousands
3 Months Ended 9 Months Ended
Sep. 30, 2018
Sep. 30, 2017
Sep. 30, 2018
Sep. 30, 2017
Share-based Compensation Arrangement by Share-based Payment Award, Compensation Cost [Line Items]        
Total stock-based compensation expense $ 5,723 $ 1,482 $ 16,968 $ 3,707
Delivery costs        
Share-based Compensation Arrangement by Share-based Payment Award, Compensation Cost [Line Items]        
Total stock-based compensation expense 203 62 471 146
Sales and marketing expense        
Share-based Compensation Arrangement by Share-based Payment Award, Compensation Cost [Line Items]        
Total stock-based compensation expense 1,939 524 5,550 1,390
Research and development expense        
Share-based Compensation Arrangement by Share-based Payment Award, Compensation Cost [Line Items]        
Total stock-based compensation expense 915 281 3,141 691
General and administration expense        
Share-based Compensation Arrangement by Share-based Payment Award, Compensation Cost [Line Items]        
Total stock-based compensation expense $ 2,666 $ 615 $ 7,806 $ 1,480