XML 45 R34.htm IDEA: XBRL DOCUMENT v3.8.0.1
Stock-Based Compensation - Allocation of Expense (Details) - USD ($)
$ in Thousands
3 Months Ended 9 Months Ended
Sep. 30, 2017
Sep. 30, 2016
Sep. 30, 2017
Sep. 30, 2016
Allocation of stock-based compensation        
Stock-based compensation expense $ 4,717 $ 2,651 $ 12,653 $ 6,117
Cost of sales        
Allocation of stock-based compensation        
Stock-based compensation expense 164 61 435 143
Selling, general and administrative        
Allocation of stock-based compensation        
Stock-based compensation expense 3,536 1,933 9,320 4,436
Research and development        
Allocation of stock-based compensation        
Stock-based compensation expense $ 1,017 $ 657 $ 2,898 $ 1,538