XML 18 R6.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
Operating Activities    
Net (loss) income $ (2,423) $ 3,229
Adjustments to reconcile net (loss) income to net cash provided by operating activities:    
Depreciation and amortization 2,428 2,255
Loss on disposal of fixed assets 5  
Stock-based compensation 7,935 3,465
Unrealized foreign currency gains (624) (229)
Change in fair value of stock warrant liability   (43)
Amortization of premium on short-term investments 58 161
Deferred rent 338 2
Change in operating assets and liabilities:    
Accounts receivable, net (2,289) (4,051)
Inventory (1,368) (1,579)
Prepaid expenses and other current assets 721 (131)
Restricted cash 80  
Accounts payable and accrued liabilities 2,145 2,028
Other assets (368) (5)
Net cash provided by operating activities 6,638 5,102
Investing activities    
Purchases of short-term investments (45,766) (35,825)
Proceeds from sale and maturities of short-term investments 44,580 23,954
Purchases of property and equipment (2,071) (1,219)
Net cash used in investing activities (3,257) (13,090)
Financing activities    
Proceeds from exercise of stock options 2,782 2,414
Proceeds from exercise of stock warrants   50
Payments of secured notes   (4,410)
Share purchases under Employee Stock Purchase Plan 968 793
Net cash provided by (used in) financing activities 3,750 (1,153)
Effect of exchange rate changes on cash and cash equivalents (255) (92)
Net increase (decrease) in cash and cash equivalents 6,876 (9,233)
Cash and cash equivalents at beginning of period 6,494 21,572
Cash and cash equivalents at end of period 13,370 12,339
Supplemental disclosures of cash flow information    
Interest paid   197
Taxes paid 64 63
Supplemental schedule of noncash investing and financing activities    
Reduction of liability upon vesting of stock options previously exercised for unvested stock $ 3 $ 42