Quarterly Information (Unaudited) - Schedule of Quarterly Financial Information (Details) - USD ($) |
3 Months Ended | 12 Months Ended | |||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Aug. 15, 2019 |
May 15, 2019 |
Oct. 31, 2020 |
Jul. 31, 2020 |
Apr. 30, 2020 |
Jan. 31, 2020 |
Oct. 31, 2019 |
Jul. 31, 2019 |
Apr. 30, 2019 |
Jan. 31, 2019 |
Oct. 31, 2020 |
Oct. 31, 2019 |
Oct. 31, 2018 |
|||
| Quarterly Financial Information [Line Items] | |||||||||||||||
| Revenues | $ 16,999,000 | $ 18,728,000 | $ 18,880,000 | $ 16,264,000 | $ 11,041,000 | $ 22,712,000 | $ 9,216,000 | $ 17,783,000 | $ 70,871,000 | $ 60,752,000 | $ 89,437,000 | ||||
| Gross profit (loss) | (8,045,000) | (3,128,000) | 167,000 | 3,281,000 | (23,389,000) | 7,965,000 | (3,640,000) | (2,205,000) | (7,725,000) | (21,269,000) | |||||
| Loss from operations | (17,122,000) | (10,762,000) | (8,142,000) | (3,140,000) | (32,992,000) | (1,070,000) | (17,623,000) | (15,244,000) | (39,166,000) | (66,929,000) | (44,632,000) | ||||
| Net loss | (18,856,000) | (15,331,000) | (14,769,000) | (40,151,000) | (35,179,000) | (5,311,000) | (19,530,000) | (17,548,000) | (89,107,000) | (77,568,000) | (47,334,000) | ||||
| Series B Preferred stock dividends | (3,200,000) | ||||||||||||||
| Net loss to common stockholders | $ (19,656,000) | $ (16,131,000) | $ (15,569,000) | $ (41,082,000) | $ (36,003,000) | $ (8,328,000) | $ (22,876,000) | $ (33,038,000) | $ (92,438,000) | $ (100,245,000) | (62,168,000) | ||||
| Net loss to common stockholders per basic and diluted common share | [1] | $ (0.08) | $ (0.07) | $ (0.07) | $ (0.20) | $ (0.23) | $ (0.18) | $ (2.06) | $ (3.97) | $ (0.42) | $ (1.82) | ||||
| Change in fair value of common stock warrant liability | $ (37,086,000) | $ 0 | 0 | ||||||||||||
| Series B Preferred Stock [Member] | |||||||||||||||
| Quarterly Financial Information [Line Items] | |||||||||||||||
| Series B Preferred stock dividends | $ 0 | $ 0 | $ (800,000) | $ (800,000) | $ (800,000) | $ (931,000) | $ (821,000) | $ (810,000) | $ (800,000) | $ (800,000) | (3,331,000) | (3,231,000) | (3,200,000) | ||
| Series A Warrant [Member] | |||||||||||||||
| Quarterly Financial Information [Line Items] | |||||||||||||||
| Change in fair value of common stock warrant liability | (3,169,000) | $ 0 | (3,169,000) | $ 0 | |||||||||||
| Series C Preferred Stock [Member] | |||||||||||||||
| Quarterly Financial Information [Line Items] | |||||||||||||||
| Series C preferred stock deemed (dividends) contributions and redemption value adjustment | 884,000 | 1,599,000 | (9,005,000) | (6,522,000) | |||||||||||
| Series D Preferred Stock [Member] | |||||||||||||||
| Quarterly Financial Information [Line Items] | |||||||||||||||
| Series D preferred stock deemed dividends and redemption accretion | $ (3,000) | $ (3,091,000) | $ (976,000) | $ (5,685,000) | $ (9,755,000) | ||||||||||
| |||||||||||||||