XML 52 R41.htm IDEA: XBRL DOCUMENT v3.7.0.1
Stock-based compensation Stock-based Compensation (Details) - USD ($)
$ in Thousands
6 Months Ended
Jun. 30, 2017
Jun. 30, 2016
Share-based Compensation, Allocation and Classification in Financial Statements [Abstract]    
Capitalized in inventory $ 1,053 $ 685