Quarterly report pursuant to Section 13 or 15(d)

Stockholders' Equity (Details)

v3.20.2
Stockholders' Equity (Details)
$ / shares in Units, $ in Thousands
1 Months Ended 3 Months Ended 6 Months Ended 9 Months Ended
Jul. 24, 2020
$ / shares
shares
Apr. 29, 2020
USD ($)
$ / shares
shares
Apr. 28, 2020
USD ($)
Mar. 23, 2020
USD ($)
$ / shares
shares
Feb. 11, 2020
USD ($)
$ / shares
shares
Mar. 31, 2018
shares
Sep. 30, 2020
USD ($)
Jun. 30, 2020
shares
Sep. 30, 2020
USD ($)
numberOfAmendment
shares
Sep. 30, 2019
USD ($)
Dec. 31, 2019
USD ($)
Class of Stock [Line Items]                      
Proceeds from common stock issuances                 $ 73,986 $ 0  
Debt instrument, number of amendments | numberOfAmendment                 4    
Warrant liability             $ 3,333   $ 3,333   $ 0
Unrealized gain (loss) on warrant             3,700   $ 1,700    
Conversion ratio                 1    
Senior note | 2020 Unsecured Note                      
Class of Stock [Line Items]                      
Number of shares for purchase under warrant (in shares) | shares   20,000,000.0                  
Fair value of warrant   $ 16,100                  
Term loan | Third Amendment of 2019 Term Loan                      
Class of Stock [Line Items]                      
Decrease of common stock called by warrant (in shares) | shares               2,000,000.0      
Fair value adjustments of warrants     $ 5,700                
Convertible Preferred Stock                      
Class of Stock [Line Items]                      
Number of shares issued in transaction (in shares) | shares           6,100,000          
Unsecured Warrant | Senior note | 2020 Unsecured Note                      
Class of Stock [Line Items]                      
Number of shares for purchase under warrant (in shares) | shares   20,000,000.0                  
Common stock purchase price (in dollars per share) | $ / shares   $ 1.542                  
Fair value of warrant   $ 16,100                  
Warrant term (in years)                 5 years    
Original Warrant | Term loan | Second Amendment of 2019 Term Loan                      
Class of Stock [Line Items]                      
Number of shares for purchase under warrant (in shares) | shares       1,500,000              
Common stock purchase price (in dollars per share) | $ / shares       $ 10.00              
Replacement Warrant                      
Class of Stock [Line Items]                      
Number of shares for purchase under warrant (in shares) | shares       6,848,000              
Replacement Warrant | Immediately                      
Class of Stock [Line Items]                      
Number of shares for purchase under warrant (in shares) | shares       3,000,000              
Replacement Warrant | March 23, 2021                      
Class of Stock [Line Items]                      
Number of shares for purchase under warrant (in shares) | shares       1,924,000              
Replacement Warrant | June 23, 2021                      
Class of Stock [Line Items]                      
Number of shares for purchase under warrant (in shares) | shares       1,924,000              
Replacement Warrant | Term loan | Second Amendment of 2019 Term Loan                      
Class of Stock [Line Items]                      
Number of shares for purchase under warrant (in shares) | shares       9,000,000.0              
Common stock purchase price (in dollars per share) | $ / shares       $ 1.00              
Fair value of warrant       $ 3,600              
Fair value adjustments of warrants       300              
Warrant liability       $ 2,400              
Accrued and other liabilities             2,300   $ 2,300    
Replacement Warrant | Term loan | Third Amendment of 2019 Term Loan                      
Class of Stock [Line Items]                      
Warrant term (in years)                 5 years    
Third Amendment Warrant | Term loan | Third Amendment of 2019 Term Loan                      
Class of Stock [Line Items]                      
Number of shares for purchase under warrant (in shares) | shares   4,700,000                  
Common stock purchase price (in dollars per share) | $ / shares   $ 1.542                  
Fair value of warrant   $ 5,700                  
Warrant term (in years)   5 years                  
Fair value adjustments of warrants     $ 2,900                
Warrant liability   $ 2,800                  
Accrued and other liabilities             1,100   $ 1,100    
Equity Offering in Feb 2020 | Common Stock                      
Class of Stock [Line Items]                      
Number of shares issued in transaction (in shares) | shares         2,114,591            
Sale of stock, price per share (in dollars per share) | $ / shares         $ 6.36            
Net proceeds from sale of stock         $ 13,100            
Equity Offering in July 2020 | Common Stock                      
Class of Stock [Line Items]                      
Number of shares issued in transaction (in shares) | shares 35,000,000                    
Sale of stock, price per share (in dollars per share) | $ / shares $ 1.00                    
Proceeds from common stock issuances         $ 32,800            
At-the-Market Program                      
Class of Stock [Line Items]                      
Number of shares issued in transaction (in shares) | shares                 19,558,548    
Net proceeds from sale of stock                 $ 25,000    
Sale of stock, remaining capacity for sale amount             $ 363,500   $ 363,500