XML 17 R7.htm IDEA: XBRL DOCUMENT v3.8.0.1
Condensed Consolidated Statements of Cash Flows (Unaudited) - USD ($)
$ in Thousands
9 Months Ended
Sep. 30, 2017
Sep. 30, 2016
Net (loss) income $ (48,348) $ 17,952
Adjustments to reconcile net loss to net cash used in operating activities:    
Stock-based compensation expense 3,124 1,958
Depreciation and amortization 832 1,860
Gain on sale of fixed assets 10 (291)
Non-cash interest expense 172 0
Change in fair value of contingent consideration liability 3,300 1,400
Changes in assets and liabilities:    
Accounts receivable 2,245 (403)
Other current assets 2,644 1,875
Other assets (4) (1,027)
Accounts payable 527 770
Accrued expenses (5,732) 3,498
Other current liabilities (159)
Other liabilities 242 (176)
Net cash (used in) provided by operating activities (40,988) 27,257
Cash flows from investing activities:    
Purchases of property and equipment (263) (3,261)
Proceeds from sale of fixed assets 37 341
Net cash used in investing activities (226) (2,920)
Cash flows from financing activities:    
Return of estimated interest payment for noncontrolling interest 21
Proceeds from exercise of stock options 470 510
Net cash provided by financing activities 491 510
Effect of currency rate changes on cash and cash equivalents 93 (56)
Net (decrease) increase in cash and cash equivalents (40,630) 24,791
Cash and cash equivalents at beginning of period 138,909 74,103
Cash and cash equivalents at end of period $ 98,279 $ 98,894