Annual report pursuant to Section 13 and 15(d)

Fair Value Measurements - Additional Information (Details)

v3.21.1
Fair Value Measurements - Additional Information (Details) - Significant Unobservable Inputs (Level 3)
Dec. 31, 2020
Dec. 31, 2019
Fair Value Balance Sheet Grouping Financial Statement Captions [Line Items]    
Warrant liabilities, maturity date Jun. 12, 2023  
Stock Price Volatility    
Fair Value Balance Sheet Grouping Financial Statement Captions [Line Items]    
Derivative liabilities, unobservable inputs rate 58.1  
Stock Price Volatility | Minimum    
Fair Value Balance Sheet Grouping Financial Statement Captions [Line Items]    
Warrant liabilities, stock price volatility rate 71.8  
Derivative liabilities, unobservable inputs rate 56.5  
Stock Price Volatility | Maximum    
Fair Value Balance Sheet Grouping Financial Statement Captions [Line Items]    
Warrant liabilities, stock price volatility rate 86.6  
Derivative liabilities, unobservable inputs rate 60.1  
Stock Price Volatility | Weighted Average    
Fair Value Balance Sheet Grouping Financial Statement Captions [Line Items]    
Warrant liabilities, stock price volatility rate 78.0  
Weighted Average Expected Term    
Fair Value Balance Sheet Grouping Financial Statement Captions [Line Items]    
Warrant liabilities, expected term 1 year 2 months 12 days  
Weighted Average Expected Term | Minimum    
Fair Value Balance Sheet Grouping Financial Statement Captions [Line Items]    
Warrant liabilities, expected term   10 months 24 days
Weighted Average Expected Term | Maximum    
Fair Value Balance Sheet Grouping Financial Statement Captions [Line Items]    
Warrant liabilities, expected term   2 years 6 months
Market Credit Spread    
Fair Value Balance Sheet Grouping Financial Statement Captions [Line Items]    
Derivative liabilities, unobservable inputs rate 1,458  
Estimated Yield    
Fair Value Balance Sheet Grouping Financial Statement Captions [Line Items]    
Derivative liabilities, unobservable inputs rate 14.9  
Discounts for Lack of Marketability | March 2019 Notes    
Fair Value Balance Sheet Grouping Financial Statement Captions [Line Items]    
Senior convertible notes, unobservable inputs rate 7.0