XML 69 R58.htm IDEA: XBRL DOCUMENT v3.10.0.1
Revenue recognition - Comprehensive Income Impacts (Details) - USD ($)
$ in Thousands
3 Months Ended 6 Months Ended
Jun. 30, 2018
Jun. 30, 2017
Jun. 30, 2018
Jun. 30, 2017
Revenue, Initial Application Period Cumulative Effect Transition [Line Items]        
Net loss $ (9,520) $ (17,475) $ (28,782) $ (46,532)
Other comprehensive loss:        
Unrealized gain (loss) on marketable securities 40 (9) (83) (31)
Foreign currency translation gain (3,138) 2,884 (2,031) 3,515
Comprehensive loss (12,618) $ (14,600) (30,896) $ (43,048)
Adjustments | ASU 2014-09        
Revenue, Initial Application Period Cumulative Effect Transition [Line Items]        
Net loss 591   (158)  
Other comprehensive loss:        
Unrealized gain (loss) on marketable securities 0   0  
Foreign currency translation gain 0   0  
Comprehensive loss 591   (158)  
Balances without adoption of Topic 606        
Revenue, Initial Application Period Cumulative Effect Transition [Line Items]        
Net loss (8,929)   (28,940)  
Other comprehensive loss:        
Unrealized gain (loss) on marketable securities 40   (83)  
Foreign currency translation gain (3,138)   (2,031)  
Comprehensive loss $ (12,027)   $ (31,054)