XML 40 R29.htm IDEA: XBRL DOCUMENT v3.21.2
Stockholders' Equity - Summary of Stock-Based Compensation (Details) - USD ($)
$ in Thousands
3 Months Ended 9 Months Ended
Sep. 30, 2021
Sep. 30, 2020
Sep. 30, 2021
Sep. 30, 2020
Employee Service Share-based Compensation, Allocation of Recognized Period Costs [Line Items]        
Stock-based compensation capitalized in inventory $ 47 $ 53 $ 151 $ 182
Total stock-based compensation 10,999 8,755 32,272 25,291
Cost of sales        
Employee Service Share-based Compensation, Allocation of Recognized Period Costs [Line Items]        
Allocated share-based compensation expense 12 13 38 51
Research and development        
Employee Service Share-based Compensation, Allocation of Recognized Period Costs [Line Items]        
Allocated share-based compensation expense 3,434 2,958 10,764 8,357
Selling, general and administrative        
Employee Service Share-based Compensation, Allocation of Recognized Period Costs [Line Items]        
Allocated share-based compensation expense $ 7,506 $ 5,731 $ 21,319 $ 16,701