Net Income (Loss) Per Share (Details) - USD ($) $ / shares in Units, shares in Thousands, $ in Thousands |
3 Months Ended | 6 Months Ended | ||
---|---|---|---|---|
Jun. 30, 2017 |
Jun. 30, 2016 |
Jun. 30, 2017 |
Jun. 30, 2016 |
|
Numerator: | ||||
Net income (loss) used for basic earnings per share | $ (3,451) | $ 11,928 | $ (6,456) | $ 10,082 |
Less change in fair value of warrant liability | (190) | 0 | (612) | 0 |
Net income (loss) used for diluted earnings per share | $ (3,641) | $ 11,928 | $ (7,068) | $ 10,082 |
Denominator: | ||||
Basic weighted-average outstanding common shares | 21,204 | 20,508 | 21,199 | 20,284 |
Effect of dilutive potential common shares resulting from options | 0 | 254 | 2 | 129 |
Effect of dilutive potential common shares resulting from warrants | 0 | 1,116 | 0 | 810 |
Weighted-average shares outstandingdiluted | 21,204 | 21,878 | 21,201 | 21,223 |
Net income (loss) per common share: | ||||
Basic | $ (0.16) | $ 0.58 | $ (0.3) | $ 0.5 |
Diluted | $ (0.17) | $ 0.55 | $ (0.33) | $ 0.48 |
X | ||||||||||
- Definition Amount of Dilutive Securities, Fair Value Adjustment to warrant Liability. No definition available.
|
X | ||||||||||
- Definition This element represents the number of incremental common shares attributable to assumed exercise of options. No definition available.
|
X | ||||||||||
- Definition Incremental common shares attributable to assumed exercise of warrants. No definition available.
|
X | ||||||||||
- Definition The amount of net income (loss) for the period per each share of common stock or unit outstanding during the reporting period. Reference 1: http://www.xbrl.org/2003/role/presentationRef
|
X | ||||||||||
- References No definition available.
|
X | ||||||||||
- Definition The amount of net income (loss) for the period available to each share of common stock or common unit outstanding during the reporting period and to each share or unit that would have been outstanding assuming the issuance of common shares or units for all dilutive potential common shares or units outstanding during the reporting period. Reference 1: http://www.xbrl.org/2003/role/presentationRef
|
X | ||||||||||
- References No definition available.
|
X | ||||||||||
- Definition Amount, after deduction of tax, noncontrolling interests, dividends on preferred stock and participating securities; of income (loss) available to common shareholders. Reference 1: http://www.xbrl.org/2003/role/presentationRef
|
X | ||||||||||
- Definition Amount, after deduction of tax, noncontrolling interests, dividends on preferred stock and participating securities, and addition from assumption of issuance of common shares for dilutive potential common shares; of income (loss) available to common shareholders. Reference 1: http://www.xbrl.org/2003/role/presentationRef
|
X | ||||||||||
- Definition The average number of shares or units issued and outstanding that are used in calculating diluted EPS or earnings per unit (EPU), determined based on the timing of issuance of shares or units in the period. Reference 1: http://www.xbrl.org/2003/role/presentationRef
|
X | ||||||||||
- References No definition available.
|
X | ||||||||||
- Definition Number of [basic] shares or units, after adjustment for contingently issuable shares or units and other shares or units not deemed outstanding, determined by relating the portion of time within a reporting period that common shares or units have been outstanding to the total time in that period. Reference 1: http://www.xbrl.org/2003/role/presentationRef
|