XML 114 R122.htm IDEA: XBRL DOCUMENT v3.20.1
Prior Periods' Financial Statement Revision Prior Periods' Financial Statement Revision - Schedule of Correction of Misstatements in Consolidated Statements of Changes in Stockholders' Equity (Details) - USD ($)
$ in Thousands
12 Months Ended
Dec. 31, 2019
Dec. 31, 2018
Dec. 31, 2017
Dec. 31, 2016
Error Corrections and Prior Period Adjustments Restatement [Line Items]        
Additional paid-in capital $ 501,615 $ 508,655    
Net income (loss) (46,741) (262,987) $ 162,237  
Accumulated deficit (105,283) (58,491)    
Foreign currency translation gain (3,845) (13,609) 22,134  
Accumulated other comprehensive loss (44,554) (31,314)    
Total stockholders' equity $ 353,277 419,271 485,329 $ 309,391
Previously Reported        
Error Corrections and Prior Period Adjustments Restatement [Line Items]        
Additional paid-in capital   511,545    
Net income (loss)   (264,467) 163,052  
Accumulated deficit   (62,046) 211,080  
Foreign currency translation gain   (13,880) 22,094  
Accumulated other comprehensive loss   (31,625) (17,745)  
Total stockholders' equity   418,295 486,104  
Restatement Adjustment        
Error Corrections and Prior Period Adjustments Restatement [Line Items]        
Additional paid-in capital   (2,890)    
Net income (loss)   1,480 (815)  
Accumulated deficit   3,555 (815)  
Foreign currency translation gain   271 40  
Accumulated other comprehensive loss   311 40  
Total stockholders' equity   976 (775)  
Continuing Operations As Revised        
Error Corrections and Prior Period Adjustments Restatement [Line Items]        
Additional paid-in capital   508,655    
Net income (loss)   (262,987) 162,237  
Accumulated deficit   (58,491) 210,265  
Foreign currency translation gain   (13,609) 22,134  
Accumulated other comprehensive loss   (31,314) (17,705)  
Total stockholders' equity   $ 419,271 $ 485,329