XML 34 R18.htm IDEA: XBRL DOCUMENT
v3.10.0.1

Net (Loss) Income Per Share Available to Common Stockholders | 12 Months Ended
--- | ---
Dec. 31, 2018
Earnings Per Share [Abstract] |
Net (Loss) Income Per Share Available to Common Stockholders | 12. Net (Loss) Income Per Share Available to Common Stockholders Potentially dilutive securities are excluded from the calculation of diluted net (loss) income per share available to common stockholders if their inclusion is anti-dilutive. The following table shows the weighted-average outstanding securities considered anti-dilutive and therefore excluded from the computation of diluted net (loss) income per share available to common stockholders (in thousands):
|  | Year Ended December 31, |
|  | 2018 |  |  | 2017 |
Convertible preferred stock |  |  | 5,048 |  |  |  | 4,372 |
Common stock options and RSUs |  |  | 1,639 |  |  |  | 346 |
Warrants for common stock |  |  | 21 |  |  |  | 100 |
Total |  |  | 6,708 |  |  |  | 4,818 |
The following is a reconciliation of the numerator (net income or loss) and denominator (number of shares) used in the calculation of basic and diluted net (loss) income per share available to common stockholders (in thousands):
|  | Year Ended December 31, |
|  | 2018 |  |  | 2017 |
Numerator |  |  |  |  |  |  |  |
Net (loss) income |  | $ | (13,343 | ) |  | $ | 14,596 |
Less: Deemed dividend on convertible preferred stock |  |  | — |  |  |  | (5,603 | )
Less: Allocation of undistributed earnings to participating securities |  |  | — |  |  |  | (3,279 | )
Net (loss) income available to common stockholders, basic |  | $ | (13,343 | ) |  | $ | 5,714 |
Adjustments to undistributed earnings allocated to participating securities |  |  | — |  |  |  | 96 |
Net (loss) income available to common stockholders, diluted |  | $ | (13,343 | ) |  | $ | 5,810 |
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 |  | $ | (1.59 | ) |  | $ | 0.75 |
Diluted net (loss) income per share of common stock |  | $ | (1.59 | ) |  | $ | 0.73 |

X
- References No definition available. + Details
Name: | us-gaap_EarningsPerShareAbstract
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition The entire disclosure for earnings per share. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 260 -URI http://asc.fasb.org/topic&trid=2144383 + Details
Name: | us-gaap_EarningsPerShareTextBlock
Namespace Prefix: | us-gaap_
Data Type: | nonnum:textBlockItemType
Balance Type: | na
Period Type: | duration