XML 47 R6.htm IDEA: XBRL DOCUMENT v3.19.3
CONSOLIDATED STATEMENTS OF CASH FLOWS - USD ($)
shares in Thousands, $ in Thousands
9 Months Ended
Sep. 30, 2019
Sep. 30, 2018
Cash flows from operating activities:    
Net loss $ (25,612) $ (36,704)
Adjustments to reconcile net loss to net cash (used in) provided by operating activities:    
Depreciation and amortization 24,519 12,110
Amortization of deferred financing costs and debt discount 7,689 66
Deferred taxes (10,749) (4,536)
Stock-based compensation 20,983 7,121
Change in fair value of acquisition-related contingent consideration 4,516 40,385
Acquisition-related contingent consideration paid (24,480)  
Other noncash items 12 51
Changes in operating assets and liabilities, net of effect from acquisitions:    
Accounts receivable, net (417) (7,035)
Inventories (220) (818)
Prepaid expenses and other current assets (2,626) (4,915)
Other assets (53) 267
Accounts payable (5,787) (5,163)
Accrued expenses and other liabilities 5,474 8,421
Other long-term liabilities (60) (7)
Net cash (used in) provided by operating activities (6,811) 9,243
Cash flows from investing activities:    
Purchases of property and equipment (5,202) (3,484)
Software development costs (10,285) (3,564)
Purchases of intangible assets (1,202) (29)
Proceeds from repayment of note receivable 1,000  
Acquisitions of businesses, net of cash acquired (158,762) (21,981)
Net cash used in investing activities (174,451) (29,058)
Cash flows from financing activities:    
Payments for repurchase of common stock   (2,866)
Proceeds from exercise of stock options 2,503 2,590
Payments for debt financing costs (9,632) (103)
Borrowings on line of credit   26,500
Repayments of line of credit (45,000)  
Payments of equity offering costs   (364)
Payments of acquisition-related contingent consideration (29,062) (1,646)
Repayments of long-term debt and finance leases (757) (779)
Proceeds from issuance of convertible senior subordinated notes 325,000  
Proceeds from sale of warrants 65,910  
Purchase of convertible note hedges (101,660)  
Net cash provided by financing activities 207,302 23,332
Net increase in cash and restricted cash 26,040 3,517
Cash and restricted cash, beginning of period 25,029 10,430
Cash and restricted cash, end of period 51,069 13,947
Supplemental disclosure of cash flow information:    
Acquisition of equipment under capital leases   442
Additions to property, equipment, and software development purchases included in accounts payable and accrued expenses 803 390
Cash paid for interest 3,177 $ 251
Cash paid for taxes 317  
Interest costs capitalized to property and equipment and software development costs, net of depreciation and amortization $ 248  
Stock issued in connection with acquisitions 9,504 3,595