Quarterly report pursuant to Section 13 or 15(d)

Fair value measurements (Details)

v3.10.0.1
Fair value measurements (Details) - USD ($)
$ in Thousands
Jun. 30, 2018
Dec. 31, 2017
Marketable securities:    
Available-for-sale securities, Debt Securities, Current, Total $ 86,716 $ 124,218
Recurring basis    
Marketable securities:    
Corporate debt securities 77,688  
Government bonds 6,028  
Commercial paper 3,000  
Available-for-sale securities, Debt Securities, Current, Total 86,716  
Recurring basis | Level 1    
Marketable securities:    
Corporate debt securities 77,688  
Government bonds 6,028  
Available-for-sale securities, Debt Securities, Current, Total 83,716  
Recurring basis | Level 2    
Marketable securities:    
Commercial paper 3,000  
Available-for-sale securities, Debt Securities, Current, Total $ 3,000