XML 95 R82.htm IDEA: XBRL DOCUMENT v3.10.0.1
Revenue recognition - Comprehensive Income Impacts (Details) - USD ($)
$ in Thousands
3 Months Ended 12 Months Ended
Dec. 31, 2018
Sep. 30, 2018
Jun. 30, 2018
Mar. 31, 2018
Dec. 31, 2017
Sep. 30, 2017
Jun. 30, 2017
Mar. 31, 2017
Dec. 31, 2018
Dec. 31, 2017
Dec. 31, 2016
Revenue, Initial Application Period Cumulative Effect Transition [Line Items]                      
Net loss $ (48,330) $ (50,969) $ (9,520) $ (19,263) $ 1,270 $ (33,738) $ (17,475) $ (29,057) $ (128,081) $ (79,000) $ (142,110)
Other comprehensive loss:                      
Unrealized gain (loss) on marketable securities                 9 225 386
Foreign currency translation (loss) gain                 (2,516) 5,229 (671)
Comprehensive loss                 (130,588) $ (73,546) $ (142,395)
Adjustments | ASU 2014-09                      
Revenue, Initial Application Period Cumulative Effect Transition [Line Items]                      
Net loss                 (5,093)    
Other comprehensive loss:                      
Unrealized gain (loss) on marketable securities                 0    
Foreign currency translation (loss) gain                 0    
Comprehensive loss                 (5,093)    
Balances without adoption of Topic 606                      
Revenue, Initial Application Period Cumulative Effect Transition [Line Items]                      
Net loss                 (133,174)    
Other comprehensive loss:                      
Unrealized gain (loss) on marketable securities                 9    
Foreign currency translation (loss) gain                 (2,516)    
Comprehensive loss                 $ (135,681)