XML 21 R7.htm IDEA: XBRL DOCUMENT v3.10.0.1
Condensed Consolidated Statements of Cash Flows (Unaudited) - USD ($)
$ in Thousands
6 Months Ended
Jun. 30, 2018
Jun. 30, 2017
Cash flows from operating activities    
Net loss $ (16,797) $ (24,838)
Adjustments to reconcile net loss to net cash used in operating activities:    
Depreciation and amortization of intangible assets 2,243 1,993
Change in fair value of contingent purchase price consideration (2,595)
Accretion and amortization of loan fees 280 289
Share-based compensation expense 2,746 2,760
Loss on disposal of property and equipment 83
Deferred income taxes 728 (2,471)
Changes in operating assets and liabilities:    
Accounts receivable, net (2,913) (4,480)
Inventory, net 187 (1,775)
Prepaid expenses and other assets (1,096) (392)
Accounts payable (3,292) 1,064
Accrued liabilities (1,114) 2,872
Other liabilities, net (44) 7,234
Net cash used in operating activities (18,989) (20,339)
Cash flows from investing activities    
Purchases of property and equipment (5,148) (2,928)
Purchases of intangible assets 13
Net cash used in investing activities (5,148) (2,915)
Cash flows from financing activities    
Proceeds from exercise of share options 814 308
Payments of tax withheld on vesting of restricted share units (265) (203)
Change in loans payable (45) 196
Net cash provided by financing activities 504 301
Effect of exchange rate changes on cash and cash equivalents (436) 556
Net decrease in cash, cash equivalents, and restricted cash (24,069) (22,397)
Cash, cash equivalents, and restricted cash at beginning of period 90,532 59,310
Cash, cash equivalents, and restricted cash at end of period $ 66,463 $ 36,913