XML 80 R69.htm IDEA: XBRL DOCUMENT v3.21.2
Stock-based compensation - Summary of Stock-based Compensation Expense (Details) - USD ($)
$ in Thousands
3 Months Ended 9 Months Ended
Sep. 30, 2021
Sep. 30, 2020
Sep. 30, 2021
Sep. 30, 2020
Share-based Payment Arrangement, Expensed and Capitalized, Amount [Line Items]        
Share-based compensation $ 2,194 $ 2,773 $ 7,811 $ 9,078
Cost of goods sold        
Share-based Payment Arrangement, Expensed and Capitalized, Amount [Line Items]        
Share-based compensation 403 607 1,523 1,765
Research and development        
Share-based Payment Arrangement, Expensed and Capitalized, Amount [Line Items]        
Share-based compensation 565 748 2,171 2,505
Sales and marketing        
Share-based Payment Arrangement, Expensed and Capitalized, Amount [Line Items]        
Share-based compensation 353 565 1,168 1,833
General and administrative        
Share-based Payment Arrangement, Expensed and Capitalized, Amount [Line Items]        
Share-based compensation $ 873 $ 853 $ 2,949 $ 2,975