Redeemable Preferred Stock - Additional Information (Details) $ / shares in Units, $ in Millions | Dec. 01, 2018USD ($)Installment | Aug. 29, 2018USD ($)shares | Aug. 27, 2018$ / sharesshares | Nov. 01, 2017USD ($)Installment | Jan. 31, 2019USD ($)TradingDay$ / sharesshares | Jan. 31, 2019CAD ($)TradingDayshares | Jan. 31, 2018USD ($) | Jan. 31, 2018CAD ($) | Oct. 31, 2018USD ($)$ / sharesshares | Oct. 31, 2017$ / sharesshares | Jan. 31, 2019CAD ($)shares | Jan. 02, 2019$ / shares | Dec. 17, 2018$ / shares | Dec. 03, 2018$ / shares | Oct. 31, 2018CAD ($)shares | Aug. 26, 2018$ / shares | Jan. 31, 2017$ / shares |
Class Of Stock [Line Items] | | | | | | | | | | | | | | | | | |
Preferred stock, shares authorized | shares | | | | | 250,000 | | | | | | 250,000 | | | | | | |
Preferred stock, par value | $ / shares | | | | | $ 0.01 | | | | | | | | | | | | |
Convertible preferred stock, reduction in carrying amount | | | | | $ 2,000,000 | | | | | | | | | | | | |
Percentage of stated redemption value adjustment | | | | | 108.00% | 108.00% | | | | | | | | | | | |
Installment Conversion of Series D Preferred Stock to Common Stock [Member] | | | | | | | | | | | | | | | | | |
Class Of Stock [Line Items] | | | | | | | | | | | | | | | | | |
Conversion of common stock, shares issued | shares | | | | | 11,185,733 | 11,185,733 | | | | | | | | | | | |
Convertible preferred stock, reduction in carrying amount | | | | | $ 4,300,000 | | | | | | | | | | | | |
Series B Cumulative Convertible Perpetual Preferred Stock [Member] | | | | | | | | | | | | | | | | | |
Class Of Stock [Line Items] | | | | | | | | | | | | | | | | | |
Preferred stock, shares authorized | shares | | | | | 105,875 | | | | 105,875 | | 105,875 | | | | 105,875 | | |
Preferred stock, dividend rate, percentage | | | | | 5.00% | 5.00% | | | | 5.00% | | | | | | | |
Preferred stock sale of shares | shares | | | | | 64,020 | | | | 64,020 | | 64,020 | | | | 64,020 | | |
Preferred stock redemption, stated value | | | | | $ 64,020,000 | | | | $ 64,020,000 | | | | | | | | |
Preferred stock shares outstanding | shares | | | | | 64,020 | | | | 64,020 | | 64,020 | | | | 64,020 | | |
Temporary equity, carrying amount, attributable to parent | | | | | $ 59,857,000 | | | | $ 59,857,000 | | | | | | | | |
Preferred stock, liquidation preference per share | $ / shares | | | | | $ 1,000 | | | | $ 1,000 | | | | | | | | |
Dividends, preferred stock, cash | | | | | $ 800,000 | | $ 800,000 | | | | | | | | | | |
Series D Preferred Stock [Member] | | | | | | | | | | | | | | | | | |
Class Of Stock [Line Items] | | | | | | | | | | | | | | | | | |
Preferred stock, dividend rate, percentage | | | | | 15.00% | 15.00% | | | | | | | | | | | |
Preferred stock sale of shares | shares | | 30,680 | | | | | | | | | | | | | | | |
Conversion of stock conversion price | $ / shares | | | | | $ 1.38 | | | | | | | | | | | | |
Proceeds from Issuance of preferred stock | | $ 25,300,000 | | | | | | | | | | | | | | | |
Convertible preferred stock, converted into common stock | shares | | | | | 5,254 | 5,254 | | | | | | | | | | | |
Preferred stock deemed dividends | | | | | $ 1,900,000 | | | | | | | | | | | | |
Preferred stock, redemption accretion value | | | | | $ 3,800,000 | | | | | | | | | | | | |
Conversion right description | | | | | The Series D Preferred Shares are convertible into shares of the Company’s common stock, subject to the requirements of Nasdaq Listing Rule 5635(d) and the beneficial ownership limitation provided in the Series D Certificate of Designation, at a conversion price equal to $1.38 per share of common stock, subject to adjustment as provided in the Series D Certificate of Designation, including adjustments if the Company sells shares of common stock or equity securities convertible into or exercisable for shares of common stock, at prices below $1.38 per share, in certain types of transactions. | The Series D Preferred Shares are convertible into shares of the Company’s common stock, subject to the requirements of Nasdaq Listing Rule 5635(d) and the beneficial ownership limitation provided in the Series D Certificate of Designation, at a conversion price equal to $1.38 per share of common stock, subject to adjustment as provided in the Series D Certificate of Designation, including adjustments if the Company sells shares of common stock or equity securities convertible into or exercisable for shares of common stock, at prices below $1.38 per share, in certain types of transactions. | | | | | | | | | | | |
Number of consecutive trading days | TradingDay | | | | | 5 | 5 | | | | | | | | | | | |
Threshold percentage of reserved for issuance of common stock issuable upon conversion | | | | | 150.00% | 150.00% | | | | | | | | | | | |
Preferred stock redemption maturity date | Mar. 1, 2020 | | | | | | | | | | | | | | | | |
Number of preferred stock redemption equal installments | Installment | 31 | | | | | | | | | | | | | | | | |
Preferred stock redemption, stated value | $ 30,680,000,000 | | | | $ 25,426,000 | | | | $ 30,680,000 | | | | | | | | |
Redemption of preferred shares in installments, each installment amount | $ 989,677 | | | | | | | | | | | | | | | | |
Reserving percentage of common stock to conversion of preferred shares | 150.00% | | | | | | | | | | | | | | | | |
Premium percentage of preferred stock installment amount | 8.00% | | | | | | | | | | | | | | | | |
Repayment percentage of installment amount | | | | | 108.00% | 108.00% | | | | | | | | | | | |
Preferred shares, triggering event redemption terms | | | | | Redemption Upon a Triggering Event. In the event of a triggering event (as defined in the Series D Certificate of Designation and summarized above), the holders of Series D Preferred Shares may require the Company to redeem such Series D Preferred Shares in cash at a price equal to the greater of (a) 125% of the stated value of the Series D Preferred Shares being redeemed plus accrued dividends, if any, and (b) the market value of the number of shares issuable on conversion of the Series D Preferred Shares, valued at the greatest closing sales price during the period from the date immediately before the triggering event through the date the Company makes the redemption payment. | Redemption Upon a Triggering Event. In the event of a triggering event (as defined in the Series D Certificate of Designation and summarized above), the holders of Series D Preferred Shares may require the Company to redeem such Series D Preferred Shares in cash at a price equal to the greater of (a) 125% of the stated value of the Series D Preferred Shares being redeemed plus accrued dividends, if any, and (b) the market value of the number of shares issuable on conversion of the Series D Preferred Shares, valued at the greatest closing sales price during the period from the date immediately before the triggering event through the date the Company makes the redemption payment. | | | | | | | | | | | |
Redemption pice percentage | | | | | 125.00% | 125.00% | | | | | | | | | | | |
Preferred shares, change of control, redemption terms | | | | | Redemption Upon a Change of Control. In the event of a change of control, as defined in the Series D Certificate of Designation, the holders of Series D Preferred Shares can force redemption at a price equal to the greater of (a) the conversion amount to be redeemed multiplied by 125%, (b) the product of (i) the conversion amount being redeemed multiplied by (ii) the quotient determined by dividing (A) the greatest closing sale price of the common stock on any Trading Day during the period commencing immediately preceding the earlier to occur of (1) the consummation of the applicable change of control and (2) the public announcement of such change of control and ending on the date such holder delivers the change of control redemption notice, by (B) the conversion price then in effect and (c) the product of (i) the conversion amount being redeemed multiplied by (ii) the quotient determined by dividing (A) the aggregate value of the cash and non-cash consideration per share of common stock being paid to holders of common stock in the change of control transaction by (B) the conversion price then in effect. Redemptions of the Series D Preferred Shares required under the Series D Certificate of Designation in connection with a change of control will have priority over payments to all other stockholders of the Company in connection with such change of control. | Redemption Upon a Change of Control. In the event of a change of control, as defined in the Series D Certificate of Designation, the holders of Series D Preferred Shares can force redemption at a price equal to the greater of (a) the conversion amount to be redeemed multiplied by 125%, (b) the product of (i) the conversion amount being redeemed multiplied by (ii) the quotient determined by dividing (A) the greatest closing sale price of the common stock on any Trading Day during the period commencing immediately preceding the earlier to occur of (1) the consummation of the applicable change of control and (2) the public announcement of such change of control and ending on the date such holder delivers the change of control redemption notice, by (B) the conversion price then in effect and (c) the product of (i) the conversion amount being redeemed multiplied by (ii) the quotient determined by dividing (A) the aggregate value of the cash and non-cash consideration per share of common stock being paid to holders of common stock in the change of control transaction by (B) the conversion price then in effect. Redemptions of the Series D Preferred Shares required under the Series D Certificate of Designation in connection with a change of control will have priority over payments to all other stockholders of the Company in connection with such change of control. | | | | | | | | | | | |
Preferred stock, participation rights | | | | | Limited Voting Rights. The holders of Series D Preferred Shares have no voting rights, except as required by law; provided, however, that any amendment to the Company’s certificate of incorporation or bylaws or the Series D Certificate of Designation that adversely affects the powers, preferences and rights of the Series D Preferred Stock requires the approval of the holders of a majority of the Series D Preferred Shares then outstanding. Participation Rights. Until August 29, 2019, the holders of the Series D Preferred Shares have the right to receive notice of and to participate in any offering, issuance or sale of equity or equity-equivalent securities by the Company or its subsidiaries, other than issuances under certain employee benefit plans, upon the conversion of certain options or other convertible securities, or pursuant to certain acquisitions or strategic transactions. Pursuant to such participation rights, the Company must offer to issue and sell to such holders at least 35% of the offered securities. | Limited Voting Rights. The holders of Series D Preferred Shares have no voting rights, except as required by law; provided, however, that any amendment to the Company’s certificate of incorporation or bylaws or the Series D Certificate of Designation that adversely affects the powers, preferences and rights of the Series D Preferred Stock requires the approval of the holders of a majority of the Series D Preferred Shares then outstanding. Participation Rights. Until August 29, 2019, the holders of the Series D Preferred Shares have the right to receive notice of and to participate in any offering, issuance or sale of equity or equity-equivalent securities by the Company or its subsidiaries, other than issuances under certain employee benefit plans, upon the conversion of certain options or other convertible securities, or pursuant to certain acquisitions or strategic transactions. Pursuant to such participation rights, the Company must offer to issue and sell to such holders at least 35% of the offered securities. | | | | | | | | | | | |
Temporary equity, carrying amount, attributable to parent | | | | | $ 26,851,000 | | | | 27,392,000 | | | | | | | | |
Series D Preferred Stock [Member] | Volume Weighted Average Price [Member] | | | | | | | | | | | | | | | | | |
Class Of Stock [Line Items] | | | | | | | | | | | | | | | | | |
Percentage of common stock on trading day immediately prior to applicable installment date | | | | | 87.50% | 87.50% | | | | | | | | | | | |
Series D Preferred Stock [Member] | Arithmetic Average Of Two Lowest Volume Weighted Average Price [Member] | | | | | | | | | | | | | | | | | |
Class Of Stock [Line Items] | | | | | | | | | | | | | | | | | |
Percentage of common stock on trading day immediately prior to applicable installment date | | | | | 87.50% | 87.50% | | | | | | | | | | | |
Common stock consecutive trading day | TradingDay | | | | | 10 | 10 | | | | | | | | | | | |
Series D Preferred Stock [Member] | Maximum [Member] | | | | | | | | | | | | | | | | | |
Class Of Stock [Line Items] | | | | | | | | | | | | | | | | | |
Conversion of stock conversion price | $ / shares | | | | | $ 1.38 | | | | | | | | | | | | |
Series D Preferred Stock [Member] | Minimum [Member] | | | | | | | | | | | | | | | | | |
Class Of Stock [Line Items] | | | | | | | | | | | | | | | | | |
Preferred stock, conversion basis, stock issuance, threshold percentage of outstanding voting stock | | | 20.00% | | 20.00% | 20.00% | | | | | | | | | | | |
Preferred stock, percentage of offered securities | | | | | 35.00% | 35.00% | | | | | | | | | | | |
Series D Preferred Stock [Member] | Convertible Preferred Offering [Member] | | | | | | | | | | | | | | | | | |
Class Of Stock [Line Items] | | | | | | | | | | | | | | | | | |
Conversion terms, increase beneficial ownership limitation percentage upon notice periods | | | | | 60 days | 60 days | | | | | | | | | | | |
Percentage of lowest volume weighted average price of common stock considered as conversion price | | | | | 85.00% | 85.00% | | | | | | | | | | | |
Series D Preferred Stock [Member] | Convertible Preferred Offering [Member] | Maximum [Member] | | | | | | | | | | | | | | | | | |
Class Of Stock [Line Items] | | | | | | | | | | | | | | | | | |
Conversion terms, beneficial ownership increase, percentage | | | | | 9.99% | 9.99% | | | | | | | | | | | |
Series D Preferred Stock [Member] | Convertible Preferred Offering [Member] | Minimum [Member] | | | | | | | | | | | | | | | | | |
Class Of Stock [Line Items] | | | | | | | | | | | | | | | | | |
Conversion terms, beneficial ownership limitation, percentage | | | | | 4.99% | 4.99% | | | | | | | | | | | |
Conversion terms, prior receiving beneficial ownership, percentage | | | | | 20.00% | 20.00% | | | | | | | | | | | |
Series D Preferred Stock [Member] | Convertible Preferred Offering [Member] | Oppenheimer & Co [Member] | | | | | | | | | | | | | | | | | |
Class Of Stock [Line Items] | | | | | | | | | | | | | | | | | |
Preferred stock, par value | $ / shares | | | $ 0.01 | | | | | | | | | | | | | | |
Preferred stock sale of shares | shares | | | 30,680 | | | | | | | | | | | | | | |
Preferred stock, initial convertibel shares | shares | | | 22,231,884 | | | | | | | | | | | | | | |
Conversion of stock conversion price | $ / shares | | | $ 1.38 | | | | | | | | | | | | | | |
Series C Preferred Stock [Member] | | | | | | | | | | | | | | | | | |
Class Of Stock [Line Items] | | | | | | | | | | | | | | | | | |
Preferred stock, dividend rate, percentage | | | | | 15.00% | 15.00% | | | | | | | | | | | |
Conversion of stock conversion price | $ / shares | | | $ 1.50 | | $ 0.43 | | | | | | | $ 0.43 | | | | $ 1.84 | $ 1.84 |
Convertible preferred stock, converted into common stock | shares | | | | | 2,075 | 2,075 | | | | | | | | | | | |
Convertible preferred stock, reduction in carrying amount | | | | | $ 8,600,000 | | | | | | | | | | | | |
Preferred stock deemed dividends | | | | | $ 500,000 | | | | | | | | | | | | |
Preferred stock redemption maturity date | | | | | Mar. 1, 2019 | Mar. 1, 2019 | | | | | | | | | | | |
Number of preferred stock redemption equal installments | Installment | | | | 33 | | | | | | | | | | | | | |
Preferred stock redemption, stated value | | | | | $ 7,470,000 | | | | 8,992,000 | | | | | | | | |
Redemption of preferred shares in installments, each installment amount | | | | $ 1,000,000 | | | | | | | | | | | | | |
Common stock consecutive trading day | TradingDay | | | | | 10 | 10 | | | | | | | | | | | |
Repayment percentage of installment amount | | | | | 108.00% | 108.00% | | | | | | | | | | | |
Preferred shares, triggering event redemption terms | | | | | Redemption. In the event of a triggering event, as defined in the Series C Certificate of Designations, the holders of the Series C Preferred Shares can force redemption at a price equal to the greater of (a) the conversion amount to be redeemed multiplied by 125% and (b) the product of (i) the conversion rate with respect to the conversion amount in effect at such time as such holder delivers a triggering event redemption notice multiplied by (ii) the greatest closing sale price of the common stock on any trading day during the period commencing on the date immediately preceding such triggering event and ending on the date the Company makes the entire payment required. | Redemption. In the event of a triggering event, as defined in the Series C Certificate of Designations, the holders of the Series C Preferred Shares can force redemption at a price equal to the greater of (a) the conversion amount to be redeemed multiplied by 125% and (b) the product of (i) the conversion rate with respect to the conversion amount in effect at such time as such holder delivers a triggering event redemption notice multiplied by (ii) the greatest closing sale price of the common stock on any trading day during the period commencing on the date immediately preceding such triggering event and ending on the date the Company makes the entire payment required. | | | | | | | | | | | |
Redemption pice percentage | | | | | 125.00% | 125.00% | | | | | | | | | | | |
Temporary equity, carrying amount, attributable to parent | | | | | $ 7,470,000 | | | | $ 7,480,000 | | | | | | | | |
Adjusted conversion price | $ / shares | | | | | $ 1.50 | | | | | | | $ 0.43 | $ 0.50 | $ 0.58 | | | |
Preferred stock redemption terms | | | | | Installment Payments. On November 1, 2017 and on the sixteenth day and first day of each calendar month thereafter until March 1, 2019, subject to extension in certain circumstances (the “Series C Maturity Date”), inclusive, the Company will redeem the stated value of Series C Preferred Shares in thirty-three equal installments of approximately $1.0 million (each bimonthly amount, a “Series C Installment Amount” and the date of each such payment, a “Series C Installment Date”). The holders will have the ability to defer installment payments, but not beyond the Series C Maturity Date. In addition, during each period commencing on the 11th trading day prior to a Series C Installment Date and prior to the immediately subsequent Series C Installment Date, the holders may elect to accelerate the conversion of Series C Preferred Shares at the then applicable installment conversion price, provided that the holders may not elect to effect any such acceleration during such installment period if either (a) in the aggregate, all the accelerations in such installment period exceed the sum of three other Series C Installment Amounts, or (b) the number of Series C Preferred Shares subject to prior accelerations exceeds in the aggregate twelve Series C Installment Amounts. | Installment Payments. On November 1, 2017 and on the sixteenth day and first day of each calendar month thereafter until March 1, 2019, subject to extension in certain circumstances (the “Series C Maturity Date”), inclusive, the Company will redeem the stated value of Series C Preferred Shares in thirty-three equal installments of approximately $1.0 million (each bimonthly amount, a “Series C Installment Amount” and the date of each such payment, a “Series C Installment Date”). The holders will have the ability to defer installment payments, but not beyond the Series C Maturity Date. In addition, during each period commencing on the 11th trading day prior to a Series C Installment Date and prior to the immediately subsequent Series C Installment Date, the holders may elect to accelerate the conversion of Series C Preferred Shares at the then applicable installment conversion price, provided that the holders may not elect to effect any such acceleration during such installment period if either (a) in the aggregate, all the accelerations in such installment period exceed the sum of three other Series C Installment Amounts, or (b) the number of Series C Preferred Shares subject to prior accelerations exceeds in the aggregate twelve Series C Installment Amounts. | | | | | | | | | | | |
Preferred shares, dividends declared | $ / shares | | | | | $ 0 | | | | $ 0 | $ 0 | | | | | | | |
Preferred shares voting rights | | | | | no voting rights | no voting rights | | | | | | | | | | | |
Series C Preferred Stock [Member] | Volume Weighted Average Price [Member] | | | | | | | | | | | | | | | | | |
Class Of Stock [Line Items] | | | | | | | | | | | | | | | | | |
Percentage of common stock on trading day immediately prior to applicable installment date | | | | | 87.50% | 87.50% | | | | | | | | | | | |
Series C Preferred Stock [Member] | Arithmetic Average Of Two Lowest Volume Weighted Average Price [Member] | | | | | | | | | | | | | | | | | |
Class Of Stock [Line Items] | | | | | | | | | | | | | | | | | |
Percentage of common stock on trading day immediately prior to applicable installment date | | | | | 87.50% | 87.50% | | | | | | | | | | | |
Series C Preferred Stock [Member] | Convertible Preferred Offering [Member] | | | | | | | | | | | | | | | | | |
Class Of Stock [Line Items] | | | | | | | | | | | | | | | | | |
Preferred stock sale of shares | shares | | | | | 6,917 | | | | 8,992 | | 6,917 | | | | 8,992 | | |
Conversion of stock conversion price | $ / shares | | | | | $ 0.43 | | | | | | | | | | | | |
Convertible preferred stock, reduction in carrying amount | | | | | $ 6,600,000 | | | | | | | | | | | | |
Conversion right description | | | | | Conversion Rights. As of January 31, 2019, the Series C Preferred Shares were convertible into shares of common stock subject to the beneficial ownership limitations provided in the Series C Certificate of Designations, at a conversion price equal to $0.43 per share. The conversion price is subject to further adjustment as provided in the Series C Certificate of Designations, including adjustments if the Company sells shares of common stock or equity securities convertible into or exercisable for shares of common stock, at variable prices below the conversion price then in effect. In the event of a triggering event, as defined in the Series C Certificate of Designations, the Series C Preferred Shares are convertible into shares of common stock at a conversion price equal to the lower of the conversion price then in effect and 85% of the lowest VWAP of the common stock of the five trading days immediately prior to delivery of the applicable conversion notice. The holders will be prohibited from converting Series C Preferred Shares into shares of common stock if, as a result of such conversion, such holder, together with its affiliates, would own more than 8.99% of the total number of shares of common stock then issued and outstanding. Each holder has the right to increase its maximum percentage up to 9.99% upon 60 days’ notice to the Company. | Conversion Rights. As of January 31, 2019, the Series C Preferred Shares were convertible into shares of common stock subject to the beneficial ownership limitations provided in the Series C Certificate of Designations, at a conversion price equal to $0.43 per share. The conversion price is subject to further adjustment as provided in the Series C Certificate of Designations, including adjustments if the Company sells shares of common stock or equity securities convertible into or exercisable for shares of common stock, at variable prices below the conversion price then in effect. In the event of a triggering event, as defined in the Series C Certificate of Designations, the Series C Preferred Shares are convertible into shares of common stock at a conversion price equal to the lower of the conversion price then in effect and 85% of the lowest VWAP of the common stock of the five trading days immediately prior to delivery of the applicable conversion notice. The holders will be prohibited from converting Series C Preferred Shares into shares of common stock if, as a result of such conversion, such holder, together with its affiliates, would own more than 8.99% of the total number of shares of common stock then issued and outstanding. Each holder has the right to increase its maximum percentage up to 9.99% upon 60 days’ notice to the Company. | | | | | | | | | | | |
Conversion terms, increase beneficial ownership limitation percentage upon notice periods | | | | | 60 days | 60 days | | | | | | | | | | | |
Percentage of lowest volume weighted average price of common stock considered as conversion price | | | | | 85.00% | 85.00% | | | | | | | | | | | |
Aggregate number of shares issued | shares | | | | | | | | | | 33,500 | | | | | | | |
Sale of stock price per share | $ / shares | | | | | | | | | | $ 0.01 | | | | | | | |
Preferred stock, stated value per share | $ / shares | | | | | | | | | | $ 1,000 | | | | | | | |
Preferred stock shares outstanding | shares | | | | | 6,917 | | | | 8,992 | | 6,917 | | | | 8,992 | | |
Temporary equity, carrying amount, attributable to parent | | | | | $ 7,500,000 | | | | $ 7,500,000 | | | | | | | | |
Series C Preferred Stock [Member] | Convertible Preferred Offering [Member] | Maximum [Member] | | | | | | | | | | | | | | | | | |
Class Of Stock [Line Items] | | | | | | | | | | | | | | | | | |
Conversion terms, beneficial ownership increase, percentage | | | | | 9.99% | 9.99% | | | | | | | | | | | |
Series C Preferred Stock [Member] | Convertible Preferred Offering [Member] | Minimum [Member] | | | | | | | | | | | | | | | | | |
Class Of Stock [Line Items] | | | | | | | | | | | | | | | | | |
Conversion terms, beneficial ownership limitation, percentage | | | | | 8.99% | 8.99% | | | | | | | | | | | |
Class A Cumulative Redeemable Exchangeable Preferred Shares [Member] | | | | | | | | | | | | | | | | | |
Class Of Stock [Line Items] | | | | | | | | | | | | | | | | | |
Preferred stock shares outstanding | shares | | | | | 1,000,000 | | | | | | 1,000,000 | | | | | | |
Return of capital and dividend payments | | | | | | $ 0.3 | | $ 0.3 | | | | | | | | | |
Interest expense, other | | | | | | $ 0.7 | | $ 0.7 | | | | | | | | | |
Carrying value of preferred shares, total | | | | | $ 16,200,000 | | | | $ 15,900,000 | | $ 21.3 | | | | $ 20.9 | | |