XML 51 R42.htm IDEA: XBRL DOCUMENT v3.22.2
Credit Facility, Term Loans and Warrants - Additional Information (Details)
3 Months Ended 6 Months Ended 12 Months Ended
Mar. 22, 2022
USD ($)
$ / shares
shares
Dec. 31, 2021
USD ($)
$ / shares
Dec. 22, 2021
USD ($)
$ / shares
shares
Sep. 22, 2021
USD ($)
TradingDay
$ / shares
shares
Aug. 09, 2021
USD ($)
$ / shares
shares
Apr. 08, 2021
USD ($)
shares
Feb. 02, 2021
USD ($)
Dec. 01, 2020
USD ($)
Installment
Jun. 30, 2021
USD ($)
Jun. 30, 2022
USD ($)
$ / shares
Jun. 30, 2021
USD ($)
Dec. 31, 2021
USD ($)
$ / shares
Sep. 23, 2021
shares
Aug. 11, 2021
USD ($)
Debt Instrument [Line Items]                            
Loss from extinguishment $ (2,000,000.0)               $ 29,772,000   $ 29,772,000 $ 138,900,000    
Common stock shares issued | shares         2,666,667                  
Accounts receivable, net         $ 65,000,000.0                  
Cash and cash equivalents                 $ 61,934,000 $ 34,781,000 61,934,000      
Warrants exercise period after resale         60 days                  
Repaying of term loan                     59,500,000      
Common stock, par value | $ / shares   $ 0.0001               $ 0.0001   $ 0.0001    
Proceeds from warrant exercise                     $ 9,051,000      
Minimum                            
Debt Instrument [Line Items]                            
Increase minimum cash threshold covenant         $ 15,000,000.0                  
Cash and cash equivalents         30,000,000                  
Maximum                            
Debt Instrument [Line Items]                            
Increase minimum cash threshold covenant         30,000,000.0                  
Restricted Stock Awards                            
Debt Instrument [Line Items]                            
Loss from extinguishment           $ 4,100,000                
February Warrant, Penny Warrant and Additional Warrant                            
Debt Instrument [Line Items]                            
Reclassification from a liability to component of equity                   $ 80,000,000.0        
Reclassification from a component of equity to liability                   $ 21,300,000        
MidCap Credit Facility                            
Debt Instrument [Line Items]                            
Gross proceeds received     $ 27,600,000                      
Aggregate principal amount     $ 110,000,000.0                      
Warrants to purchase shares | shares     200,000                      
Credit facility maximum borrowing amount     $ 50,000,000.0     25,000,000.0                
Warrants to purchase shares, exercise price | $ / shares                   $ 4.70        
Available balance of credit facility   $ 0.0               $ 1,900,000   $ 0.0    
Debt offset against and expense over the term     3 years                      
Common stock, par value | $ / shares     $ 0.0001                      
Credit facility, interest rate per annum     5.50%                      
Credit facility, unused capacity, commitment fee percentage     0.50%                      
Line of credit facility, maximum liquidity requirements during the period     $ 12,500,000                      
Line of credit facility, maximum liquidity requirements at all other times, cash on hand     $ 15,000,000.0                      
Line of credit facility, covenant terms                   The Credit Agreement minimum liquidity covenant requires that Midcap shall not permit the credit party liquidity at any time to be less than (a) during the period commencing on February 1st through and including May 31st of each calendar year, $12.5 million and (b) at all other times, $15.0 million of cash on hand.        
Warrants term                   10 years        
Warrant                            
Debt Instrument [Line Items]                            
Initial liability on issuance                   $ 19,000,000.0        
Warrant liability                   $ 11,800,000        
Private Placement                            
Debt Instrument [Line Items]                            
Gross proceeds received           $ 14,800,000                
Securities Purchase Agreement | Common Stock                            
Debt Instrument [Line Items]                            
Warrants to purchase shares | shares 4,827,242                          
Number of common shares issued | shares 6,436,322                          
Securities Purchase Agreement | Common Stock Warrant                            
Debt Instrument [Line Items]                            
Warrants to purchase shares | shares 2,260,388                          
Accrued, Unpaid interest | $ / shares $ 2.91                          
Proceeds from warrant exercise $ 27,500,000                          
Securities Purchase Agreement | Prefunded Warrants | Common Stock Warrant                            
Debt Instrument [Line Items]                            
Warrants to purchase shares | shares 3,013,850                          
Accrued, Unpaid interest | $ / shares $ 2.9099                          
April Letter Agreement                            
Debt Instrument [Line Items]                            
Common stock shares issued | shares           130,000                
SPA Amendment                            
Debt Instrument [Line Items]                            
Warrant amendment description                   The Warrant Amendments amended the February Warrant, the Penny Warrant and the Additional Warrant to amend the definition of “Black Scholes Value” in each warrant to provide that the expected volatility used in the Black Scholes Value shall equal 100% instead of the greater of 100% and the 100-day volatility obtained from the HVT function on Bloomberg (determined utilizing a 365-day annualization factor) as of the trading day immediately following the public announcement of a Change of Control (as defined in each of the warrants), or, if the Change of Control is not publicly announced, the date the Change of Control is consummated.        
High Trail Loan December 2020 Note                            
Debt Instrument [Line Items]                            
Short-term Debt, Refinanced, Amount               $ 15,000,000.0            
Gross proceeds received               38,000,000.0            
Aggregate principal amount               $ 43,000,000.0            
Number of repayment installments | Installment               24            
Line of credit facility, frequency of payments               monthly            
Cash payments               $ 1,800,000            
High Trail February 2021 Note | 0% Coupon Senior Secured Promissory Note | Investor | Securities Purchase Agreement                            
Debt Instrument [Line Items]                            
Aggregate principal amount             $ 16,500,000              
Interest rate             0.00%              
Maturity date             Feb. 01, 2023              
High Trail Loans | Securities Purchase Agreement                            
Debt Instrument [Line Items]                            
Cash payments           $ 57,700,000                
High Trail Loans | Securities Purchase Agreement | Common Stock                            
Debt Instrument [Line Items]                            
Warrants to purchase shares | shares           2,259,166                
High Trail Loans | Senior Secured Promissory Notes | Securities Purchase Agreement | Private Placement                            
Debt Instrument [Line Items]                            
Interest rate           8.00%                
Maturity date           Apr. 08, 2024                
Aggregate principal amount           $ 110,000,000.0                
High Trail April 2021 Note                            
Debt Instrument [Line Items]                            
Loss from extinguishment           $ 28,200,000                
Event of default description                   On August 9, 2021, pursuant to those certain Letter Agreements entered into between the Company and High Trail with respect to each of the April 2021 Notes (collectively, the “August Letter Agreements”), High Trail notified the Company that High Trail declared an event of default under the April 2021 Notes as a result of the Company’s Adjusted EBITDA (as defined in the April 2021 Notes) not being equal to at least $12 million for the 12 month period ended June 30, 2021 and further notified the Company that High Trail immediately accelerated a total of $18.7 million of the principal amount of the April 2021 Notes, requiring the Company to immediately pay $21.5 million (such amount equal to 115% of the principal amount that was accelerated, as required under the terms of the April 2021 Notes, plus $0.3 million of accrued but unpaid interest on the principal amount that was accelerated) (the “Current Event of Default Acceleration Amount”).        
Accelerated principal amount         18,700,000                  
Debt instrument redemption amount         $ 21,500,000                  
Debt instrument redemption price percentage         115.00%                  
Accrued, Unpaid interest         $ 300,000                  
Base percentage used to calculate current event of default acceleration         80                  
Description of current event of default acceleration payment                   Pursuant to the August Letter Agreements, the Company agreed, among other things, to pay the Current Event of Default Acceleration Amount in cash by August 9, 2021 and that any portion not paid in cash would be paid in shares of the Company’s common stock under the terms of the April 2021 Notes, with the number of shares issuable equal to the unpaid Current Event of Default Acceleration Amount divided by 80% of the lesser of (i) the Daily VWAP (as defined in the April 2021 Notes) on August 9, 2021 and (ii) the average of the lowest two (2) Daily VWAPs during the ten (10) day VWAP trading period ending on August 9, 2021.        
High Trail April 2021 Note | Minimum                            
Debt Instrument [Line Items]                            
Debt instrument default amount         $ 12,000,000                  
High Trail April 2021 Note | Letter Agreements                            
Debt Instrument [Line Items]                            
Base percentage used to calculate current event of default acceleration         0.80                  
Payment in cash of current event of default acceleration amount         $ 10,100,000                  
Payment in shares of current event of default acceleration amount         $ 11,700,000                 $ 11,700,000
Payment in shares of current event of default acceleration shares | shares         2,841,251                  
Accrued, Unpaid interest | $ / shares         $ 4.1007                  
High Trail                            
Debt Instrument [Line Items]                            
Maturity date       Apr. 01, 2023                    
Loss from extinguishment   2,500,000                   2,500,000    
Accelerated principal amount       $ 66,300,000                    
Debt instrument redemption amount       $ 76,900,000                    
Debt instrument redemption price percentage       115.00%                    
Accrued, Unpaid interest       $ 300,000                    
Base percentage used to calculate current event of default acceleration       0.80                    
Warrant exercisable to common stock percentage       200.00%                    
Warrants consecutive trading days | TradingDay       20                    
Warrants to purchase shares, exercise price | $ / shares       $ 0.01                    
Common stock issued subject to satisfy obligation to repay acceleration amount | shares       3,474,814                 5,838,096  
Notes extinguished in exchange for debt repayment       $ 25,000,000.0                    
Repaying of term loan   25,000,000.0                        
High Trail | High Trail Debt Repayment                            
Debt Instrument [Line Items]                            
Loss from extinguishment                       107,000,000.0    
High Trail | High Trail April 2021 Notes Repayment                            
Debt Instrument [Line Items]                            
Loss from extinguishment                       28,200,000    
High Trail | High Trail Term Loan                            
Debt Instrument [Line Items]                            
Available balance of credit facility   $ 25,000,000.0                   25,000,000.0    
High Trail | Line of Credit                            
Debt Instrument [Line Items]                            
Loss from extinguishment                       $ 1,500,000    
High Trail | Minimum                            
Debt Instrument [Line Items]                            
Increase minimum cash threshold covenant       $ 15,000,000.0                    
Beneficial ownership limit, percentage       9.99%                    
High Trail | Maximum                            
Debt Instrument [Line Items]                            
Increase minimum cash threshold covenant       $ 30,000,000.0