XML 17 R7.htm IDEA: XBRL DOCUMENT v3.21.2
Condensed Consolidated Statements of Cash Flows - USD ($)
$ in Thousands
6 Months Ended
Jun. 30, 2021
Jun. 30, 2020
Cash flows from operating activities    
Net loss $ (64,204) $ (44,673)
Adjustments to reconcile net loss to net cash used in operating activities:    
Depreciation and amortization 15,953 5,971
Loss on extinguishment of debt 0 8,514
Amortization of debt discount and issuance costs 5,817 2,540
Non-cash operating lease expense 1,926 1,569
Investment discount and premium amortization 569 267
Provision for expected credit losses 398 836
Stock-based compensation expense 31,237 17,787
Deferred tax provision (benefit) 4 (1,280)
Change in fair value of contingent consideration liabilities 9,064 (1,568)
Payment of acquisition-related contingent consideration (11,025) 0
Other (25) 71
Change in operating assets and liabilities:    
Accounts receivable, net 927 (7,179)
Deferred costs 0 482
Prepaid expenses and other assets (1,548) (2,493)
Accounts payable, accrued liabilities, and other liabilities (2,439) (1,056)
Deferred revenue 7,465 4,475
Operating lease liabilities (2,107) (1,783)
Net cash used in operating activities (7,988) (17,520)
Cash flows from investing activities    
Purchases of property and equipment (8,138) (789)
Capitalization of internal-use software (1,912) (278)
Proceeds from the sale of property and equipment 12 10
Purchase of short-term investments (53,686) (163,346)
Proceeds from the sale and maturity of short-term investments 174,293 124,150
Purchase of intangible assets (770) (1,182)
Acquisition of business, net of cash acquired 0 (15,249)
Net cash provided by (used in) investing activities 109,799 (56,684)
Cash flows from financing activities    
Proceeds from convertible senior notes, net of issuance costs 0 222,482
Purchase of capped calls related to issuance of convertible senior notes 0 (21,743)
Proceeds from exercise of stock options 14,076 15,010
Proceeds from employee stock purchase plan 2,619 2,408
Repayment of credit facilities 0 (57,043)
Payments of acquisition-related consideration (5,360) (748)
Net cash provided by financing activities 11,335 160,366
Effect of exchange rate changes on cash and cash equivalents (5) (9)
Net increase in cash and cash equivalents 113,141 86,153
Cash and cash equivalents at beginning of period 91,954 18,032
Cash and cash equivalents at end of period 205,095 104,185
Supplemental disclosures of non-cash investing and financing information    
Purchase of property and equipment included in accounts payable and accrued liabilities 1,149 207
Common stock issued for settlement of contingent consideration 15,881 0
Issuance of common stock for acquisition consideration 0 3,332
Stock-based compensation capitalized as internal-use software 234 0
Purchase of intangible assets included in accounts payable and accrued liabilities 1,075 0
Operating lease right-of-use assets obtained in exchange for operating lease obligations $ 0 $ 13,037