Net Income (Loss) Per Share (Details 1) - shares shares in Thousands |
3 Months Ended | 6 Months Ended | ||
---|---|---|---|---|
Jun. 30, 2017 |
Jun. 30, 2016 |
Jun. 30, 2017 |
Jun. 30, 2016 |
|
Antidilutive Securities Excluded from Computation of Earnings Per Share [Line Items] | ||||
Weighted-average anti-dilutive common shares | 3,554 | 1,244 | 2,841 | 1,292 |
Employee Stock Option [Member] | ||||
Antidilutive Securities Excluded from Computation of Earnings Per Share [Line Items] | ||||
Weighted-average anti-dilutive common shares | 2,437 | 1,244 | 2,324 | 1,280 |
Warrants [Member] | ||||
Antidilutive Securities Excluded from Computation of Earnings Per Share [Line Items] | ||||
Weighted-average anti-dilutive common shares | 1,117 | 0 | 517 | 12 |