XML 70 R45.htm IDEA: XBRL DOCUMENT v3.6.0.2
Fair value measurement - Hercules loan facility (Details) - USD ($)
$ in Thousands
12 Months Ended
Dec. 31, 2016
Dec. 31, 2015
Dec. 31, 2014
Fair value measurements      
Gain (Loss) recorded due to changes in fair value of derivative liability $ (1,865) $ 8,501 $ 181
Recurring | Fair value hierarchy Level 3 | Hercules Loan Facility Warrant      
Fair value measurements      
Fair value of derivative liability 0 300  
Recurring | Fair value hierarchy Level 3 | Hercules Loan Facility Warrant | Other nonoperating income (expense)      
Fair value measurements      
Gain (Loss) recorded due to changes in fair value of derivative liability 300 $ 0  
Recurring | Fair value hierarchy Level 3 | Hercules Loan Facility Warrant | Black-Scholes      
Fair value measurements      
Fair value of derivative liability 11    
Fair value of derivative liability if there is a ten-percentage-point decrease in the share price 8    
Fair value of derivative liability if there is a ten-percentage-point decrease in the volatility rate 8    
Fair value of derivative liability if there is a ten-percentage-point decrease in the term to maturity 9    
Fair value of derivative liability if there is a ten-percentage-point increase in the share price 15    
Fair value of derivative liability if there is a ten-percentage-point increase in the volatility rate 15    
Fair value of derivative liability if there is a ten-percentage-point increase in the term to maturity $ 13