XML 17 R5.htm IDEA: XBRL DOCUMENT v3.7.0.1
Condensed Consolidated Statements of Cash Flows - USD ($)
$ in Thousands
6 Months Ended
Jun. 30, 2017
Jun. 30, 2016
Cash flows from operating activities:    
Net income (loss) $ 4,085 $ (10,202)
Adjustments to reconcile net income (loss) to net cash provided by (used in) operating activities:    
Depreciation and amortization 1,814 1,822
Stock-based compensation 1,739 1,072
Reversal of uncertain tax positions (191) (170)
Write off of certain assets to restructuring 0 1,744
Other 58 37
Changes in operating assets and liabilities:    
Accounts receivable, net (2,558) 2,142
Inventories 849 (362)
Prepaid expenses and other current and long-term assets, net (328) (104)
Accounts payable 728 (1,412)
Accrued current and long-term liabilities 4,714 355
Income taxes payable 1,206 66
Net cash provided by (used in) operating activities 12,116 (5,012)
Cash flows from investing activities:    
Purchases of property and equipment (829) (256)
Net cash used in investing activities (829) (256)
Cash flows from financing activities:    
Proceeds from issuance of common stock under employee equity incentive plans 1,940 143
Payments on asset financings (603) (716)
Repayments of Lines of Credit 0 (3,000)
Net cash provided by (used in) financing activities 1,337 (3,573)
Net increase (decrease) in cash and cash equivalents 12,624 (8,841)
Cash and cash equivalents, beginning of period 19,622 26,591
Cash and cash equivalents, end of period 32,246 17,750
Supplemental disclosure of cash flow information:    
Cash paid for income taxes, net of refunds received 153 238
Cash paid during the period for interest 10 81
Non-cash investing and financing activities:    
Acquisitions of property and equipment and other assets under extended payment terms $ 1,955 $ 0