XML 64 R69.htm IDEA: XBRL DOCUMENT v3.20.1
Debt - Additional Information (Detail)
1 Months Ended 2 Months Ended 3 Months Ended 12 Months Ended
Feb. 09, 2020
Aug. 09, 2019
USD ($)
Nov. 01, 2018
$ / shares
Jul. 26, 2018
USD ($)
Aug. 31, 2019
USD ($)
$ / shares
Nov. 30, 2017
USD ($)
Aug. 31, 2017
USD ($)
Jun. 30, 2017
USD ($)
shares
Jan. 31, 2016
USD ($)
Jun. 30, 2014
USD ($)
$ / shares
Jul. 31, 2013
USD ($)
$ / shares
Feb. 28, 2017
USD ($)
shares
Dec. 31, 2018
USD ($)
$ / shares
Jun. 30, 2017
USD ($)
shares
Mar. 31, 2017
USD ($)
shares
Dec. 31, 2019
USD ($)
$ / shares
Dec. 31, 2018
USD ($)
$ / shares
Dec. 31, 2017
USD ($)
shares
Dec. 31, 2016
USD ($)
Aug. 01, 2018
USD ($)
Jun. 14, 2018
USD ($)
Debt Instrument [Line Items]                                          
Long term debt, face amount                         $ 140,974,000     $ 52,658,000 $ 140,974,000        
Payment for repurchase of convertible notes                               0 0 $ 35,614,000      
Gain recognized on retirement of debt                               $ (13,205,000) $ (453,000) (611,000)      
Common stock, par value (in dollars per share) | $ / shares                         $ 0.001     $ 0.001 $ 0.001        
Change in fair value of convertible senior notes                               $ (5,112,000) $ 2,948,000 (308,000)      
Convertible senior notes payable, fair value                         $ 139,792,000     52,658,000 139,792,000        
Debt issuance costs   $ 1,100,000                                     $ 1,300,000
Amortization of debt discount                               $ 1,077,000 0 0      
4.25% Convertible Senior Notes Due 2018                                          
Debt Instrument [Line Items]                                          
Long term debt, face amount                     $ 100,000,000.0                    
Debt instrument, interest rate       4.25%     4.25%       4.25%         4.25%          
Debt instrument, conversion price (in dollars per share) | $ / shares                     $ 8.74                    
Debt instrument repurchase amount               $ 12,000,000           $ 12,000,000 $ 39,100,000       $ 6,100,000    
Write-off of debt issuance costs                           100,000         $ 100,000    
Payment for repurchase of convertible notes               11,600,000             $ 24,100,000            
Debt instrument shares common stock issued upon conversion (in shares) | shares                             2,900,000            
Gain recognized on retirement of debt                           100,000              
Debt conversion ratio                     0.1143674                    
Amortization of debt discount                               $ 0 103,000 $ 844,000      
4.25% Convertible Senior Notes Due 2018 | Common Stock                                          
Debt Instrument [Line Items]                                          
Debt instrument repurchase amount               $ 11,600,000       $ 39,100,000   $ 11,600,000              
Debt instrument shares common stock issued upon conversion (in shares) | shares               112,400       2,865,000   112,400       3,000,000      
3.25% Convertible Senior Notes Due 2020                                          
Debt Instrument [Line Items]                                          
Long term debt, face amount       $ 8,000,000.0                 27,974,000     $ 0 27,974,000        
Debt instrument, interest rate       3.25%                       3.25%          
Convertible senior notes payable, fair value                         27,974,000     $ 0 27,974,000        
Amortization of debt discount                               0 0 $ 0      
3.25% Convertible Senior Notes Due 2023                                          
Debt Instrument [Line Items]                                          
Long term debt, face amount                         0     $ 50,753,000 0        
Debt instrument, interest rate       3.25% 3.25%                     3.25%          
Debt prepayment percentage         105.00%                                
Interest rate if paid in cash         3.25%                                
Interest rate if paid in stock         5.00%                                
Paid in kind interest rate         2.75%                                
Debt conversion ratio         1.00                                
Threshold percentage of stock price trigger         30.00%                                
Threshold percentage of market price trigger         150.00%                                
Percentage of ownership interest in joint venture         49.00%                                
Change in fair value of convertible senior notes                               $ (2,500,000) 2,900,000 (300,000)      
Convertible senior notes payable, fair value                         0     50,753,000 0        
Amortization of debt discount                               0 0 0      
4.875% Convertible Senior Notes Due 2020                                          
Debt Instrument [Line Items]                                          
Long term debt, face amount   113,000,000               $ 115,000,000     113,000,000     $ 1,905,000 113,000,000        
Debt instrument, interest rate         4.875%         4.875%           4.875%          
Debt instrument, conversion price (in dollars per share) | $ / shares                   $ 9.64                      
Debt instrument repurchase amount                 $ 2,000,000                        
Write-off of debt issuance costs   700,000             100,000                        
Gain recognized on retirement of debt   2,400,000             $ 100,000                        
Debt conversion ratio                   0.1037613                      
Convertible senior notes payable, fair value                         111,818,000     $ 1,905,000 111,818,000        
Fair value of debt outstanding   111,100,000                     113,000,000     1,900,000 113,000,000        
Debt refinanced, exchanged into similar debt instruments   103,800,000                                      
Amount of accrued interest refinanced   1,000,000                                      
Amount of debt exchanged into a new debt instrument   $ 7,300,000                                      
Convertible senior note payable, fair value                         93,200,000     1,700,000 93,200,000        
Amortization of debt discount                               460,000 789,000 $ 789,000      
Oasis Management and Oasis Investments ll Master Fund Ltd. | 4.25% Convertible Senior Notes Due 2018                                          
Debt Instrument [Line Items]                                          
Debt instrument, interest rate             4.25%                            
Oasis Management and Oasis Investments ll Master Fund Ltd. | 3.25% Convertible Senior Notes Due 2020                                          
Debt Instrument [Line Items]                                          
Long term debt, face amount       $ 8,000,000     $ 21,600,000           29,600,000.0     0 29,600,000.0        
Debt instrument, conversion price (in dollars per share) | $ / shares     $ 2.54                                    
Gain recognized on retirement of debt           $ (500,000)             (600,000)                
Debt prepayment percentage     105.00%                                    
Debt instrument, amount redeemed                                       $ 13,200,000  
Debt conversion ratio     0.3937008 0.3222688     0.3280302                            
Oasis Management and Oasis Investments ll Master Fund Ltd. | After Modification Senior Notes (due 2018)                                          
Debt Instrument [Line Items]                                          
Long term debt, face amount             $ 21,600,000.0                            
Oasis Management and Oasis Investments ll Master Fund Ltd. | 3.25% Convertible Senior Notes Due 2023                                          
Debt Instrument [Line Items]                                          
Long term debt, face amount         $ 8,000,000.0               0     37,600,000 0        
Gain recognized on retirement of debt         $ 10,400,000                                
Common stock, par value (in dollars per share) | $ / shares         $ 0.001                                
Change in fair value of convertible senior notes                               2,600,000          
Secured Debt | New Term Loan Agreement                                          
Debt Instrument [Line Items]                                          
Debt instrument, interest rate   10.50%                                      
Interest rate if paid in cash   8.00%                                      
Paid in kind interest rate   2.50%                                      
Fair value of debt outstanding                         $ 0     134,801,000 $ 0        
Line of credit facility maximum borrowing capacity   $ 134,800,000                                      
Covenant, EBITDA requirement   34,000,000                                      
Minimum liquidity requirement   10,000,000                                      
Debt issuance costs   3,800,000                                      
Amortization of debt discount                               400,000          
Secured Debt | 2019 New Term Loan Agreement                                          
Debt Instrument [Line Items]                                          
Debt issuance costs   $ 10,100,000                                      
Amortization of debt discount                               $ 1,100,000          
Subsequent Event | 3.25% Convertible Senior Notes Due 2023                                          
Debt Instrument [Line Items]                                          
Debt conversion ratio 1.00