XML 72 R58.htm IDEA: XBRL DOCUMENT v3.7.0.1
Stock-based compensation - Stock-Based Compensation Expense (Details) - USD ($)
$ / shares in Units, $ in Thousands, shares in Millions
1 Months Ended 3 Months Ended 6 Months Ended
Sep. 30, 2016
Jun. 30, 2017
Jun. 30, 2016
Jun. 30, 2017
Jun. 30, 2016
Employee Service Share Based Compensation Allocation Of Recognized Period Costs [Line Items]          
Share Based Compensation   $ 1,886 $ 2,230 $ 3,758 $ 5,669
Cost of Goods Sold [Member]          
Employee Service Share Based Compensation Allocation Of Recognized Period Costs [Line Items]          
Share Based Compensation   324 719 471 1,308
Research and Development Expense [Member]          
Employee Service Share Based Compensation Allocation Of Recognized Period Costs [Line Items]          
Share Based Compensation   511 556 1,173 1,527
Selling and Marketing Expense [Member]          
Employee Service Share Based Compensation Allocation Of Recognized Period Costs [Line Items]          
Share Based Compensation   313 365 777 1,252
General and Administrative Expense [Member]          
Employee Service Share Based Compensation Allocation Of Recognized Period Costs [Line Items]          
Share Based Compensation   $ 738 $ 590 $ 1,337 $ 1,582
Stock Appreciation Units (SAUs) [Member]          
Employee Service Share Based Compensation Allocation Of Recognized Period Costs [Line Items]          
Share-based Compensation Arrangement by Share-based Payment Award, Accelerated Vesting, Number 1.1        
Market Based Awards Member          
Employee Service Share Based Compensation Allocation Of Recognized Period Costs [Line Items]          
Share-based Compensation Arrangement by Share-based Payment Award, Accelerated Vesting, Number 0.2        
Market Based Awards Vesting, Threshold Consecutive Trading Days 20 days        
Share Price $ 15.00