XML 18 R7.htm IDEA: XBRL DOCUMENT v3.21.1
Consolidated Statements of Cash Flows (Unaudited) - USD ($)
$ in Thousands
3 Months Ended
Mar. 31, 2021
Mar. 31, 2020
Cash flows from operating activities:    
Net loss $ (29,845) $ (22,924)
Adjustments to reconcile net loss to net cash provided by (used in) operating activities:    
Depreciation and amortization 6,740 4,843
Amortization of debt discount and issuance costs 658 2,743
Stock-based compensation expense 20,862 13,347
Induced conversion expense 2,740 0
Other 1,404 836
Changes in operating assets and liabilities:    
Accounts receivable 34,414 22,608
Deferred contract acquisition and fulfillment costs (1,956) (516)
Prepaid expenses and other assets (136) 135
Accounts payable 550 4,010
Accrued expenses (15,429) (14,563)
Deferred revenue 987 (16,671)
Other liabilities (394) (1,063)
Net cash provided by (used in) operating activities 20,595 (7,215)
Cash flows from investing activities:    
Business acquisition, net of cash acquired (49,720) 0
Purchases of property and equipment (972) (2,756)
Capitalization of internal-use software costs (1,758) (1,474)
Purchases of investments (6,394) (24,272)
Sales/maturities of investments 41,900 113,924
Other (1,500) 0
Net cash (used in) provided by investing activities (18,444) 85,422
Cash flows from financing activities:    
Proceeds from issuance of convertible senior notes, net of issuance costs paid of $12,900 587,100 0
Purchase of capped calls related to convertible senior notes (76,020) 0
Payments for repurchase of convertible senior notes (182,647) 0
Payments related to business acquisition (2,431) 0
Taxes paid related to net share settlement of equity awards (3,324) (1,533)
Proceeds from employee stock purchase plan 4,467 3,346
Proceeds from stock option exercises 1,427 1,561
Net cash provided by financing activities 328,572 3,374
Effect of exchange rate changes on cash, cash equivalents and restricted cash (500) (560)
Net increase in cash, cash equivalents and restricted cash 330,223 81,021
Cash, cash equivalents and restricted cash, beginning of period 173,617 123,413
Cash, cash equivalents and restricted cash, end of period 503,840 204,434
Supplemental cash flow information:    
Cash paid for interest on convertible senior notes 1,438 1,438
Cash paid for income taxes, net of refunds 64 33
Reconciliation of cash, cash equivalents and restricted cash:    
Total cash, cash equivalents and restricted cash $ 503,840 $ 204,434