Convertible Debt (Details) $ / shares in Units, shares in Millions | | | | | | | | | | | | | | | | 3 Months Ended | 9 Months Ended | | | |
Sep. 26, 2023 USD ($) tradingDay $ / shares shares | Sep. 11, 2023 USD ($) $ / shares | Aug. 02, 2023 USD ($) tradingDay $ / shares shares | Jun. 30, 2023 USD ($) tradingDay $ / shares | Apr. 24, 2023 USD ($) $ / shares | Jan. 13, 2023 USD ($) | Dec. 31, 2022 USD ($) | Nov. 11, 2022 shares | Nov. 10, 2022 USD ($) | Sep. 06, 2022 shares | Aug. 26, 2022 USD ($) | Jul. 22, 2022 USD ($) $ / shares | Jul. 21, 2022 | Jul. 20, 2022 USD ($) $ / shares | May 10, 2022 | Sep. 30, 2023 USD ($) $ / shares | Sep. 30, 2022 USD ($) | Sep. 30, 2023 USD ($) tradingDay $ / shares shares | Sep. 30, 2022 USD ($) | Apr. 23, 2023 USD ($) | Nov. 09, 2022 $ / shares | Oct. 05, 2022 USD ($) |
Debt Conversion [Line Items] | | | | | | | | | | | | | | | | | | | | | | |
Purchase price of common stock, percent | | | | | | | | | | | | | | | | | | 130.40% | | | | |
Purchase share price (in dollars per share) | $ / shares | | | | | | | | | | | | | | | | $ 0.63 | | $ 0.63 | | | | |
Proceeds from PPA | | | | | | | | | | | | | | | | | | $ 16,751,000 | $ 89,100,000 | | | |
Loss on extinguishment of debt | | | | | | | | | | | | | | | | $ 2,573,000 | $ 4,095,000 | 30,261,000 | 4,095,000 | | | |
Other noncash income (expense) | | | | | | | | | | | | | | | | | | (839,000) | 0 | | | |
Non-cash interest expense | | | | | | | | | | | | | | | | | | $ 2,234,000 | $ 1,316,000 | | | |
Convertible Debt | | | | | | | | | | | | | | | | | | | | | | |
Debt Conversion [Line Items] | | | | | | | | | | | | | | | | | | | | | | |
Purchase price of common stock, percent | | | | | 95% | | | | | | | | | | | | | | | | | |
Convertible Debt | Second Convertible Debentures and Warrants | | | | | | | | | | | | | | | | | | | | | | |
Debt Conversion [Line Items] | | | | | | | | | | | | | | | | | | | | | | |
Debt instrument exercise price (in dollars per share) | $ / shares | | | | $ 0.67 | | | | | | | | | | | | | | | | | | |
Convertible Debt | Third Convertible Debentures and Warrants | | | | | | | | | | | | | | | | | | | | | | |
Debt Conversion [Line Items] | | | | | | | | | | | | | | | | | | | | | | |
Debt instrument exercise price (in dollars per share) | $ / shares | | | $ 0.67 | | | | | | | | | | | | | | | | | | | |
Convertible Debt | Fourth Convertible Debentures and Warrants | | | | | | | | | | | | | | | | | | | | | | |
Debt Conversion [Line Items] | | | | | | | | | | | | | | | | | | | | | | |
Debt instrument exercise price (in dollars per share) | $ / shares | $ 0.67 | | | | | | | | | | | | | | | | | | | | | |
Common stock | | | | | | | | | | | | | | | | | | | | | | |
Debt Conversion [Line Items] | | | | | | | | | | | | | | | | | | | | | | |
Purchase share price (in dollars per share) | $ / shares | | | | | | | | | | | | | | | | $ 0.62 | | $ 0.62 | | | $ 1.11 | |
Yorkville Warrants | Convertible Debt | | | | | | | | | | | | | | | | | | | | | | |
Debt Conversion [Line Items] | | | | | | | | | | | | | | | | | | | | | | |
Long-Term Debt | | | | | | | | | | | | | | | | $ 1,300,000 | | $ 1,300,000 | | | | |
Loss On Issuance Of Debt | | | | | | | | | | | | | | | | (69,600,000) | | (69,600,000) | | | | |
Convertible debt, fair value | | | | | | | | | | | | | | | | 72,800,000 | | $ 72,800,000 | | | | |
Yorkville Warrants | Convertible Debt | Second Convertible Debentures and Warrants | | | | | | | | | | | | | | | | | | | | | | |
Debt Conversion [Line Items] | | | | | | | | | | | | | | | | | | | | | | |
Aggregate principal amount | | | | $ 26,600,000 | | | | | | | | | | | | | | | | | | |
Percentage of original issue discount | | | | 6% | | | | | | | | | | | | | | | | | | |
Number of days to exceed target price | tradingDay | | | | 5 | | | | | | | | | | | | | | | | | | |
Yorkville Warrants | Convertible Debt | Third Convertible Debentures and Warrants | | | | | | | | | | | | | | | | | | | | | | |
Debt Conversion [Line Items] | | | | | | | | | | | | | | | | | | | | | | |
Aggregate principal amount | | | $ 27,900,000 | | | | | | | | | | | | | | | | | | | |
Unamortized discount, percent | | | 6% | | | | | | | | | | | | | | | | | | | |
Additional aggregate principal amount | | | | $ 53,200,000 | | | | | | | | | | | | | | | | | | |
Number of days to exceed target price | tradingDay | | | 20 | | | | | | | | | | | | | | | | | | | |
Principal amount, exercised | | | $ 53,200,000 | | | | | | | | | | | | | | | | | | | |
Yorkville Warrants | Convertible Debt | Fourth Convertible Debentures and Warrants | | | | | | | | | | | | | | | | | | | | | | |
Debt Conversion [Line Items] | | | | | | | | | | | | | | | | | | | | | | |
Aggregate principal amount | $ 15,000,000 | | | | | | | | | | | | | | | | | | | | | |
Percentage of original issue discount | 16.50% | | | | | | | | | | | | | | | | | | | | | |
Number of days to exceed target price | tradingDay | 20 | | | | | | | | | | | | | | | | | | | | | |
Principal amount, exercised | $ 30,000,000 | | | | | | | | | | | | | | | | | | | | | |
Yorkville Warrants | Common stock | Convertible Debt | Third Convertible Debentures and Warrants | | | | | | | | | | | | | | | | | | | | | | |
Debt Conversion [Line Items] | | | | | | | | | | | | | | | | | | | | | | |
Purchase share price (in dollars per share) | $ / shares | | | | $ 0.54 | | | | | | | | | | | | | | | | | | |
Yorkville Warrants | Common stock | Convertible Debt | Fourth Convertible Debentures and Warrants | | | | | | | | | | | | | | | | | | | | | | |
Debt Conversion [Line Items] | | | | | | | | | | | | | | | | | | | | | | |
Purchase share price (in dollars per share) | $ / shares | $ 0.54 | | | | | | | | | | | | | | | | | | | | | |
Yorkville Warrants | Common stock | Convertible Debt | Minimum | Third Convertible Debentures and Warrants | | | | | | | | | | | | | | | | | | | | | | |
Debt Conversion [Line Items] | | | | | | | | | | | | | | | | | | | | | | |
Issuance of shares under Legal Settlement (in shares) | shares | | | 49.6 | | | | | | | | | | | | | | | | | | | |
Yorkville Warrants | Common stock | Convertible Debt | Minimum | Fourth Convertible Debentures and Warrants | | | | | | | | | | | | | | | | | | | | | | |
Debt Conversion [Line Items] | | | | | | | | | | | | | | | | | | | | | | |
Issuance of shares under Legal Settlement (in shares) | shares | 28 | | | | | | | | | | | | | | | | | | | | | |
YA II PN, Ltd | | | | | | | | | | | | | | | | | | | | | | |
Debt Conversion [Line Items] | | | | | | | | | | | | | | | | | | | | | | |
Pre-paid advance agreement, in cash advances | | | | | | | | | | | | | | $ 50,000,000 | | | | | | | | |
Pre-paid advance agreement, in commitment amount | | | | | | | | | | | | | | $ 300,000,000 | | | | | | | | |
Purchase price of common stock, percent | | | | | | | | | | | | 110% | 95% | 120% | | | | | | | | |
Purchase share price (in dollars per share) | $ / shares | | | | | $ 0.14 | | | | | | | $ 0.50 | | $ 1 | | | | | | | | |
Number of trading days | tradingDay | | | | | | | | | | | | | | | | | | 5 | | | | |
Pre-paid advance agreement, annual rate | | | | | | | | | | | | | | | 5% | | | | | | | |
Pre-paid advance agreement, increase upon to default | | | | | | | | | | | | | | | 15% | | | | | | | |
Maturity period (in months) | | | | | | | | | | | | 15 months | | | | | | | | | | |
Repayments on pre-paid purchase agreement | | | | | | | | | | | | | | | | | | $ 2,500,000 | | | | |
Loss on extinguishment of debt | | | | | | | | | | | | | | | | | | 26,700,000 | | | | |
Other noncash income (expense) | | | | | | | | | | | | | | | | | | 500,000 | | | | |
Non-cash interest expense | | | | | | | | | | | | | | | | 100,000 | | $ 5,500,000 | | | | |
YA II PN, Ltd | Convertible Debt | | | | | | | | | | | | | | | | | | | | | | |
Debt Conversion [Line Items] | | | | | | | | | | | | | | | | | | | | | | |
Purchase share price (in dollars per share) | $ / shares | | | | | $ 0.10 | | | | | | | | | | | | | | | | | |
Number of trading days | tradingDay | | | | | | | | | | | | | | | | | | 5 | | | | |
Maturity period (in months) | | | | | 14 months | | | | | | | | | | | | | | | | | |
Aggregate fair value | | | | | $ 41,400,000 | | | | | | | | | | | $ 800,000 | | $ 800,000 | | $ 45,100,000 | | |
Number of consecutive trading days | tradingDay | | | | | | | | | | | | | | | | | | 7 | | | | |
Option, number of consecutive trading days | tradingDay | | | | | | | | | | | | | | | | | | 3 | | | | |
Option, number of trading days | tradingDay | | | | | | | | | | | | | | | | | | 10 | | | | |
Redemption premium | | | | | 5% | | | | | | | | | | | | | | | | | |
Aggregate principal amount | | | | | $ 48,000,000 | | | | | | | | | | | | | | | | | |
Percentage of original issue discount | | | | | 6% | | | | | | | | | | | | | | | | | |
Standby equity purchase agreement, exchange cap, maximum ownership amount | | | | | $ 95,400,000 | | | | | | | | | | | | | | | | | |
Stated interest rate | | | | | 1% | | | | | | | | | | | | | | | | | |
Debt instrument, interest rate, increase (decrease) | | | | | 15% | | | | | | | | | | | | | | | | | |
YA II PN, Ltd | April Convertible Debenture | | | | | | | | | | | | | | | | | | | | | | |
Debt Conversion [Line Items] | | | | | | | | | | | | | | | | | | | | | | |
Purchase share price (in dollars per share) | $ / shares | | | | | $ 1 | | | | | | | | | | | | | | | | | |
YA II PN, Ltd | July Convertible Debenture | | | | | | | | | | | | | | | | | | | | | | |
Debt Conversion [Line Items] | | | | | | | | | | | | | | | | | | | | | | |
Purchase share price (in dollars per share) | $ / shares | | | | | $ 0.50 | | | | | | | | | | | | | | | | | |
YA II PN, Ltd | July, August And September Convertible Debentures | | | | | | | | | | | | | | | | | | | | | | |
Debt Conversion [Line Items] | | | | | | | | | | | | | | | | | | | | | | |
Stated interest rate | | | | | 3% | | | | | | | | | | | | | | | | | |
YA II PN, Ltd | Additional paid-in capital | | | | | | | | | | | | | | | | | | | | | | |
Debt Conversion [Line Items] | | | | | | | | | | | | | | | | | | | | | | |
Amount allocated to convertible debt from option exercised | | | | | $ 3,700,000 | | | | | | | | | | | | | | | | | |
YA II PN, Ltd | First Pre Paid Advance Agreement Member | | | | | | | | | | | | | | | | | | | | | | |
Debt Conversion [Line Items] | | | | | | | | | | | | | | | | | | | | | | |
Proceeds from PPA | | | | | | | | | | | | $ 49,500,000 | | | | | | | | | | |
YA II PN, Ltd | First Pre Paid Advance Agreement Member | Common stock | | | | | | | | | | | | | | | | | | | | | | |
Debt Conversion [Line Items] | | | | | | | | | | | | | | | | | | | | | | |
Issuance of shares under Legal Settlement (in shares) | shares | | | | | | | | | | 15.1 | | | | | | | | | | | | |
YA II PN, Ltd | Second Pre Paid Advance Agreement Member | | | | | | | | | | | | | | | | | | | | | | |
Debt Conversion [Line Items] | | | | | | | | | | | | | | | | | | | | | | |
Proceeds from PPA | | | | | | | | | | | $ 39,600,000 | | | | | | | | | | | |
Prepaid advance agreement, discount percent | | | | | | | | | | | 0.01 | | | | | | | | | | | |
YA II PN, Ltd | Side Letter To Pre Paid Advance Agreement Member | | | | | | | | | | | | | | | | | | | | | | |
Debt Conversion [Line Items] | | | | | | | | | | | | | | | | | | | | | | |
Pre-paid advance to minimum of settlement | | | | | | | | | | | | | | | | | | | | | | $ 1,000,000 |
YA II PN, Ltd | Third Pre Paid Advance Agreement Member | | | | | | | | | | | | | | | | | | | | | | |
Debt Conversion [Line Items] | | | | | | | | | | | | | | | | | | | | | | |
Purchase price of common stock, percent | | | | | | | | | | | | | | | | | | 111.20% | | | | |
Purchase share price (in dollars per share) | $ / shares | | | | | | | | | | | | | | | | $ 0.49 | | $ 0.49 | | | | |
Proceeds from PPA | | | | | | | | | $ 20,000,000 | | | | | | | | | | | | | |
YA II PN, Ltd | Fourth Pre Paid Advance Agreement Member | | | | | | | | | | | | | | | | | | | | | | |
Debt Conversion [Line Items] | | | | | | | | | | | | | | | | | | | | | | |
Proceeds from PPA | | | | | | | $ 32,000,000 | | | | | | | | | | | | | | | |
Proceeds from additional amount of prepaid advance agreement | | | | | | | 8,500,000 | | | | | | | | | | | | | | | |
Proceeds from partial exercise prepaid advance agreement | | | | | | $ 5,300,000 | | | | | | | | | | | | | | | | |
Net proceeds from exercise in prepaid advance agreement | | | | | | $ 5,000,000 | | | | | | | | | | | | | | | | |
Aggregate fair value | | | | | | | | | | | | | | | | $ 14,800,000 | | $ 14,800,000 | | | | |
YA II PN, Ltd | Fourth Pre Paid Advance Agreement Member | Additional paid-in capital | | | | | | | | | | | | | | | | | | | | | | |
Debt Conversion [Line Items] | | | | | | | | | | | | | | | | | | | | | | |
Amount allocated to convertible debt from option exercised | | | | | | | $ 2,300,000 | | | | | | | | | | | | | | | |
YA II PN, Ltd | Pre Paid Advance Agreement | | | | | | | | | | | | | | | | | | | | | | |
Debt Conversion [Line Items] | | | | | | | | | | | | | | | | | | | | | | |
Redemption premium | | | | | | | | | | | | | | | | 3% | | 3% | | | | |
YA II PN, Ltd | Fifth Pre Paid Advance Agreement | | | | | | | | | | | | | | | | | | | | | | |
Debt Conversion [Line Items] | | | | | | | | | | | | | | | | | | | | | | |
Proceeds from PPA | | $ 12,500,000 | | | | | | | | | | | | | | | | | | | | |
Amount allocated to convertible debt from option exercised | | 6,000,000 | | | | | | | | | | | | | | | | | | | | |
Proceed from commitment fee and the purchase price discount provided for prepaid advance agreement | | $ 11,800,000 | | | | | | | | | | | | | | | | | | | | |
YA II PN, Ltd | Fifth Pre Paid Advance Agreement | Maximum | | | | | | | | | | | | | | | | | | | | | | |
Debt Conversion [Line Items] | | | | | | | | | | | | | | | | | | | | | | |
Purchase share price (in dollars per share) | $ / shares | | $ 0.50 | | | | | | | | | | | | | | | | | | | | |
YA II PN, Ltd | Fifth Pre Paid Advance Agreement | Minimum | | | | | | | | | | | | | | | | | | | | | | |
Debt Conversion [Line Items] | | | | | | | | | | | | | | | | | | | | | | |
Purchase share price (in dollars per share) | $ / shares | | $ 0.10 | | | | | | | | | | | | | | | | | | | | |
YA II PN, Ltd | Common stock | | | | | | | | | | | | | | | | | | | | | | |
Debt Conversion [Line Items] | | | | | | | | | | | | | | | | | | | | | | |
Exchange cap, maximum ownership percent | | | | | | | | | | | | | | | 19.90% | | | | | | | |
Issuance of shares under Legal Settlement (in shares) | shares | | | | | | | | | | | | | | | | | | 14.2 | | | | |
YA II PN, Ltd | Common stock | Convertible Debt | | | | | | | | | | | | | | | | | | | | | | |
Debt Conversion [Line Items] | | | | | | | | | | | | | | | | | | | | | | |
Issuance of shares under Legal Settlement (in shares) | shares | | | | | | | | | | | | | | | | | | 95.4 | | | | |
Loss on extinguishment of debt | | | | | | | | | | | | | | | | | | $ 3,500,000 | | | | |
YA II PN, Ltd | Common stock | Second Pre Paid Advance Agreement Member | | | | | | | | | | | | | | | | | | | | | | |
Debt Conversion [Line Items] | | | | | | | | | | | | | | | | | | | | | | |
Issuance of shares under Legal Settlement (in shares) | shares | | | | | | | | 19.4 | | | | | | | | | | | | | | |
YA II PN, Ltd | Common stock | Pre Paid Advance Agreement | | | | | | | | | | | | | | | | | | | | | | |
Debt Conversion [Line Items] | | | | | | | | | | | | | | | | | | | | | | |
Issuance of shares under Legal Settlement (in shares) | shares | | | | | | | | | | | | | | | | | | 66.8 | | | | |
YA II PN, Ltd | Common stock | Fifth Pre Paid Advance Agreement | | | | | | | | | | | | | | | | | | | | | | |
Debt Conversion [Line Items] | | | | | | | | | | | | | | | | | | | | | | |
Issuance of shares under Legal Settlement (in shares) | shares | | | | | | | | | | | | | | | | | | 15.1 | | | | |