XML 22 R6.htm IDEA: XBRL DOCUMENT v3.19.3
Condensed Consolidated Statements of Cash Flows - USD ($)
$ in Thousands
9 Months Ended
Sep. 30, 2019
Sep. 30, 2018
CASH FLOWS FROM OPERATING ACTIVITIES:    
Net loss $ (216,816) $ (74,791)
Adjustments to reconcile net loss to net cash provided by operating activities:    
Depreciation and amortization 79,295 18,246
Right-of-use asset amortization 16,732 0
Net amortization of investment premium and discount (4,163) (845)
Amortization of debt discount and issuance costs 17,689 8,374
Stock-based compensation 197,332 61,287
Tax benefit related to release of valuation allowance (55,999) 0
Other adjustments 3,981 5,198
Changes in operating assets and liabilities:    
Accounts receivable (27,619) (39,643)
Prepaid expenses and other current assets (20,743) (6,600)
Other long-term assets (10,756) (3,681)
Accounts payable 4,333 1,641
Accrued expenses and other current liabilities 33,826 39,732
Deferred revenue and customer deposits 3,043 5,092
Operating right of use liability (15,397) 0
Long-term liabilities (2,714) (1,177)
Net cash provided by operating activities 2,024 12,833
CASH FLOWS FROM INVESTING ACTIVITIES:    
Acquisitions, net of cash acquired 146,957 (29,662)
Purchases of marketable securities and other investments (1,769,125) (213,533)
Proceeds from sales and maturities of marketable securities 475,260 113,497
Capitalized software development costs (16,809) (15,276)
Purchases of long-lived assets (18,994) (3,428)
Net cash used in investing activities (1,182,711) (148,402)
CASH FLOWS FROM FINANCING ACTIVITIES:    
Proceeds from a public offering, net of underwriting discount 980,000 0
Payments of costs related to the public offering (850) 0
Proceeds from issuance of convertible senior notes 0 550,000
Payment of debt issuance costs 0 (12,877)
Purchase of capped call 0 (58,465)
Principal payments on notes payable (5,400) 0
Principal payments on finance leases (3,927) 0
Proceeds from exercises of stock options and issuances under ESPP 40,354 27,052
Value of equity awards withheld for tax liabilities (4,148) (1,720)
Net cash provided by financing activities 1,006,029 503,990
Effect of exchange rate changes on cash, cash equivalents and restricted cash 0 105
NET (DECREASE) INCREASE IN CASH, CASH EQUIVALENTS AND RESTRICTED CASH (174,658) 368,526
CASH, CASH EQUIVALENTS AND RESTRICTED CASH—Beginning of period 505,334 120,788
CASH, CASH EQUIVALENTS AND RESTRICTED CASH —End of period 330,676 489,314
Cash paid for income taxes, net 509 544
Cash paid for interest 1,406 0
NON-CASH INVESTING AND FINANCING ACTIVITIES:    
Purchases of property, equipment and intangible assets, accrued but not paid 1,478 785
Finance lease right-of-use assets assumed in a business combination 14,173 0
Purchases of property and equipment through finance leases 3,141 0
Acquisition holdback 4,230 2,000
Acquisition - value of common stock issued, stock awards assumed and measurement period adjustments 2,841,452 0
Stock-based compensation capitalized in software development costs $ 5,711 $ 4,434