XML 50 R30.htm IDEA: XBRL DOCUMENT
v3.8.0.1

Net Income (Loss) per Share Available to Common Stockholders (Tables) | 12 Months Ended
--- | ---
Dec. 31, 2017
Earnings Per Share [Abstract] |
Outstanding Securities Considered Anti-Dilutive | The following table shows the weighted-average outstanding securities considered anti-dilutive and therefore excluded from the computation of diluted net income (loss) per share available to common stockholders (in thousands):
|  | Year Ended December 31, |
|  | 2017 |  |  | 2016 |  |  | 2015 |
Common stock options and RSUs |  |  | 346 |  |  |  | 548 |  |  |  | 550 |
Warrants for common stock |  |  | 100 |  |  |  | 894 |  |  |  | 960 |
Convertible preferred stock |  |  | 4,372 |  |  |  | — |  |  |  | — |
Total |  |  | 4,818 |  |  |  | 1,442 |  |  |  | 1,510 |
Reconciliation of the Numerator and Denominator Used in Calculation of Basic and Diluted Net Income (Loss) per Share Available to Common Stockholders | The following is a reconciliation of the numerators and denominators used in calculating basic and diluted net income (loss) per share available to common stockholders (in thousands):
|  | Year Ended December 31, |
|  | 2017 |  |  | 2016 |  |  | 2015 |
Numerator |  |  |  |  |  |  |  |  |  |  |  |
Net income (loss) |  | $ | 14,596 |  |  | $ | (53,530 | ) |  | $ | (20,606 | )
Less: Deemed dividend on convertible preferred stock |  |  | (5,603 | ) |  |  | — |  |  |  | — |
Less: Allocation of undistributed earnings to participating securities |  |  | (3,279 | ) |  |  | — |  |  |  | — |
Net income (loss) available to common stockholders, basic |  |  | 5,714 |  |  |  | (53,530 | ) |  |  | (20,606 | )
Adjustments to undistributed earnings allocated to participating securities |  |  | 96 |  |  |  | — |  |  |  | — |
Net income (loss) available to common stockholders, diluted |  | $ | 5,810 |  |  | $ | (53,530 | ) |  | $ | (20,606 | )
Denominator |  |  |  |  |  |  |  |  |  |  |  |
Weighted average shares outstanding used for basic net income (loss) per share available to common stockholders |  |  | 7,619 |  |  |  | 6,021 |  |  |  | 5,890 |
Effect of dilutive stock options |  |  | 360 |  |  |  | — |  |  |  | — |
Effect of dilutive warrants |  |  | 1 |  |  |  | — |  |  |  | — |
Weighted average shares outstanding used for diluted net income (loss) per share available to common stockholders |  |  | 7,980 |  |  |  | 6,021 |  |  |  | 5,890 |
Basic net income (loss) per share of common stock |  | $ | 0.75 |  |  | $ | (8.89 | ) |  | $ | (3.50 | )
Diluted net income (loss) per share of common stock |  | $ | 0.73 |  |  | $ | (8.89 | ) |  | $ | (3.50 | )

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 Tabular disclosure of securities (including those issuable pursuant to contingent stock agreements) that could potentially dilute basic earnings per share (EPS) in the future that were not included in the computation of diluted EPS because to do so would increase EPS amounts or decrease loss per share amounts for the period presented, by antidilutive securities. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 260 -SubTopic 10 -Section 50 -Paragraph 1 -Subparagraph (c) -URI http://asc.fasb.org/extlink&oid=6371337&loc=d3e3550-109257 + Details
Name: | us-gaap_ScheduleOfAntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareTextBlock
Namespace Prefix: | us-gaap_
Data Type: | nonnum:textBlockItemType
Balance Type: | na
Period Type: | duration

X
- Definition Tabular disclosure of an entity's basic and diluted earnings per share calculations, including a reconciliation of numerators and denominators of the basic and diluted per-share computations for income from continuing operations. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 260 -SubTopic 10 -Section 50 -Paragraph 1 -URI http://asc.fasb.org/extlink&oid=6371337&loc=d3e3550-109257 + Details
Name: | us-gaap_ScheduleOfEarningsPerShareBasicAndDilutedTableTextBlock
Namespace Prefix: | us-gaap_
Data Type: | nonnum:textBlockItemType
Balance Type: | na
Period Type: | duration