XML 57 R41.htm IDEA: XBRL DOCUMENT v3.8.0.1
Stock-based compensation Stock-based Compensation (Details) - USD ($)
$ in Thousands
9 Months Ended
Sep. 30, 2017
Sep. 30, 2016
Share-based Compensation, Allocation and Classification in Financial Statements [Abstract]    
Capitalized in inventory $ 1,074 $ 585