XML 87 R61.htm IDEA: XBRL DOCUMENT v3.22.0.1
Debt - Narrative (Details)
$ / shares in Units, shares in Thousands
1 Months Ended 3 Months Ended 12 Months Ended
Aug. 02, 2021
USD ($)
monthly_installment
Aug. 02, 2018
USD ($)
Feb. 28, 2021
USD ($)
Nov. 30, 2019
USD ($)
$ / shares
Aug. 31, 2018
Feb. 28, 2014
USD ($)
Dec. 31, 2019
USD ($)
Mar. 31, 2019
USD ($)
shares
Dec. 31, 2021
USD ($)
Dec. 31, 2020
USD ($)
Dec. 31, 2019
USD ($)
shares
Mar. 31, 2018
USD ($)
Debt Instrument [Line Items]                        
Gain (loss) on extinguishment of debt                 $ (9,000) $ 0 $ (12,020,000)  
Proceeds from 2019 Notes issuance                 0 0 $ 55,000,000  
Convertible debt $ 600,000                      
Term loan advances percentage 6.50%                      
Number of installments | monthly_installment 24                      
Revolving Credit Facility                        
Debt Instrument [Line Items]                        
Borrowing Base $ 15,000,000.0 $ 15,000,000                    
Percentage of eligible receivables   85.00%                    
Percentage of eligible inventory   50.00%                    
Common Stock                        
Debt Instrument [Line Items]                        
Conversion of debt into common stock (in shares) | shares                     19,460  
Convertible Debt                        
Debt Instrument [Line Items]                        
Principal amount                 55,578,000 56,079,000    
Convertible Debt | 2014 Notes                        
Debt Instrument [Line Items]                        
Principal amount           $ 201,300,000     578,000 1,079,000    
Proceeds from convertible debt issuance           195,200,000            
Debt issuance costs           $ 1,100,000     2,000 4,000    
Effective interest rate           3.00%            
Principal amount     $ 500,000           578,000 1,079,000   $ 51,300,000
Interest rate on notes           2.75%            
Debt extinguished       $ 50,200,000                
Convertible Debt | Exchange Convertible Senior Notes due 2034                        
Debt Instrument [Line Items]                        
Principal amount                       150,000,000
Gain (loss) on extinguishment of debt     (9,000) (3,000,000)     $ (3,000,000) $ (9,000,000)        
Borrowing Base               $ 150,000,000       $ 150,000,000
Interest rate on notes                       2.75%
Debt extinguished       $ 50,200,000                
Initial conversion rate of notes       0.3448276                
Initial conversion price of stock (in usd per share) | $ / shares       $ 2.90                
Convertible Debt | 2019 Notes                        
Debt Instrument [Line Items]                        
Principal amount       $ 55,000,000         55,000,000 55,000,000    
Debt issuance costs                 1,408,000 1,835,000    
Effective interest rate       6.20%                
Principal amount     $ 500,000           55,000,000 55,000,000    
Interest rate on notes       5.25%                
Proceeds from 2019 Notes issuance       $ 52,700,000                
Debt extinguished       $ 51,800,000                
Convertible Debt | Trustee | Exchange Convertible Senior Notes due 2034                        
Debt Instrument [Line Items]                        
Gain (loss) on extinguishment of debt                     $ (9,000,000)  
Convertible Debt | Common Stock | 2014 Notes                        
Debt Instrument [Line Items]                        
Conversion of debt into common stock (in shares) | shares               19,500        
Convertible Debt | Common Stock | Exchange Convertible Senior Notes due 2034                        
Debt Instrument [Line Items]                        
Conversion of debt into common stock (in shares) | shares               19,500        
Convertible Debt | Redemption, Period Three | 2014 Notes                        
Debt Instrument [Line Items]                        
Debt instrument redemption price     100.00%     100.00%            
Convertible Debt | Redemption, Period Three | 2019 Notes                        
Debt Instrument [Line Items]                        
Debt instrument redemption price     100.00%                  
Convertible Debt | Redemption, Period One | Exchange Convertible Senior Notes due 2034                        
Debt Instrument [Line Items]                        
Debt redemption conditioned upon common stock value exceeding a percentage of the conversion price       150.00%                
Convertible Debt | Redemption, Period Two | Exchange Convertible Senior Notes due 2034                        
Debt Instrument [Line Items]                        
Debt redemption conditioned upon common stock value exceeding a percentage of the conversion price       130.00%                
Secured Debt                        
Debt Instrument [Line Items]                        
Principal amount $ 10,000,000               10,000,000 0    
Debt issuance costs                 $ 30,000 0    
Effective interest rate                 6.30%      
Principal amount                 $ 10,000,000 0    
Interest rate on notes                 4.00%      
Adjusted quick ratio 1.25                      
Term loan advances percentage 6.50%                      
Number of installments | monthly_installment 24                      
Secured Debt | Prime Rate                        
Debt Instrument [Line Items]                        
Additional interest rate                 0.75%      
Line of Credit | Revolving Credit Facility                        
Debt Instrument [Line Items]                        
Commitment fee amount $ 112,500                      
Borrowing Base of the credit facility                 $ 9,368,000 15,000,000    
Amount borrowed                 6,838,000 $ 0    
Borrowing Base                 $ 2,500,000      
Line of Credit | Revolving Credit Facility | Minimum | Prime Rate                        
Debt Instrument [Line Items]                        
Additional interest rate         0.50%              
Line of Credit | Revolving Credit Facility | Maximum | Prime Rate                        
Debt Instrument [Line Items]                        
Additional interest rate         5.25%