XML 47 R36.htm IDEA: XBRL DOCUMENT v3.19.1
Summary of significant accounting policies - Narrative (Details) - USD ($)
$ in Thousands
3 Months Ended
Mar. 31, 2019
Mar. 31, 2018
Jan. 01, 2019
Dec. 31, 2018
Jan. 01, 2018
Revenue, Initial Application Period Cumulative Effect Transition [Line Items]          
Operating lease ROU asset $ 10,700   $ 11,300    
Allowance for doubtful accounts receivable 300     $ 700  
Deferred tax liability 122,032     122,032  
Retained earnings (accumulated deficit) (1,011,036)     $ (938,923)  
ASC 606 Adjustment $ 0 $ (3,937)      
Adjustments          
Revenue, Initial Application Period Cumulative Effect Transition [Line Items]          
Retained earnings (accumulated deficit)         $ 3,300