Quarterly report pursuant to Section 13 or 15(d)

Stockholders' Equity (Details)

v3.21.1
Stockholders' Equity (Details)
$ / shares in Units, $ in Thousands
1 Months Ended 3 Months Ended
Mar. 31, 2018
shares
Mar. 31, 2021
USD ($)
shares
Mar. 31, 2020
USD ($)
Apr. 30, 2020
USD ($)
Apr. 29, 2020
$ / shares
shares
Class of Stock [Line Items]          
Proceeds from warrant exercises | $   $ 8,177 $ 0    
Conversion ratio   1      
Convertible Preferred Stock          
Class of Stock [Line Items]          
Number of shares issued in transaction (in shares) | shares 6,100,000        
Common Stock Purchase Warrants, One | Term loan | 2019 Term Loan          
Class of Stock [Line Items]          
Number of shares for purchase under warrant (in shares) | shares   6,000,000.0      
Proceeds from warrant exercises | $   $ 8,200      
2020 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
At-the-Market Program          
Class of Stock [Line Items]          
Number of shares issued in transaction (in shares) | shares   38,700,000      
Net proceeds from sale of stock | $   $ 89,200      
Sale of stock, remaining capacity for sale amount | $   $ 241,900   $ 226,300