XML 62 R51.htm IDEA: XBRL DOCUMENT v3.21.2
Debt - Narrative (Details)
1 Months Ended 3 Months Ended 6 Months Ended 9 Months Ended 12 Months Ended
Jan. 27, 2021
USD ($)
$ / shares
shares
Sep. 22, 2020
USD ($)
$ / shares
Jul. 20, 2020
USD ($)
loan
$ / shares
shares
May 28, 2020
USD ($)
$ / shares
Apr. 06, 2020
USD ($)
$ / shares
shares
Oct. 31, 2019
USD ($)
$ / shares
Sep. 18, 2019
USD ($)
Dec. 21, 2018
USD ($)
Dec. 13, 2018
USD ($)
Apr. 27, 2018
USD ($)
$ / shares
Dec. 31, 2019
USD ($)
$ / shares
Nov. 30, 2019
USD ($)
Apr. 30, 2019
USD ($)
Jan. 31, 2019
USD ($)
Jun. 30, 2021
USD ($)
shares
Mar. 31, 2021
USD ($)
Sep. 30, 2020
USD ($)
Jun. 30, 2020
USD ($)
Mar. 31, 2020
USD ($)
$ / shares
Jun. 30, 2021
USD ($)
shares
Jun. 30, 2020
USD ($)
Jun. 30, 2021
USD ($)
shares
Dec. 31, 2020
USD ($)
Nov. 02, 2020
May 15, 2020
Debt Instrument [Line Items]                                                  
Stated interest rate                                                 1.00%
Remeasured derivative liability                             $ 0         $ 0   $ 0 $ 7,507,000    
Reverse stock split, conversion ratio       0.10                                          
Derivative liability       $ 6,300,000                           $ 5,600,000     $ 5,600,000        
Mark-to-market loss recognized                                   3,500,000     3,500,000        
Aggregate principal amount                             111,882,000         111,882,000   $ 111,882,000 181,580,000    
Partial extinguishment of equity component                                       26,877,000          
Gain (loss) on restructuring                             0     0   22,439,000 0        
Inducement loss                             0     0   1,889,000 0        
Change in the fair value of derivative liabilities                             $ 0     $ (4,591,000)   $ (3,186,000) $ (5,849,000)        
Pre-reverse stock split shares (in shares) | shares         538,995                   538,995         538,995   538,995      
Exercise price (dollars per share) | $ / shares     $ 0.01   $ 0.01                                        
Estimated fair value of the warrants     $ 300,000 $ 2,200,000 $ 1,400,000                                        
Period warrants are exercisable     5 years   5 years                                        
Exercisable warrants (in shares) (up to) | shares     134,667                       134,667         134,667   134,667      
Paid-in-kind interest $ 24,500,000                                                
Line of Credit                                                  
Debt Instrument [Line Items]                                                  
Interest rate, effective percentage         4.25%                                        
Liquidity covenant compliance         $ 10,000,000.0                                        
Series D Preferred Stock                                                  
Debt Instrument [Line Items]                                                  
Preferred stock, convertible, shares issuable (in shares) | shares 17,082,285                                                
2023 Series A Unsecured Convertible Notes for Series B Senior Unsecured Convertible Notes                                                  
Debt Instrument [Line Items]                                                  
Debt issuance costs                             $ 1,400,000         $ 1,400,000   $ 1,400,000      
Fair value of embedded derivative liability           $ 2,000,000.0                                      
Derivative liability           13,500,000                                      
Remeasured derivative liability                                     $ 2,800,000            
Gain on change in fair value of derivative                                     $ 4,000,000.0            
Revolving Credit Facility                                                  
Debt Instrument [Line Items]                                                  
Change in the fair value of derivative liabilities                                             5,600,000    
Revolving Credit Facility | Line of Credit                                                  
Debt Instrument [Line Items]                                                  
Debt issuance costs                 $ 300,000                                
Unamortized discount                 500,000                                
Aggregate principal amount                             25,000,000         $ 25,000,000   25,000,000 25,000    
Line of credit maximum borrowing capacity                 25,000,000.0                                
Proceeds from lines of credit             $ 2,500,000   15,000,000.0       $ 5,000,000.0 $ 5,000,000.0                      
Repayment fee                       $ 100,000                          
Revolving Credit Facility | London Interbank Offered Rate (LIBOR) | Line of Credit                                                  
Debt Instrument [Line Items]                                                  
Basis spread on variable rate                                       3.75%          
Revolving Credit Facility | London Interbank Offered Rate (LIBOR) | Minimum | Line of Credit                                                  
Debt Instrument [Line Items]                                                  
Basis spread on variable rate         1.50%                                        
Revolving Credit Facility | London Interbank Offered Rate (LIBOR) | Maximum | Line of Credit                                                  
Debt Instrument [Line Items]                                                  
Basis spread on variable rate         5.50%                                        
Revolving Credit Facility | Base Rate | Line of Credit                                                  
Debt Instrument [Line Items]                                                  
Basis spread on variable rate         4.50%                             2.75%          
Convertible Notes Payable                                                  
Debt Instrument [Line Items]                                                  
Unamortized discount     $ 14,600,000                                            
Extinguishment gain                                 $ 11,800,000                
Partial extinguishment of equity component     16,200,000                                            
Lender fees     1,800,000                                            
Third party fees     2,200,000                                            
Gain (loss) on restructuring                                 1,200,000                
Equity component recorded in APIC                                 1,000,000.0                
Debt conversion, shares issued (in shares) | shares 85,412                                                
Term Loan                                                  
Debt Instrument [Line Items]                                                  
Aggregate principal amount                             $ 86,600,000         $ 86,600,000   $ 86,600,000      
Term Loan | Line of Credit                                                  
Debt Instrument [Line Items]                                                  
Debt issuance costs                 800,000                                
Unamortized discount                 1,800,000                                
Aggregate principal amount                 80,000,000.0                                
Covenant, revenue required to attain                                       $ 125,000,000.0          
Term Loan | London Interbank Offered Rate (LIBOR) | Line of Credit                                                  
Debt Instrument [Line Items]                                                  
Basis spread on variable rate                                       8.75%          
Term Loan | London Interbank Offered Rate (LIBOR) | Minimum | Line of Credit                                                  
Debt Instrument [Line Items]                                                  
Basis spread on variable rate         1.50%                                        
Term Loan | London Interbank Offered Rate (LIBOR) | Maximum | Line of Credit                                                  
Debt Instrument [Line Items]                                                  
Basis spread on variable rate         13.00%                                        
Term Loan | Base Rate | Line of Credit                                                  
Debt Instrument [Line Items]                                                  
Basis spread on variable rate         12.00%                             7.75%          
Convertible Note 2019 | Convertible Notes Payable                                                  
Debt Instrument [Line Items]                                                  
Stated interest rate                   3.75%                              
Debt, transfer                   $ 75,100,000                              
Convertible Note 2023 | Convertible Notes Payable                                                  
Debt Instrument [Line Items]                                                  
Stated interest rate                   4.75%                              
Debt, transfer                   $ 75,100,000                              
Debt instrument, convertible, conversion price (in dollars per share) | $ / shares                   $ 44.50                              
Settlement conversion price (dollars per share) | $ / shares                   $ 35.60                              
Debt issuance costs                   $ 1,600,000                              
Unamortized discount                   $ 19,000,000.0                              
Interest rate, effective percentage                   11.90%                              
Senior Notes, due December 2019 | Convertible Notes Payable                                                  
Debt Instrument [Line Items]                                                  
Gross cash proceeds           $ 29,300,000                                      
Delayed Draw Term Loan A | Term Loan                                                  
Debt Instrument [Line Items]                                                  
Debt issuance costs                 500,000                                
Proceeds from lines of credit                     $ 10,000,000.0                            
Amount drawn               $ 20,000,000.0                                  
Delayed Draw Term Loan A | Term Loan | Line of Credit                                                  
Debt Instrument [Line Items]                                                  
Aggregate principal amount                 30,000,000.0                                
Delayed Draw Term Loan A | Term Loan | Minimum                                                  
Debt Instrument [Line Items]                                                  
Interest rate, effective percentage                             9.60%         9.60%   9.60%      
Delayed Draw Term Loan A | Term Loan | Maximum                                                  
Debt Instrument [Line Items]                                                  
Interest rate, effective percentage                             10.90%         10.90%   10.90%      
Delayed Draw Term Loan B | Term Loan | Line of Credit                                                  
Debt Instrument [Line Items]                                                  
Aggregate principal amount                 15,000,000.0                                
Partial extinguishment of Convertible 3.75% Senior Notes                     $ 15,000,000.0                            
Series B Senior Unsecured Convertible Notes | Convertible Notes Payable                                                  
Debt Instrument [Line Items]                                                  
Stated interest rate           7.00%                                      
Debt instrument, convertible, conversion price (in dollars per share) | $ / shares       $ 7.20   $ 7.20         $ 7.20               $ 7.20            
Debt issuance costs           $ 2,300,000                                      
Gross cash proceeds           34,400,000                                      
Debt conversion, converted instrument, amount   $ 500,000                                              
Net proceeds from the offering           $ 26,900,000                                      
PIK interest           8.00%                                      
Increase to principal balance                               $ 0     $ 0            
Aggregate principal amount       $ 34,405,000             $ 34,405,000               $ 34,405,000            
Discount on principal amount   31.90%                                              
Extinguishment of liability component     $ 500,000                                            
Series B Senior Unsecured Convertible Notes | Convertible Notes Payable | Series B Convertible Note Holders                                                  
Debt Instrument [Line Items]                                                  
Stated interest rate     7.00%                                            
PIK interest     8.00%                                            
Discount on principal amount     10.00%                                            
Series B Senior Unsecured Convertible Notes | Convertible Notes Payable | 2023 Note Holders                                                  
Debt Instrument [Line Items]                                                  
Discount on principal amount     55.00%                                            
Series B Senior Unsecured Convertible Notes | Convertible Notes Payable | 2023 Series A Unsecured Convertible Notes for Series B Senior Unsecured Convertible Notes                                                  
Debt Instrument [Line Items]                                                  
Debt issuance costs                             $ 200,000         $ 200,000   $ 200,000      
Debt conversion, converted instrument, amount           $ 5,100,000                                      
Carrying value of original debt                             7,200,000         7,200,000   7,200,000      
Fair value of embedded derivative liability                             2,000,000.0         2,000,000.0   2,000,000.0      
Future undiscounted cash flows                             $ 6,800,000         $ 6,800,000   $ 6,800,000      
Series A Unsecured Convertible Notes due 2023 | Convertible Notes Payable                                                  
Debt Instrument [Line Items]                                                  
Debt conversion, converted instrument, amount   $ 59,000,000.0                                              
Discount on principal amount   53.40%                                              
Extinguishment of liability component     $ 19,300,000                                            
Series A Unsecured Convertible Notes due 2023 | Convertible Notes Payable | 2023 Series A Unsecured Convertible Notes for Series B Senior Unsecured Convertible Notes                                                  
Debt Instrument [Line Items]                                                  
Original exchange amount           $ 9,000,000.0                                      
Senior Notes, Due 2023                                                  
Debt Instrument [Line Items]                                                  
Interest rate at period end                             27.40%         27.40%   27.40%      
Face amount of the 2023 Loan (due February 2023) | Term Loan                                                  
Debt Instrument [Line Items]                                                  
Aggregate principal amount                             $ 86,605,000         $ 86,605,000   $ 86,605,000 $ 102,905,000    
2023 Series D Convertible Notes | Convertible Notes Payable                                                  
Debt Instrument [Line Items]                                                  
Stated interest rate     9.50%                                         18.00%  
Debt instrument, convertible, conversion price (in dollars per share) | $ / shares     $ 2.78                                            
Gross cash proceeds     $ 10,000,000.0                                            
Original exchange amount     32,300,000                                            
Debt conversion, converted instrument, amount $ 50,300,000                                                
Increase to principal balance                                       0.0          
Aggregate principal amount     $ 13,800,000                                            
Conversion premium percentage     20.00%                                            
Consecutive trading days | loan     10                                            
Default threshold percentage     25.00%                                            
Debt conversion, shares issued (in shares) | shares 29,862,641                                                
Sale of stock, price per share (usd per share) | $ / shares $ 0.90                                                
2023 Series D Convertible Notes | Convertible Notes Payable | Debt Instrument, Redemption, Period One                                                  
Debt Instrument [Line Items]                                                  
Conversion price percentage     100.00%                                            
2023 Series D Convertible Notes | Convertible Notes Payable | Debt Instrument, Redemption, Period Two                                                  
Debt Instrument [Line Items]                                                  
Conversion price percentage     75.00%                                            
2023 Series D Convertible Notes | Convertible Notes Payable | Debt Instrument, Redemption, Period Three                                                  
Debt Instrument [Line Items]                                                  
Conversion price percentage     50.00%                                            
2023 Series D Convertible Notes | Convertible Notes Payable | Series B Convertible Note Holders                                                  
Debt Instrument [Line Items]                                                  
Debt conversion, converted instrument, amount     $ 35,900,000                                            
2023 Series D Convertible Notes | Convertible Notes Payable | 2023 Note Holders                                                  
Debt Instrument [Line Items]                                                  
Original exchange amount     3,700,000                                            
Debt conversion, converted instrument, amount     $ 8,200,000                                            
2023 Series D Convertible Notes | Convertible Notes Payable | Maximum                                                  
Debt Instrument [Line Items]                                                  
Stated interest rate     18.00%                                            
2023 Series D Convertible Notes | Convertible Notes Payable                                                  
Debt Instrument [Line Items]                                                  
Debt instrument, convertible, conversion price (in dollars per share) | $ / shares   $ 1.50                                              
Debt issuance costs                                 $ 600,000                
Original exchange amount                                       $ 3,100,000          
Debt conversion, converted instrument, amount   $ 27,900,000                                       $ 27,600,000      
Aggregate principal amount   50,100,000                                              
Default threshold percentage                                       25.00%          
Extinguishment gain                                       $ 5,400,000          
Debt conversion, shares issued (in shares) | shares                                           18,400,000      
Conversion rate                                       666.6667%          
Inducement loss                                       $ 1,900,000          
2023 Series D Convertible Notes | Convertible Notes Payable | 2023 Series D Convertible Notes in exchange for 2023 Series A Convertible Notes                                                  
Debt Instrument [Line Items]                                                  
Original exchange amount   27,500,000                                              
2023 Series D Convertible Notes | Convertible Notes Payable | 2023 Series D Convertible Notes in Exchange for 2023 Series B Convertible Notes                                                  
Debt Instrument [Line Items]                                                  
Original exchange amount   $ 400,000                                              
Delayed Draw Term Loan C | Term Loan | Line of Credit                                                  
Debt Instrument [Line Items]                                                  
Aggregate principal amount $ 4,600,000                           $ 4,600,000         4,600,000   $ 4,600,000      
2023 Term Loan                                                  
Debt Instrument [Line Items]                                                  
Increase to principal balance                                       $ 5,100,000          
Paid-in-kind interest option term                                       24 months          
2023 Term Loan | Minimum                                                  
Debt Instrument [Line Items]                                                  
Interest rate, effective percentage                             16.60%         16.60%   16.60%      
2023 Term Loan | Maximum                                                  
Debt Instrument [Line Items]                                                  
Interest rate, effective percentage                             17.70%         17.70%   17.70%      
2023 Term Loan | Term Loan | Line of Credit                                                  
Debt Instrument [Line Items]                                                  
Aggregate principal amount                 $ 50,000,000.0