XML 104 R67.htm IDEA: XBRL DOCUMENT v3.22.0.1
Long-Term Debt - Narrative (Details)
$ / shares in Units, $ in Thousands
12 Months Ended
Feb. 16, 2018
USD ($)
day
$ / shares
Rate
Dec. 31, 2021
USD ($)
Dec. 31, 2020
USD ($)
Dec. 31, 2019
USD ($)
Dec. 31, 2018
USD ($)
Schedule of Capitalization, Long-term Debt [Line Items]          
Interest expense, debt   $ 9,942 $ 12,994 $ 12,464  
Coupon interest expense   6,469 6,469 6,469  
Amortization of debt discount and debt issuance costs   1,248 6,524 5,995  
Total shareholders’ (deficit) equity   78,244 162,266 (29,199) $ 2,780
ADSs, conversion ratio | Rate 9269.56%        
Additional paid-in capital          
Schedule of Capitalization, Long-term Debt [Line Items]          
Total shareholders’ (deficit) equity   549,349 566,916 434,391 $ 433,756
Cumulative Effect, Period of Adoption, Adjustment          
Schedule of Capitalization, Long-term Debt [Line Items]          
Long-term debt     12,939    
Total shareholders’ (deficit) equity     (12,939)    
Cumulative Effect, Period of Adoption, Adjustment | Additional paid-in capital          
Schedule of Capitalization, Long-term Debt [Line Items]          
Total shareholders’ (deficit) equity     (26,699)    
Senior Notes          
Schedule of Capitalization, Long-term Debt [Line Items]          
Amortization of debt discount and debt issuance costs   1,248 6,525 5,995  
Long-term debt   142,397 128,210    
4.50% Exchangeable Senior Notes Due 2023          
Schedule of Capitalization, Long-term Debt [Line Items]          
Additional interest expense   $ 817 $ 773 $ 635  
Interest rate   4.50%      
4.50% Exchangeable Senior Notes Due 2023 | Convertible Debt          
Schedule of Capitalization, Long-term Debt [Line Items]          
Debt instrument, face amount $ 125,000        
Interest rate 4.50%        
Option to increase aggregate principal amount $ 18,750        
Proceeds from loans or conditional grants $ 137,560        
ADS, option price per share (in dollars per share) | $ / shares $ 10.79        
ADS premium percentage 20.00%        
ADS purchased, price per share (in dollars per share) | $ / shares $ 8.99        
4.50% Exchangeable Senior Notes Due 2023 | Convertible Debt | Debt Instrument, Redemption, Period One          
Schedule of Capitalization, Long-term Debt [Line Items]          
Number of business days 5 days        
Consecutive business days 5 days        
Percentage of product of the last reported sale price of the American Depositary Shares and the exchange rate on each such trading day 98.00%        
4.50% Exchangeable Senior Notes Due 2023 | Convertible Debt | Debt Instrument, Redemption, Period Two          
Schedule of Capitalization, Long-term Debt [Line Items]          
Scheduled threshold trading days 95 days        
Threshold trading days | day 35        
4.50% Exchangeable Senior Notes Due 2023 | Convertible Debt | Debt Instrument, Redemption, Period Three          
Schedule of Capitalization, Long-term Debt [Line Items]          
Threshold trading days | day 20        
Consecutive trading days | day 30        
Threshold percentage of stock price trigger 130.00%        
4.50% Exchangeable Senior Notes Due 2023 | Senior Notes          
Schedule of Capitalization, Long-term Debt [Line Items]          
Additional interest expense   $ 2,225