Net Income (Loss) Per Share (Details 1) - shares shares in Thousands |
3 Months Ended | 9 Months Ended | ||
---|---|---|---|---|
Sep. 30, 2017 |
Sep. 30, 2016 |
Sep. 30, 2017 |
Sep. 30, 2016 |
|
Antidilutive Securities Excluded from Computation of Earnings Per Share [Line Items] | ||||
Weighted-average anti-dilutive common shares | 4,987 | 1,241 | 3,281 | 1,287 |
Employee Stock Option [Member] | ||||
Antidilutive Securities Excluded from Computation of Earnings Per Share [Line Items] | ||||
Weighted-average anti-dilutive common shares | 2,380 | 1,241 | 2,340 | 1,287 |
Warrants [Member] | ||||
Antidilutive Securities Excluded from Computation of Earnings Per Share [Line Items] | ||||
Weighted-average anti-dilutive common shares | 2,607 | 0 | 941 | 0 |