Annual report pursuant to Section 13 and 15(d)

Summary of Significant Accounting Policies - New accounting pronouncements (Details)

v3.10.0.1
Summary of Significant Accounting Policies - New accounting pronouncements (Details) - USD ($)
12 Months Ended
Dec. 31, 2018
Dec. 31, 2017
Dec. 31, 2016
Dec. 31, 2015
New accounting pronouncements        
Revenue $ 59,505,000 $ 37,833,000 $ 14,198,000  
Operating income (loss) (82,365,000) (80,661,000) (72,799,000)  
Loss before income taxes (95,017,000) (69,687,000) (70,687,000)  
Net loss attributable to ordinary shareholders $ (95,514,000) $ (70,138,000) $ (71,579,000)  
Net loss per ordinary share - Basic and diluted $ (0.16) $ (0.13) $ (0.17)  
Accumulated other comprehensive loss $ (9,763,000) $ (21,641,000)    
Accumulated deficit (318,499,000) (231,630,000)    
Total stockholders' equity 246,885,000 202,984,000 $ 166,142,000 $ 234,993,000
Net loss (95,514,000) (70,138,000) (71,579,000)  
Decrease in payables and deferred revenue (40,923,000) $ 12,439,000 $ 16,808,000  
Cumulative effect of adopting ASC 606 8,645,000      
Tax impact of adopting ASC 606 1,469,000      
Right-of-use asset 21,000,000      
Lease liability 26,000,000      
ASU 2014-09 | Under previous revenue guidance        
New accounting pronouncements        
Revenue 67,802,000      
Operating income (loss) (74,068,000)      
Loss before income taxes (86,720,000)      
Net loss attributable to ordinary shareholders $ (87,217,000)      
Net loss per ordinary share - Basic and diluted $ (0.15)      
Accumulated other comprehensive loss $ (9,415,000)      
Accumulated deficit (318,847,000)      
Total stockholders' equity 246,885,000      
Net loss (87,217,000)      
Decrease in payables and deferred revenue (49,220,000)      
ASU 2014-09 | Adjustment        
New accounting pronouncements        
Revenue (8,297,000)      
Operating income (loss) (8,297,000)      
Loss before income taxes (8,297,000)      
Net loss attributable to ordinary shareholders (8,297,000)      
Accumulated other comprehensive loss (348,000)      
Accumulated deficit 348,000      
Net loss (8,297,000)      
Decrease in payables and deferred revenue $ 8,297,000