XML 17 R5.htm IDEA: XBRL DOCUMENT v3.10.0.1
Condensed Consolidated Statements of Cash Flows - USD ($)
$ in Thousands
9 Months Ended
Sep. 30, 2018
Sep. 30, 2017
Cash flows from operating activities:    
Net loss $ (53,759) $ (51,879)
Adjustments to reconcile net loss to net cash used in operating activities:    
Bad debt expense 571 (97)
Depreciation and amortization 5,919 6,933
Stock-based compensation 8,811 8,800
Change in fair value of derivative liabilities (8,305) 0
Change in fair value of contingent consideration related to acquisition (4,300) (3,400)
Accretion of interest & amortization of deferred financing costs on debt 8,242 7,558
Non-cash foreign exchange (gain) loss 464 (560)
Loss on debt extinguishment 2,270 6,512
Changes in operating assets and liabilities:    
Accounts receivable and other receivables 9,114 2,859
Inventories 2,146 (1,048)
Prepaid expenses and other current assets 1,610 (237)
Accounts payable (1,034) (3,447)
Accrued payroll (749) (3,225)
Accrued expenses and other liabilities (60) (2,509)
Net cash used in operating activities (29,060) (33,740)
Cash flows from investing activities:    
Maturities of marketable securities 0 21,000
Purchases of property and equipment (476) (876)
Net cash (used in) provided by investing activities (476) 20,124
Cash flows from financing activities:    
Cash paid for debt extinguishment (1,310) (2,515)
Net proceeds from revolving line of credit 9,979 15,441
Deferred financing costs (391) (6,755)
Proceeds from sale of common stock under employee stock purchase plan 997 1,681
Proceeds from issuance of at-the-market shares 1,829 0
Proceeds from issuance of debt 0 120,000
Repayment of debt 0 (66,613)
Minimum tax withholding paid on behalf of employees for restricted stock units and stock options (389) 0
Proceeds from exercise of stock options 892 482
Net cash provided by financing activities 11,607 61,721
Effect of exchange rate changes on cash and cash equivalents and restricted cash (256) 762
Net (decrease) increase in cash and cash equivalents and restricted cash (18,185) 48,867
Cash, cash equivalents and restricted cash, beginning of period 60,599 28,121
Cash, cash equivalents and restricted cash, end of period 42,414 76,988
Restricted cash, beginning of period 2,608 2,001
Cash and cash equivalents, beginning of period 57,991 26,120
Restricted cash, end of period 4,143 2,369
Cash and cash equivalents, end of period 38,271 74,619
Supplemental disclosure of cash flow information:    
Cash paid for interest 8,845 7,447
Cash paid for income taxes 184 672
Non-cash investing and financing activities:    
Acquisition of property and equipment included in accounts payable 20 176
Fair value of warrants issued in connection with the Facility Agreement $ 10,406 $ 14,704