XML 17 R7.htm IDEA: XBRL DOCUMENT v3.22.2.2
CONDENSED CONSOLIDATED STATEMENTS OF CASH FLOWS - USD ($)
9 Months Ended
Sep. 30, 2022
Sep. 30, 2021
Cash flows from operating activities:    
Net loss $ (144,121,000) $ (165,176,000)
Adjustments to reconcile net loss to net cash used in operating activities:    
Depreciation expense 31,248,000 20,710,000
Amortization of intangible assets 16,114,000 15,929,000
Amortization of right-of-use assets and other 21,879,000 19,818,000
Amortization of debt discount and issuance costs 2,454,000 2,235,000
Amortization of deferred contract costs 6,020,000 4,567,000
Stock-based compensation 114,378,000 100,900,000
Provision for credit losses 1,782,000 41,000
Interest on finance lease (1,843,000) (1,259,000)
Loss on disposals of property and equipment 854,000 (177,000)
Amortization and accretion of discounts and premiums on investments 2,622,000 0
Net gain on extinguishment of debt (54,391,000) 0
Other adjustments (292,000) 1,496,000
Changes in operating assets and liabilities:    
Accounts receivable (10,071,000) (4,017,000)
Prepaid expenses and other current assets (5,787,000) (5,502,000)
Other assets (19,904,000) (7,320,000)
Accounts payable (3,457,000) (1,653,000)
Accrued expenses 4,490,000 2,713,000
Operating lease liabilities (20,667,000) (19,735,000)
Other liabilities 1,188,000 5,856,000
Net cash used in operating activities (57,504,000) (30,574,000)
Cash flows from investing activities:    
Purchases of marketable securities (355,479,000) (777,569,000)
Sales of marketable securities 161,853,000 64,236,000
Maturities of marketable securities 440,737,000 72,853,000
Business acquisitions, net of cash acquired and other related payments (27,745,000) 0
Advance payment for purchase of property and equipment (31,274,000) 0
Purchases of property and equipment (11,446,000) (31,267,000)
Proceeds from sale of property and equipment 366,000 291,000
Capitalized internal-use software (13,856,000) (10,299,000)
Purchase of intangible assets 0 (2,092,000)
Net cash provided by (used in) investing activities 163,156,000 (683,847,000)
Cash flows from financing activities:    
Issuance of convertible note, net of issuance costs 0 930,775,000
Payments of other debt issuance costs 0 (1,351,000)
Net cash paid for debt extinguishment (177,082,000) 0
Repayments of finance lease liabilities (18,105,000) (10,564,000)
Cash received for restricted stock sold in advance of vesting conditions 10,655,000 0
Cash paid for early sale of restricted shares (10,655,000) 0
Proceeds from exercise of vested stock options 5,324,000 9,094,000
Proceeds from employee stock purchase plan 5,726,000 5,994,000
Net cash provided by (used in) financing activities (184,137,000) 933,948,000
Effects of exchange rate changes on cash, cash equivalents, and restricted cash (429,000) (383,000)
Net increase (decrease) in cash, cash equivalents, and restricted cash (78,914,000) 219,144,000
Cash, cash equivalents, and restricted cash at beginning of period 166,961,000 63,880,000
Cash, cash equivalents, and restricted cash at end of period 88,047,000 283,024,000
Supplemental disclosure of cash flow information:    
Cash paid for interest 1,969,000 1,379,000
Cash paid for income taxes, net of refunds received 225,000 240,000
Property and equipment additions not yet paid in cash 8,497,000 443,000
Stock-based compensation capitalized to internal-use software 6,034,000 3,411,000
Assets obtained in exchange for operating lease obligations 28,788,000 25,745,000
Assets obtained in exchange for finance lease obligations 23,521,000 28,399,000
Net non-cash change in operating lease assets and liabilities associated with modifications and terminations 3,132,000 0
Purchase consideration associated with business combination, accrued but not paid 8,000,000 0
Costs associated with business combination, accrued but not paid 30,000 0
Deployments of prepaid capital equipment 926,000 0
Reconciliation of cash, cash equivalents, and restricted cash as shown in the statements of cash flows:    
Cash and cash equivalents 87,897,000 282,131,000
Restricted cash, current 150,000 0
Restricted cash, non-current 0 893,000
Total cash, cash equivalents, and restricted cash $ 88,047,000 $ 283,024,000