XML 46 R33.htm IDEA: XBRL DOCUMENT v3.8.0.1
Intangible assets (Details) - USD ($)
$ in Thousands
3 Months Ended 9 Months Ended
Sep. 30, 2017
Sep. 30, 2016
Sep. 30, 2017
Sep. 30, 2016
Accumulated Amortization [Abstract]        
Amortization $ 1,555 $ 1,651 $ 4,663 $ 5,337
Intangible assets, weighted average useful life     68 months  
Cost of product sales and contract manufacturing [Member]        
Accumulated Amortization [Abstract]        
Amortization 1,067 1,163 $ 3,199 3,873
Research and development [Member]        
Accumulated Amortization [Abstract]        
Amortization 348 348 1,044 1,044
Selling, general and administrative [Member]        
Accumulated Amortization [Abstract]        
Amortization $ 140 $ 140 $ 420 $ 420