XML 79 R50.htm IDEA: XBRL DOCUMENT v3.21.1
Long-Term Debt - Narrative (Details)
$ / shares in Units, $ in Thousands
3 Months Ended
Feb. 16, 2018
USD ($)
day
$ / shares
Rate
Mar. 31, 2021
USD ($)
Mar. 31, 2020
USD ($)
Dec. 31, 2020
USD ($)
Dec. 31, 2019
USD ($)
Schedule of Capitalization, Long-term Debt [Line Items]          
Interest expense, debt   $ 1,929 $ 3,190    
Amortization of debt discount and debt issuance costs   312 1,573    
Stockholders' equity   136,504 32,067 $ 162,266 $ (29,199)
ADSs, conversion ratio | Rate 9269.56%        
Additional paid-in capital          
Schedule of Capitalization, Long-term Debt [Line Items]          
Stockholders' equity   542,093 497,249 566,916 434,391
Accumulated deficit          
Schedule of Capitalization, Long-term Debt [Line Items]          
Stockholders' equity   (383,872) (392,080) (384,187) $ (391,215)
Cumulative Effect, Period of Adoption, Adjustment          
Schedule of Capitalization, Long-term Debt [Line Items]          
Book value of long-term debt       12,939  
Stockholders' equity       (12,939)  
Cumulative Effect, Period of Adoption, Adjustment | Additional paid-in capital          
Schedule of Capitalization, Long-term Debt [Line Items]          
Stockholders' equity       (26,699)  
Cumulative Effect, Period of Adoption, Adjustment | Accumulated deficit          
Schedule of Capitalization, Long-term Debt [Line Items]          
Stockholders' equity       13,760  
Senior Notes          
Schedule of Capitalization, Long-term Debt [Line Items]          
Book value of long-term debt   141,461   $ 128,210  
4.50% Exchangeable Senior Notes Due 2023 | Convertible Debt          
Schedule of Capitalization, Long-term Debt [Line Items]          
Debt instrument, face amount $ 125,000        
Debt instrument, interest rate, stated percentage 4.50%        
Option to purchase aggregate principal amount, term 30 days        
Option to increase aggregate principal amount $ 18,750        
Payments of debt issuance costs 6,190        
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 | Senior Notes          
Schedule of Capitalization, Long-term Debt [Line Items]          
Interest expense, debt   1,929 3,190    
Coupon interest expense   1,617 1,617    
Amortization of debt discount and debt issuance costs   $ 312 $ 1,573    
Debt instrument, interest rate, stated percentage   4.50%   4.50%  
Debt Instrument, Redemption, Period One | 4.50% Exchangeable Senior Notes Due 2023 | Convertible Debt          
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%        
Debt Instrument, Redemption, Period Two | 4.50% Exchangeable Senior Notes Due 2023 | Convertible Debt          
Schedule of Capitalization, Long-term Debt [Line Items]          
Scheduled threshold trading days 35 days        
Threshold trading days | day 95        
Debt Instrument, Redemption, Period Three | 4.50% Exchangeable Senior Notes Due 2023 | Convertible Debt          
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%