Net (Loss) Income Per Share Available to Common Stockholders - Reconciliation of Numerator and Denominator Used in Calculation of Basic and Diluted Net Income (Loss) per Share Available to Common Stockholders (Details) - USD ($) $ / shares in Units, shares in Thousands |
3 Months Ended | 12 Months Ended | ||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Dec. 31, 2018 |
Sep. 30, 2018 |
Jun. 30, 2018 |
Mar. 31, 2018 |
Dec. 31, 2017 |
Sep. 30, 2017 |
Jun. 30, 2017 |
Mar. 31, 2017 |
Dec. 31, 2018 |
Dec. 31, 2017 |
|||||||
Numerator | ||||||||||||||||
Net (loss) income | $ (3,012,000) | $ (4,578,000) | $ (1,947,000) | $ (3,806,000) | $ (1,318,000) | $ 26,344,000 | $ 285,000 | $ (10,715,000) | $ (13,343,000) | $ 14,596,000 | ||||||
Less: Deemed dividend on convertible preferred stock | (5,603,000) | |||||||||||||||
Less: Allocation of undistributed earnings to participating securities | 0 | (3,279,000) | ||||||||||||||
Net (loss) income available to common stockholders, basic | (13,343,000) | 5,714,000 | ||||||||||||||
Adjustments to undistributed earnings allocated to participating securities | 96,000 | |||||||||||||||
Net (loss) income available to common stockholders, diluted | $ (13,343,000) | $ 5,810,000 | ||||||||||||||
Denominator | ||||||||||||||||
Weighted average shares used in computing basic net (loss) income per share available to common stockholders | 8,373 | 7,619 | ||||||||||||||
Effect of dilutive stock options | 360 | |||||||||||||||
Effect of dilutive warrants | 1 | |||||||||||||||
Weighted average shares used in computing diluted net (loss) income per share available to common stockholders | 8,373 | 7,980 | ||||||||||||||
Basic net (loss) income per share of common stock | $ (0.35) | $ (0.55) | $ (0.23) | $ (0.46) | $ (0.16) | $ 2.06 | $ 0.02 | $ (2.37) | $ (1.59) | $ 0.75 | ||||||
Diluted net (loss) income per share of common stock | $ (0.35) | $ (0.55) | $ (0.23) | $ (0.46) | $ (0.16) | [1] | $ 1.98 | [1] | $ 0.02 | [1] | $ (2.37) | [1] | $ (1.59) | $ 0.73 | ||
|
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/disclosureRef
|
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/exampleRef
|
X | ||||||||||
- Definition The portion of profit or loss for the period, net of income taxes, which is attributable to the parent. Reference 1: http://www.xbrl.org/2003/role/disclosureRef
|
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/disclosureRef
|
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://fasb.org/us-gaap/role/ref/legacyRef
|
X | ||||||||||
- Definition Amount of undistributed earnings (loss) allocated to participating securities for the basic earnings (loss) per share or per unit calculation under the two-class method. Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef
|
X | ||||||||||
- Definition Amount of undistributed earnings (loss) allocated to participating securities for the diluted earnings (loss) per share or per unit calculation under the two-class method. Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef
|
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://fasb.org/us-gaap/role/ref/legacyRef
|
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://fasb.org/us-gaap/role/ref/legacyRef
|
X | ||||||||||
- Definition Deemed dividends on convertible preferred stock. No definition available.
|
X | ||||||||||
- Definition Incremental common shares attributable to dilutive effect of stock options. No definition available.
|
X | ||||||||||
- Definition Incremental common shares attributable to dilutive effect of warrants. No definition available.
|
X | ||||||||||
- Definition Net income loss available to common stockholders basic and diluted. No definition available.
|