Organization and Summary of Significant Accounting Policies (Details) - USD ($) $ / shares in Units, shares in Thousands, $ in Thousands |
3 Months Ended | 12 Months Ended | |||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Dec. 31, 2017 |
Sep. 30, 2017 |
Jun. 30, 2017 |
Mar. 31, 2017 |
Dec. 31, 2016 |
Sep. 30, 2016 |
Jun. 30, 2016 |
Mar. 31, 2016 |
Dec. 31, 2017 |
Dec. 31, 2016 |
Dec. 31, 2015 |
|
Numerator: | |||||||||||
Net income (loss) used for basic earnings per share | $ (14,307) | $ 5,135 | $ (11,279) | ||||||||
Less change in fair value of warrant liability | 619 | 825 | (4,512) | ||||||||
Net income (loss) used for diluted earnings per share | $ (14,926) | $ 4,310 | $ (11,279) | ||||||||
Denominator: | |||||||||||
Basic weighted-average outstanding common shares | 21,203 | 20,744 | 20,053 | ||||||||
Effect of dilutive potential common shares resulting from options | 0 | 141 | 0 | ||||||||
Effect of dilutive potential common shares resulting from warrants | 25 | 574 | 0 | ||||||||
Weighted-average shares outstandingdiluted | 21,228 | 21,459 | 20,053 | ||||||||
Net income (loss) per common share: | |||||||||||
Basic | $ (0.17) | $ (0.20) | $ (0.16) | $ (0.14) | $ (0.11) | $ (0.12) | $ 0.58 | $ (0.09) | $ (0.67) | $ 0.25 | $ (0.56) |
Diluted | $ (0.17) | $ (0.20) | $ (0.17) | $ (0.16) | $ (0.15) | $ (0.12) | $ 0.55 | $ (0.09) | $ (0.7) | $ 0.2 | $ (0.56) |
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 | ||||||||||
- Definition Amount of expense (income) related to adjustment to fair value of warrant liability. 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
|