Equity, Convertible Preferred Stock (Details) - USD ($) $ / shares in Units, $ in Thousands | Apr. 24, 2017 | Jan. 10, 2017 | Nov. 03, 2016 | Oct. 30, 2016 | Jul. 26, 2016 | Jul. 20, 2016 | Sep. 30, 2017 | Sep. 30, 2016 | Dec. 31, 2016 |
Class of Stock [Line Items] | | | | | | | | | |
Proceeds from issuance of convertible preferred stock and Warrants | | | | | | $ 3,500 | $ 184 | $ 3,362 | |
Preferred stock, shares outstanding (in shares) | | | | | | | 0 | | 0 |
Net proceeds from issuance of convertible preferred stock | $ 8,000 | | | | | | | | |
Common stock, shares issued (in shares) | | | | | | | 625,844 | | 38,862 |
Series B Convertible Preferred Stock [Member] | | | | | | | | | |
Class of Stock [Line Items] | | | | | | | | | |
Preferred stock issued (in shares) | | | | | 3,468 | | | | |
Number of preferred shares converted to common stock (in shares) | | | | | 6,149 | | | | |
Conversion price (in dollars per share) | | | | | $ 564 | | | | |
Proceed from issuance of preferred stock | | | | | $ 1,600 | | | | |
Series B-1 Convertible Preferred Stock [Member] | | | | | | | | | |
Class of Stock [Line Items] | | | | | | | | | |
Preferred stock issued (in shares) | | | | 2,227.2 | | | 0 | | 1,824.4 |
Number of preferred shares converted to common stock (in shares) | | | | | | | 17,866 | | 3,948 |
Conversion price (in dollars per share) | | | | $ 102 | | | | | |
Number of convertible preferred shares converted (in shares) | | | | | | | | | 402.8 |
Preferred stock, shares outstanding (in shares) | | | | | | | 0 | | 1,824.4 |
Series C Convertible Preferred Stock [Member] | | | | | | | | | |
Class of Stock [Line Items] | | | | | | | | | |
Preferred stock issued (in shares) | | | 2,900 | | | | 0 | | 2,900 |
Number of preferred shares converted to common stock (in shares) | | | | | | | | | 0 |
Conversion price (in dollars per share) | | | $ 102 | | | | | | |
Preferred stock, shares outstanding (in shares) | | | | | | | 0 | | 2,900 |
Beneficial conversion amount | | $ 1,300 | | | | | | | |
Series D Convertible Preferred Stock [Member] | | | | | | | | | |
Class of Stock [Line Items] | | | | | | | | | |
Proceeds from issuance of convertible preferred stock and Warrants | | $ 200 | | | | | | | |
Preferred stock issued (in shares) | | 200 | 700 | | | | | | |
Number of preferred shares converted to common stock (in shares) | | | | | | | | | 0 |
Conversion price (in dollars per share) | | $ 102 | $ 102 | | | | | | |
Preferred stock, shares outstanding (in shares) | | | | | | | 0 | | 700 |
Beneficial conversion amount | | $ 500 | | | | | | | |
Temporary equity | | | | | | | $ 0 | | $ 485 |
Series C and D Convertible Preferred Stock [Member] | | | | | | | | | |
Class of Stock [Line Items] | | | | | | | | | |
Proceeds from issuance of convertible preferred stock and Warrants | | | $ 3,600 | $ 3,800 | | | | | |
Number of preferred shares converted to common stock (in shares) | | | | | | | 55,712 | | |
Preferred stock, shares outstanding (in shares) | | | | | | | 0 | | |
Series B, C And D Convertible Preferred Stock [Member] | | | | | | | | | |
Class of Stock [Line Items] | | | | | | | | | |
Percentage of placement fee offered in cash | | | | | | | 6.00% | | |
Class A Units [Member] | | | | | | | | | |
Class of Stock [Line Items] | | | | | | | | | |
Public offering price (in dollars per share) | | | | | | | $ 20 | | |
Number of common stock (in shares) | | | | | | | 1 | | |
Class A Units [Member] | Warrants [Member] | | | | | | | | | |
Class of Stock [Line Items] | | | | | | | | | |
Number of preferred shares converted to common stock (in shares) | | | | | | | 1 | | |
Term of warrants | | | | | | | 5 years | | |
Number of warrants (in shares) | | | | | | | 1 | | |
Exercise price of warrants (in dollars per share) | | | | | | | $ 22 | | |
Class B Units [Member] | | | | | | | | | |
Class of Stock [Line Items] | | | | | | | | | |
Number of preferred shares converted to common stock (in shares) | | | | | | | 50 | | |
Public offering price (in dollars per share) | | | | | | | $ 1,000 | | |
Number of preferred stock per unit (in shares) | | | | | | | 1 | | |
Class B Units [Member] | Warrants [Member] | | | | | | | | | |
Class of Stock [Line Items] | | | | | | | | | |
Warrants to purchase shares of common stock (in shares) | | | | | | | 50 | | |
Exercise price of warrants (in dollars per share) | | | | | | | $ 22 | | |
Series E Convertible Preferred Stock [Member] | | | | | | | | | |
Class of Stock [Line Items] | | | | | | | | | |
Preferred stock issued (in shares) | | | | | | | 6,400 | | |
Number of preferred shares converted to common stock (in shares) | | | | | | | 320,000 | | |
Proceed from issuance of preferred stock | 9,200 | | | | | | | | |
Preferred stock, shares outstanding (in shares) | | | | | | | 0 | | |
Beneficial conversion amount | | | | | | | $ 1,000 | | |
Percentage of placement fee offered in cash | | | | | | | 9.00% | | |
Net proceeds from issuance of convertible preferred stock | $ 8,000 | | | | | | | | |
Common stock, shares issued (in shares) | | | | | | | 140,000 | | |
Series E Convertible Preferred Stock [Member] | Warrants [Member] | | | | | | | | | |
Class of Stock [Line Items] | | | | | | | | | |
Warrants to purchase shares of common stock (in shares) | | | | | | | 640,000 | | |
Warrants issued to the placement agent (in shares) | | | | | | | 0 | | |