Consolidated Statements of Cash Flows - USD ($) $ in Thousands |
12 Months Ended |
Dec. 31, 2016 |
Dec. 31, 2015 |
| Cash Flows from Operating Activities: |
|
|
| Net (loss) income |
$ (26,470)
|
$ 2,155
|
| Adjustments to reconcile net (loss) income to net cash provided by operating activities: |
|
|
| Depreciation and amortization |
4,256
|
6,808
|
| Amortization of intangible assets |
0
|
1,229
|
| Loss on disposal of fixed assets |
2
|
1,147
|
| Stock-based compensation |
1,607
|
1,753
|
| Impairment charges |
20,899
|
8,099
|
| Gain on sale of businesses |
0
|
(17,319)
|
| Deferred income taxes |
(338)
|
88
|
| Changes in operating assets and liabilities, net of effect of divestitures: |
|
|
| Accounts receivable |
(608)
|
349
|
| Inventory |
731
|
2,900
|
| Prepaid expenses, deferred costs and other current assets |
(76)
|
3,433
|
| Other assets |
19
|
38
|
| Accounts payable |
(2,105)
|
(4,100)
|
| Partner commissions payable |
0
|
(1,100)
|
| Accrued royalties payable |
(669)
|
(1,591)
|
| Accrued and other liabilities |
1,022
|
(1,580)
|
| Assets and liabilities held for sale |
0
|
(2,608)
|
| Deferred revenue |
(116)
|
(1,584)
|
| Net cash used in operating activities |
(1,846)
|
(1,883)
|
| Cash Flows from Investing Activities |
|
|
| Purchase of short-term investments |
(23,808)
|
(27,570)
|
| Proceeds from maturities of short-term investments |
17,610
|
9,960
|
| Purchase of property and equipment |
(4,089)
|
(3,346)
|
| Capitalization of software and website development costs |
(2,415)
|
(1,903)
|
| Proceeds from disposal of fixed assets |
29
|
12
|
| Change in restricted cash |
3,417
|
(3,417)
|
| Proceeds from sale of business, net of expenses paid |
0
|
34,438
|
| Net cash (used in) provided by investing activities |
(9,256)
|
8,174
|
| Cash Flows from Financing Activities: |
|
|
| Principal payments on capital lease obligations |
(565)
|
(492)
|
| Proceeds from exercise of common stock options |
5
|
399
|
| Repurchase of common stock |
(1,021)
|
(4,184)
|
| Net cash used in financing activities |
(1,581)
|
(4,277)
|
| Change in cash of discontinued operations |
0
|
3,678
|
| Net (decrease) increase in cash and cash equivalents |
(12,683)
|
5,692
|
| Cash and cash equivalents—beginning of period |
32,663
|
26,971
|
| Cash and cash equivalents—end of period |
19,980
|
32,663
|
| Supplemental Disclosures of Cash Flow Information: |
|
|
| Cash paid for interest |
44
|
77
|
| Income taxes refunded during the period |
(13)
|
(1,094)
|
| Non-cash Investing and Financing Activities: |
|
|
| Accrued purchases of property and equipment |
103
|
30
|
| Note receivable from sale of business |
$ 0
|
$ 405
|