| Stock-based Compensation - Summary of non-vested stock options (Details 2) - $ / shares | 12 Months Ended | |
|---|---|---|
| Dec. 31, 2018 | Dec. 31, 2017 | |
| Shares | ||
| Non-vested shares at December 31, 2017 (in shares) | 1,424,651 | 1,180,030 | 
| Granted | 0 | 1,260,000 | 
| Vested (in shares) | (427,651) | (245,402) | 
| Cancelled, expired or forfeited (in shares) | (70,500) | (769,977) | 
| Non-vested shares at December 31, 2018 (in shares) | 926,500 | 1,424,651 | 
| Weighted Average Grant Date Fair Value | ||
| Non-vested shares at December 31, 2016 (in dollars per share) | $ 0.99 | $ 1.56 | 
| Granted (in dollars per share) | 0 | 0.79 | 
| Vested (in dollars per share) | 1.16 | 1.76 | 
| Cancelled, expired or forfeited (in dollars per share) | 1.10 | 1.28 | 
| Non-vested shares at December 31, 2017 (in dollars per share) | $ 0.91 | $ 0.99 | 
| X | ||||||||||
| 
- Definition Gross number of share options (or share units) granted during the period. No definition available. 
 | 
| X | ||||||||||
| 
- Definition The weighted average grant-date fair value of options granted during the reporting period as calculated by applying the disclosed option pricing methodology. Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef 
 | 
| X | ||||||||||
| 
- Definition Number of non-vested options outstanding. No definition available. 
 | 
| X | ||||||||||
| 
- Definition A roll forward is a reconciliation of a concept from the beginning of a period to the end of a period. No definition available. 
 | 
| X | ||||||||||
| 
- Definition Number of non-vested options forfeited. No definition available. 
 | 
| X | ||||||||||
| 
- Definition Weighted average grant-date fair value of non-vested options forfeited. No definition available. 
 | 
| X | ||||||||||
| 
- Definition Weighted average grant-date fair value of non-vested options outstanding. No definition available. 
 | 
| X | ||||||||||
| 
- References No definition available. 
 | 
| X | ||||||||||
| 
- Definition Number of options vested. No definition available. 
 | 
| X | ||||||||||
| 
- Definition Weighted average grant-date fair value of options vested. No definition available. 
 |