XML 17 R6.htm IDEA: XBRL DOCUMENT v3.20.2
Condensed Consolidated Statements of Cash Flows - USD ($)
$ in Thousands
6 Months Ended
Jun. 30, 2020
Jun. 30, 2019
Cash flows from operating activities:    
Net income (loss) $ (50,766) $ 2,695
Adjustments to reconcile net income (loss) to net cash provided by operating activities:    
Depreciation and amortization 5,542 3,573
Non-cash operating lease cost 3,580 2,134
Stock-based compensation 30,587 13,359
Accretion of discounts and premiums on investments, net (609) (1,587)
Amortization of debt discount and issuance costs 15,560 5,513
Deferred income taxes (4,262) (18,040)
Other non-cash operating activities, net 7,098 (85)
Changes in operating assets and liabilities, net of effect of business acquisitions:    
Accounts receivable 60,176 30,290
Deferred commissions 382 (2,066)
Prepaid expenses, other current assets, and other assets (29,874) (15,270)
Accounts payable 2,482 4,753
Accrued payroll and payroll related liabilities (24,153) (5,871)
Accrued expenses, other current liabilities, operating lease liabilities, and other liabilities (10,125) 232
Deferred revenue 996 (12,957)
Net cash provided by operating activities 6,614 6,673
Cash flows from investing activities:    
Purchases of property and equipment (10,389) (3,550)
Cash paid in business acquisitions, net of cash acquired 0 (16,604)
Purchases of investments (643,320) (146,782)
Sales and maturities of investments 365,624 167,040
Net cash provided by (used in) investing activities (288,085) 104
Cash flows from financing activities:    
Proceeds from receipt of Section 16(b) disgorgement 0 4,918
Proceeds from exercise of stock options 14,776 13,227
Minimum tax withholding paid on behalf of employees for restricted stock units (14,088) (5,261)
Other financing activity (526) (1,305)
Net cash provided by financing activities 162 11,579
Effect of exchange rate changes on cash, cash equivalents and restricted cash (463) 43
Net increase (decrease) in cash, cash equivalents and restricted cash (281,772) 18,399
Cash, cash equivalents and restricted cash—beginning of period 411,424 90,961
Cash, cash equivalents and restricted cash—end of period 129,652 109,360
Supplemental disclosure of cash flow information:    
Cash paid for interest 3,029 575
Cash paid for income taxes 1,231 829
Cash paid for amounts included in the measurement of operating lease liabilities 4,677 2,749
Supplemental disclosure of noncash investing and financing activities:    
Property and equipment recorded in accounts payable and accrued expenses and other current liabilities 1,235 1,336
Right-of-use assets obtained in exchange for new operating lease liabilities 14,400 8,593
Reduction of right-of-use assets due to remeasurement (5,948) 0
Consideration for business acquisition included in accrued expenses and other current liabilities and other liabilities 0 3,000
Contingent consideration settled through issuance of common stock $ 0 $ 750