Subsequent Events - Additional Information (Details) | Dec. 01, 2018USD ($)Installment | Aug. 29, 2018shares | Aug. 27, 2018USD ($)TradingDay$ / sharesshares | Nov. 01, 2017USD ($)Installment | Jul. 31, 2018TradingDay$ / sharesshares | Oct. 31, 2017shares |
Subsequent Event [Line Items] | | | | | | |
Preferred stock, par value | | | | | $ 0.01 | |
Series D Preferred Stock [Member] | Scenario Forecast [Member] | | | | | | |
Subsequent Event [Line Items] | | | | | | |
Preferred stock redemption maturity date | Mar. 1, 2020 | | | | | |
Number of preferred stock redemption equal installments | Installment | 31 | | | | | |
Redemption of preferred shares in installments, each installment amount | $ | $ 989,677 | | | | | |
Series C Preferred Stock [Member] | | | | | | |
Subsequent Event [Line Items] | | | | | | |
Conversion of stock conversion price | | | | | $ 1.84 | |
Preferred stock redemption maturity date | | | | | Mar. 1, 2019 | |
Number of preferred stock redemption equal installments | Installment | | | | 33 | | |
Redemption of preferred shares in installments, each installment amount | $ | | | | $ 1,000,000 | | |
Common stock consecutive trading day | TradingDay | | | | | 10 | |
Repayment percentage of installment amount | | | | | 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 pice percentage | | | | | 125.00% | |
Preferred stock, dividend rate, percentage | | | | | 15.00% | |
Series C Preferred Stock [Member] | Volume Weighted Average Price [Member] | | | | | | |
Subsequent Event [Line Items] | | | | | | |
Percentage of common stock on trading day immediately prior to applicable installment date | | | | | 87.50% | |
Series C Preferred Stock [Member] | Arithmetic Average Of Two Lowest Volume Weighted Average Price [Member] | | | | | | |
Subsequent Event [Line Items] | | | | | | |
Percentage of common stock on trading day immediately prior to applicable installment date | | | | | 87.50% | |
Series C Preferred Stock [Member] | Convertible Preferred Offering [Member] | | | | | | |
Subsequent Event [Line Items] | | | | | | |
Preferred stock, shares issued | shares | | | | | 11,681 | 33,300 |
Conversion of stock conversion price | | | | | $ 1.84 | |
Preferred stock, shares outstanding | shares | | | | | 11,681 | 33,300 |
Convertible preferred stock, terms of conversion | | | | | Conversion Rights. The Series C Preferred Shares are convertible into shares of common stock subject to the beneficial ownership limitations provided in the Certificate of Designations for the Series C Preferred Stock (the “Series C Certificate of Designations”), at an initial conversion price equal to $1.84 per share of common stock. The initial conversion price was reduced to $1.50 per share effective August 27, 2018 in connection with the offering of the Company’s Series D Preferred Stock (as defined and further described in Note 19. “Subsequent Events”). The conversion price is subject to further adjustment as provided in the Series C Certificate of Designations, including adjustments if we sell 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 of the lower of the conversion price then in effect and 85% of the lowest volume weighted average price (“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 | |
Percentage of lowest volume weighted average price of common stock considered as conversion price | | | | | 85.00% | |
Series C Preferred Stock [Member] | Convertible Preferred Offering [Member] | Minimum [Member] | | | | | | |
Subsequent Event [Line Items] | | | | | | |
Conversion terms, beneficial ownership limitation, percentage | | | | | 8.99% | |
Series C Preferred Stock [Member] | Convertible Preferred Offering [Member] | Maximum [Member] | | | | | | |
Subsequent Event [Line Items] | | | | | | |
Conversion terms, beneficial ownership increase, percentage | | | | | 9.99% | |
Subsequent Event [Member] | | | | | | |
Subsequent Event [Line Items] | | | | | | |
Offering closed date | | | Aug. 29, 2018 | | | |
Subsequent Event [Member] | Series D Preferred Stock [Member] | | | | | | |
Subsequent Event [Line Items] | | | | | | |
Preferred stock, shares issued | shares | | 30,680 | | | | |
Conversion of stock conversion price | | | $ 1.38 | | | |
Proceeds from Issuance of preferred stock | $ | | | $ 25,400,000 | | | |
Preferred stock, shares outstanding | shares | | 30,680 | | | | |
Convertible preferred stock, terms of conversion | | | 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 (“Series D Conversion Price”), 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. | | | |
Common stock consecutive trading day | TradingDay | | | 10 | | | |
Repayment percentage of installment amount | | | 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), the holders of Series D Preferred Shares may require us 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% | | | |
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. | | | |
Preferred stock, dividend rate, percentage | | | 15.00% | | | |
Preferred stock, participation rights | | 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. | | | | |
Subsequent Event [Member] | Series D Preferred Stock [Member] | Volume Weighted Average Price [Member] | | | | | | |
Subsequent Event [Line Items] | | | | | | |
Percentage of common stock on trading day immediately prior to applicable installment date | | | 87.50% | | | |
Subsequent Event [Member] | Series D Preferred Stock [Member] | Arithmetic Average Of Two Lowest Volume Weighted Average Price [Member] | | | | | | |
Subsequent Event [Line Items] | | | | | | |
Percentage of common stock on trading day immediately prior to applicable installment date | | | 87.50% | | | |
Subsequent Event [Member] | Series D Preferred Stock [Member] | Minimum [Member] | | | | | | |
Subsequent Event [Line Items] | | | | | | |
Preferred stock, percentage of offered securities | | 35.00% | | | | |
Preferred stock, conversion basis, stock issuance, threshold percentage of outstanding voting stock | | | 20.00% | | | |
Subsequent Event [Member] | Series D Preferred Stock [Member] | Convertible Preferred Offering [Member] | | | | | | |
Subsequent Event [Line Items] | | | | | | |
Conversion terms, increase beneficial ownership limitation percentage upon notice periods | | | 60 days | | | |
Percentage of lowest volume weighted average price of common stock considered as conversion price | | | 85.00% | | | |
Subsequent Event [Member] | Series D Preferred Stock [Member] | Convertible Preferred Offering [Member] | Minimum [Member] | | | | | | |
Subsequent Event [Line Items] | | | | | | |
Conversion terms, beneficial ownership limitation, percentage | | | 4.99% | | | |
Conversion terms, prior receiving beneficial ownership, percentage | | | 19.90% | | | |
Subsequent Event [Member] | Series D Preferred Stock [Member] | Convertible Preferred Offering [Member] | Maximum [Member] | | | | | | |
Subsequent Event [Line Items] | | | | | | |
Conversion terms, beneficial ownership increase, percentage | | | 9.99% | | | |
Subsequent Event [Member] | Series D Preferred Stock [Member] | Convertible Preferred Offering [Member] | Oppenheimer & Co [Member] | | | | | | |
Subsequent Event [Line Items] | | | | | | |
Preferred stock, par value | | | $ 0.01 | | | |
Preferred stock, shares issued | shares | | | 30,680 | | | |
Preferred stock, initial convertibel shares | shares | | | 22,231,884 | | | |
Conversion of stock conversion price | | | $ 1.38 | | | |
Subsequent Event [Member] | Series C Preferred Stock [Member] | Convertible Preferred Offering [Member] | | | | | | |
Subsequent Event [Line Items] | | | | | | |
Conversion of stock conversion price | | | $ 1.50 | | | |