Redeemable Convertible Preferred Stock and Equity - Additional Information (Details) $ / shares in Units, $ in Thousands | Jul. 01, 2017USD ($) | May 20, 2015USD ($)shares | Jun. 30, 2017USD ($)shares | Sep. 30, 2017USD ($)$ / sharesshares | Sep. 30, 2016USD ($) | Sep. 30, 2017USD ($)$ / sharesshares | Sep. 30, 2016USD ($)$ / sharesshares | Dec. 31, 2016USD ($)Stockholdershares | Dec. 31, 2015USD ($) | Oct. 14, 2016$ / sharesshares |
Share Based Compensation Arrangement By Share Based Payment Award [Line Items] | | | | | | | | | | |
Number of shares called by warrant | | | | 28,346,000 | | 28,346,000 | | | | |
Proceeds from issuance of preferred stock and warrants | $ | | $ 22,500 | | | | | | | | |
Debt conversion, original debt amount | $ | | 8,500 | | | | | | | | |
Prepayment of penalties, legal and accounting fees | $ | | 1,900 | | | | | | | | |
Additional debt discounts | $ | | 500 | | | | | | | | |
Interest expense | $ | | 200 | | | | | | | | |
Preferred stock dividend percentage | | | | | | 8.00% | | | | |
Preferred stock dividend stated value (in dollars per share) | $ / shares | | | | | | $ 1,000 | | | | |
Preferred stock dividend payment due date | | | | | | Jul. 1, 2017 | | | | |
Number of shares issued upon conversion | | | | 333.3 | | 333.3 | | | | |
Trading price percentage | | | | 85.00% | | 85.00% | | | | |
Preferred stock shares | | | | | | | | | | 16,500 |
Addition to conversion rate floor | $ / shares | | | | | | | | | | $ 0.50 |
Conversion rate floor | $ / shares | | | | | | | | | | $ 2.49 |
Penalty percentage to maturity redemption price | | | | | | | | | | 20.00% |
Accreted value of dividends | $ | | | | $ 203 | $ 1,473 | $ 959 | $ 3,763 | | | |
Accumulated unpaid dividends on preferred stock | $ | | | | 2,800 | | 2,800 | | | | |
Increase in accumulated dividends on preferred stock | $ | | | | | | $ 1,400 | $ 2,000 | | | |
Preferred Stock, Dividends, Per Share, Cash Paid | $ / shares | | | | | | $ 46.16 | $ 64.80 | | | |
Dividend payments to preferred stockholders | $ | $ 400 | | | | | $ 350 | | | | |
Number of preferred shareholders | Stockholder | | | | | | | | 2 | | |
Amount of accreted dividends converted to common stock | $ | | | | | | | | $ (100) | | |
Aggregated subscription amount | $ | | | | | | | | | $ 31,000 | |
Granted (in shares) | | | | | | 1,100,000 | 418,805 | | | |
Vested (in shares) | | | | | | 0.2 | 192,501 | | | |
Performance shares forfeited due to performance criteria (in shares) | | | | | | 3,668 | 6,231 | | | |
Stock-based compensation expense | $ | | | | $ 700 | $ 300 | $ 1,208 | $ 922 | | | |
Unamortized compensation | $ | | | $ 4,400 | | | | | | | |
Remaining weighted-average vesting period | | | | | | 1 year 4 months 24 days | | | | |
Unrecognized stock-based compensation expense, vesting percentage | | | | | | 100.00% | | | | |
Compensation expense, recognize | $ | | | | | | $ 2,800 | | | | |
Vesting Option Three [Member] | Black Scholes Model [Member] | | | | | | | | | | |
Share Based Compensation Arrangement By Share Based Payment Award [Line Items] | | | | | | | | | | |
Restricted stock awards vesting period | | | | | | 2 years | | | | |
Restricted stock awards issued fair value per share | $ / shares | | | | | | $ 1.90 | | | | |
Stock price, fair value | $ / shares | | | | $ 2.66 | | $ 2.66 | | | | |
Risk-free interest rate | | | | | | 1.97% | | | | |
Expected volatility | | | | | | 75.00% | | | | |
Expected term of option, exercise price | $ / shares | | | | $ 2.66 | | $ 2.66 | | | | |
Restricted stock awards, contractual term | | | | | | 10 years | | | | |
Vesting Option Three [Member] | Lattice Model [Member] | | | | | | | | | | |
Share Based Compensation Arrangement By Share Based Payment Award [Line Items] | | | | | | | | | | |
Restricted stock awards vesting period | | | | | | 10 years | | | | |
Restricted Stock [Member] | | | | | | | | | | |
Share Based Compensation Arrangement By Share Based Payment Award [Line Items] | | | | | | | | | | |
Granted (in shares) | | | | | | 634,000 | | | | |
Vested (in shares) | | | | | | 204,000 | | | | |
Restricted stock awards issued fair value per share | $ / shares | | | | | | $ 3.22 | | | | |
Performance Shares [Member] | | | | | | | | | | |
Share Based Compensation Arrangement By Share Based Payment Award [Line Items] | | | | | | | | | | |
Granted (in shares) | | | | | | 500,000 | | | | |
Vested (in shares) | | | | | | 0 | | | | |
Restricted stock awards issued fair value per share | $ / shares | | | | | | $ 2.40 | | | | |
Stock-based compensation expense | $ | | | | | | $ 1,700 | | | | |
Remaining weighted-average vesting period | | | | | | 1 year 9 months 18 days | | | | |
Unrecognized stock-based compensation expense, vesting percentage | | | | | | 100.00% | | | | |
Unrecognized stock-based compensation expense, Vesting (shares) | | | | 500,000 | | 500,000 | | | | |
RLJ SPAC Acquisition, LLC [Member] | | | | | | | | | | |
Share Based Compensation Arrangement By Share Based Payment Award [Line Items] | | | | | | | | | | |
Amount of accreted dividends converted to common stock | $ | | | $ (2,700) | | | | | | | |
Maximum [Member] | | | | | | | | | | |
Share Based Compensation Arrangement By Share Based Payment Award [Line Items] | | | | | | | | | | |
Preferred stock conversion price (in dollars per share) | $ / shares | | | | | | $ 3 | | | | |
Payment of partial liquidation damages percentage on aggregated subscription amount | | | | | | | | | 6.00% | |
Maximum [Member] | Vesting Option Three [Member] | Black Scholes Model [Member] | | | | | | | | | | |
Share Based Compensation Arrangement By Share Based Payment Award [Line Items] | | | | | | | | | | |
Expected term (in years) | | | | | | 8 years 4 months 25 days | | | | |
Maximum [Member] | Performance Shares [Member] | | | | | | | | | | |
Share Based Compensation Arrangement By Share Based Payment Award [Line Items] | | | | | | | | | | |
Unrecognized stock-based compensation expense, Vesting (shares) | | | | 1,000,000 | | 1,000,000 | | | | |
Minimum [Member] | Vesting Option Three [Member] | Black Scholes Model [Member] | | | | | | | | | | |
Share Based Compensation Arrangement By Share Based Payment Award [Line Items] | | | | | | | | | | |
Expected term (in years) | | | | | | 7 years | | | | |
Minimum [Member] | Performance Shares [Member] | | | | | | | | | | |
Share Based Compensation Arrangement By Share Based Payment Award [Line Items] | | | | | | | | | | |
Unrecognized stock-based compensation expense, Vesting (shares) | | | | 0 | | 0 | | | | |
Certain Board Members or their Affiliated Companies [Member] | | | | | | | | | | |
Share Based Compensation Arrangement By Share Based Payment Award [Line Items] | | | | | | | | | | |
Proceeds from issuance of preferred stock and warrants | $ | | $ 10,000 | | | | | | | | |
Certain Board Members or their Affiliated Companies [Member] | Restricted Stock [Member] | | | | | | | | | | |
Share Based Compensation Arrangement By Share Based Payment Award [Line Items] | | | | | | | | | | |
Restricted stock awards vesting period | | | | | | 1 year | | | | |
Executive Officer [Member] | | | | | | | | | | |
Share Based Compensation Arrangement By Share Based Payment Award [Line Items] | | | | | | | | | | |
Options granted (in shares) | | | | | | 1,400,000 | | | | |
Executive Officer [Member] | Maximum [Member] | Restricted Stock [Member] | | | | | | | | | | |
Share Based Compensation Arrangement By Share Based Payment Award [Line Items] | | | | | | | | | | |
Restricted stock awards vesting period | | | | | | 4 years | | | | |
Executive Officer [Member] | Minimum [Member] | Restricted Stock [Member] | | | | | | | | | | |
Share Based Compensation Arrangement By Share Based Payment Award [Line Items] | | | | | | | | | | |
Restricted stock awards vesting period | | | | | | 3 years | | | | |
Executive Officers And Directors [Member] | | | | | | | | | | |
Share Based Compensation Arrangement By Share Based Payment Award [Line Items] | | | | | | | | | | |
Restricted stock issued during period (in shares) | | | | | | 900,000 | 216,982 | | | |
Employees [Member] | | | | | | | | | | |
Share Based Compensation Arrangement By Share Based Payment Award [Line Items] | | | | | | | | | | |
Restricted stock issued during period (in shares) | | | | | | 200,000 | 201,823 | | | |
Employees [Member] | Restricted Stock [Member] | | | | | | | | | | |
Share Based Compensation Arrangement By Share Based Payment Award [Line Items] | | | | | | | | | | |
Restricted stock awards vesting period | | | | | | 3 years | | | | |
Chief Executive Officer [Member] | Vesting Option One [Member] | | | | | | | | | | |
Share Based Compensation Arrangement By Share Based Payment Award [Line Items] | | | | | | | | | | |
Restricted stock awards vesting period | | | | | | 2 years | | | | |
Stock based compensation, options granted (in shares) | | | | | | 700,000 | | | | |
Stock based compensation, exercise price | $ / shares | | | | | | $ 2.66 | | | | |
Chief Executive Officer [Member] | Vesting Option Two [Member] | | | | | | | | | | |
Share Based Compensation Arrangement By Share Based Payment Award [Line Items] | | | | | | | | | | |
Restricted stock awards vesting period | | | | | | 4 years | | | | |
Stock based compensation, options granted (in shares) | | | | | | 700,000 | | | | |
Stock based compensation, exercise price | $ / shares | | | | | | $ 3 | | | | |
Preferred Stock [Member] | | | | | | | | | | |
Share Based Compensation Arrangement By Share Based Payment Award [Line Items] | | | | | | | | | | |
Preferred stock shares issued (in shares) | | 31,046 | | | | | | | | |
Preferred stock issuance fees | $ | | $ 900 | | | | | | | | |
Number of shares converted | | | 15,000 | | | | | 849 | | |
Preferred Stock [Member] | RLJ SPAC Acquisition, LLC [Member] | | | | | | | | | | |
Share Based Compensation Arrangement By Share Based Payment Award [Line Items] | | | | | | | | | | |
Number of shares converted | | | 15,000 | | | | | | | |
Preferred Stock [Member] | Certain Board Members or their Affiliated Companies [Member] | | | | | | | | | | |
Share Based Compensation Arrangement By Share Based Payment Award [Line Items] | | | | | | | | | | |
Preferred stock shares issued (in shares) | | 16,500 | | | | | | | | |
Common Stock [Member] | | | | | | | | | | |
Share Based Compensation Arrangement By Share Based Payment Award [Line Items] | | | | | | | | | | |
Number of shares issued upon conversion | | | 5,900,000 | | | | | 300,000 | | |
Common Stock [Member] | RLJ SPAC Acquisition, LLC [Member] | | | | | | | | | | |
Share Based Compensation Arrangement By Share Based Payment Award [Line Items] | | | | | | | | | | |
Number of shares issued upon conversion | | | 5,900,000 | | | | | | | |
Common Stock [Member] | 2015 Warrants [Member] | | | | | | | | | | |
Share Based Compensation Arrangement By Share Based Payment Award [Line Items] | | | | | | | | | | |
Number of shares called by warrant | | 3,100,000 | | | | | | | | |
Common Stock [Member] | 2015 Warrants [Member] | Certain Board Members or their Affiliated Companies [Member] | Unregistered Warrants [Member] | | | | | | | | | | |
Share Based Compensation Arrangement By Share Based Payment Award [Line Items] | | | | | | | | | | |
Number of shares called by warrant | | 1,700,000 | | | | | | | | |