Warrants (Details) $ / shares in Units, $ in Millions | Jun. 28, 2021USD ($)Y$ / sharesshares | Jun. 18, 2021shares | Jan. 19, 2021USD ($)Yshares | Jul. 16, 2021USD ($)Y$ / sharesshares | Jun. 27, 2021$ / shares |
Class of Warrant or Right [Line Items] | | | | | |
Issuance of common stock | shares | | 200,000 | | | |
Series E warrants | | | | | |
Class of Warrant or Right [Line Items] | | | | | |
Exercise price of warrants (in dollars per share) | $ / shares | $ 6 | | | | $ 10.64 |
Series G Warrants | | | | | |
Class of Warrant or Right [Line Items] | | | | | |
Number of warrants issued | shares | | | 1,000,000 | | |
Value of warrants issued | $ | | | $ 3 | | |
Series G Warrants | Risk Free Rate | | | | | |
Class of Warrant or Right [Line Items] | | | | | |
Warrant fair value measurement inputs | | | 0.0045 | | |
Series G Warrants | Remaining Life | | | | | |
Class of Warrant or Right [Line Items] | | | | | |
Warrant fair value measurement inputs | Y | | | 5 | | |
Series G Warrants | Expected dividends | | | | | |
Class of Warrant or Right [Line Items] | | | | | |
Warrant fair value measurement inputs | | | 0 | | |
Series G Warrants | Volatility | | | | | |
Class of Warrant or Right [Line Items] | | | | | |
Warrant fair value measurement inputs | | | 0.971 | | |
Series G Warrants Issued March 25, 2020 | | | | | |
Class of Warrant or Right [Line Items] | | | | | |
Exercise price of warrants (in dollars per share) | $ / shares | 6 | | | | 6.56 |
Series G Warrants Issued December 17, 2020 | | | | | |
Class of Warrant or Right [Line Items] | | | | | |
Exercise price of warrants (in dollars per share) | $ / shares | 6 | | | | 6.21 |
Series G Warrants Issued January 21, 2021 | | | | | |
Class of Warrant or Right [Line Items] | | | | | |
Exercise price of warrants (in dollars per share) | $ / shares | $ 6 | | | | $ 6.21 |
June 2021 warrants | | | | | |
Class of Warrant or Right [Line Items] | | | | | |
Issuance of common stock | shares | 7,929,384 | | | | |
New Unregistered Warrants | | | | | |
Class of Warrant or Right [Line Items] | | | | | |
Warrants purchased | shares | 5,947,039 | | | | |
Exercise price of warrants (in dollars per share) | $ / shares | $ 6 | | | | |
Fair value portion of warrants | $ | $ 18.5 | | | | |
Issuance of common stock | shares | 7,100,000 | | | | |
New Unregistered Warrants | Risk Free Rate | | | | | |
Class of Warrant or Right [Line Items] | | | | | |
Warrant fair value measurement inputs | 0.00898 | | | | |
New Unregistered Warrants | Remaining Life | | | | | |
Class of Warrant or Right [Line Items] | | | | | |
Warrant fair value measurement inputs | Y | 5 | | | | |
New Unregistered Warrants | Expected dividends | | | | | |
Class of Warrant or Right [Line Items] | | | | | |
Warrant fair value measurement inputs | 0 | | | | |
New Unregistered Warrants | Volatility | | | | | |
Class of Warrant or Right [Line Items] | | | | | |
Warrant fair value measurement inputs | 0.976 | | | | |
New Warrants | | | | | |
Class of Warrant or Right [Line Items] | | | | | |
Exercise price of warrants (in dollars per share) | $ / shares | | | | $ 4.038 | |
Warrants term | | | | 5 years | |
Fair value portion of warrants | $ | | | | $ 1.5 | |
New Warrants | Risk Free Rate | | | | | |
Class of Warrant or Right [Line Items] | | | | | |
Warrant fair value measurement inputs | | | | 0.0079 | |
New Warrants | Remaining Life | | | | | |
Class of Warrant or Right [Line Items] | | | | | |
Warrant fair value measurement inputs | Y | | | | 5 | |
New Warrants | Expected dividends | | | | | |
Class of Warrant or Right [Line Items] | | | | | |
Warrant fair value measurement inputs | | | | 0 | |
New Warrants | Volatility | | | | | |
Class of Warrant or Right [Line Items] | | | | | |
Warrant fair value measurement inputs | | | | 1.577 | |
New Warrants | Maximum | | | | | |
Class of Warrant or Right [Line Items] | | | | | |
Warrants purchased | shares | | | | 400,000 | |