XML 28 R16.htm IDEA: XBRL DOCUMENT v3.21.2
Stock Compensation Plans
6 Months Ended
Jun. 30, 2021
Share-based Payment Arrangement [Abstract]  
Stock Compensation Plans Stock Compensation Plans
Stock-based compensation
Stock-based compensation related to the Company's stock-based awards was recorded as an expense and allocated as follows (in thousands):
Three months ended June 30,Six months ended June 30,
2021202020212020
Cost of sales$63 $54 $105 $60 
Research and development1,599 553 2,660 1,064 
General and administrative2,497 586 3,869 1,115 
Sales and marketing1,470 159 3,489 292 
Total stock-based compensation$5,629 $1,352 $10,123 $2,531 
Stock-based compensation capitalized in inventory was not material as of June 30, 2021 and December 31, 2020.