v3.19.2
Condensed Consolidated Statements of Cash Flows - USD ($)
$ in Thousands
6 Months Ended
Jun. 30, 2019
Jun. 30, 2018
Cash flows from operating activities    
Net loss $ (5,010) $ (263)
Adjustments to reconcile net loss including non-controlling interests to net cash provided by operating activities:    
Depreciation and amortization of property and equipment 35,883 37,868
Amortization of intangible assets 2,262 1,395
Impairment loss, loss on disposal of fixed assets and intangible assets held for sale, net, and other 352 135
Stock-based compensation 4,380 6,072
Amortization of deferred financing costs and debt discount, net of amounts capitalized 4,381 0
Amortization of operating lease right-of-use assets 1,045 0
Gains and amortization of premiums/discounts for marketable securities (425) 0
Changes in operating assets and liabilities:    
Accounts receivable (31,350) (12,567)
Prepaid expenses and other assets (376) (22)
Accounts payable 95 704
Accrued expenses and other liabilities 3,661 1,018
Deferred revenue 19,521 (1,576)
Operating lease liabilities (1,447) 0
Net cash provided by operating activities 32,972 32,764
Cash flows from investing activities    
Purchases of marketable securities (55,629) 0
Sales of marketable securities 13,300 0
Purchases of property and equipment (73,852) (42,918)
Net cash used in investing activities (116,181) (42,918)
Cash flows from financing activities    
Debt issuance costs (1,815) 0
Proceeds from credit facility 3,500 0
Principal payments on credit facility (389) (438)
Payments of acquisition related consideration (1,952) 0
Proceeds from exercise of stock options 80 8,455
Payments of finance leases and notes payable (3,586) (2,865)
Payments of withholding tax on net issuance of restricted stock units (33,666) (7,586)
Payments to non-controlling interests (1,003) (614)
Net cash used in financing activities (38,831) (3,048)
Effect of exchange rates on cash 9 (23)
Net decrease in cash, cash equivalents, and restricted cash (122,031) (13,225)
Cash and cash equivalents at beginning of period 149,412 26,685
Cash, cash equivalents, and restricted cash at end of period 27,381 13,460
Supplemental disclosure of non-cash investing and financing activities    
Property and equipment costs in accounts payable, accrued expenses and other liabilities 34,777 26,756
Purchase of equipment and prepaid maintenance services under capital financing arrangements 0 5,068
Capitalized stock-based compensation included in property and equipment costs 465 392
Purchase price for business acquisition included in accrued expenses and other liabilities 2,961 0
Financed sale of intangible assets held for sale $ 299 $ 0