XML 18 R6.htm IDEA: XBRL DOCUMENT v3.22.2
Condensed Consolidated Statements of Cash Flows (Unaudited) - USD ($)
$ in Thousands
6 Months Ended
Jun. 30, 2022
Jun. 30, 2021
Operating activities    
Net loss $ (144,542) $ (163,451)
Adjustments to reconcile net loss to net cash (used in) provided by operating activities    
Stock-based compensation 71,104 147,746
Depreciation and amortization 30,550 15,120
Abandonment of long-lived assets 887 554
Noncash lease expense 4,808 3,735
Unrealized foreign currency loss, net 355 691
Deferred income taxes (638) (99)
Changes in operating assets and liabilities, net of effect of business combinations    
Accounts receivable 24,337 11,113
Deferred contract cost assets (7,361) (5,062)
Prepaid expenses and other assets (4,535) (5,723)
Accounts payable 5,926 (2,908)
Accrued expenses and other liabilities (8,909) 14,535
Deferred revenue 15,706 10,845
Operating lease liabilities (4,359) (1,929)
Net cash flow (used in) provided by operating activities (16,671) 25,167
Investing activities    
Purchases of property and equipment (9,433) (4,194)
Capitalized software development costs (16,252) (5,716)
Purchases of strategic investments (3,018) (3,450)
Originations of materials financing (9,259)  
Customer repayments of materials financing 6,261  
Acquisition of a business, net of cash acquired   (19,982)
Settlement of post-close working capital adjustments from business combinations 1,291  
Net cash flow used in investing activities (30,410) (33,342)
Financing activities    
Proceeds from initial public offering, net of underwriting commissions and discounts   665,129
Proceeds from stock option exercises 14,604 29,126
Payments of deferred offering costs (270) (3,527)
Proceeds from employee stock purchase plan 11,513  
Payment of deferred business acquisition consideration   (475)
Principal payments under finance lease agreements, net of proceeds from lease incentives (844) (742)
Net cash flow provided by financing activities 25,003 689,511
Net (decrease) increase in cash, cash equivalents and restricted cash (22,078) 681,336
Effect of exchange rate changes on cash (806) (731)
Cash, cash equivalents and restricted cash, beginning of period 589,212 383,253
Cash, cash equivalents and restricted cash, end of period 566,328 1,063,858
Reconciliation of cash, cash equivalents and restricted cash to the condensed consolidated balance sheets    
Cash and cash equivalents 563,224 1,060,512
Restricted cash, current at end of period included in prepaid expenses and other current assets   242
Restricted cash, non-current at end of period included in other assets 3,104 3,104
Cash, cash equivalents and restricted cash, end of period 566,328 1,063,858
Supplemental disclosure of cash flow information    
Cash paid for interest other than finance leases 74 110
Cash paid for income taxes 832 214
Cash received for lease incentives 568 1,070
Operating cash flows from finance leases 1,017 1,046
Operating cash flows from operating leases 5,595 3,713
Financing cash flows from finance leases 935 835
Noncash investing and financing activities:    
Purchases of property and equipment included in accounts payable and accrued expenses at period end 3,024 1,158
Capitalized software development costs included in accounts payable and accrued expenses at period end 1,365 666
Deferred offering costs included in accounts payable and accrued expenses at period end   641
Conversion of redeemable convertible preferred stock into common stock upon initial public offering   728,375
Indemnity holdback consideration associated with a business combination   4,050
Stock-based compensation capitalized for software development 4,061 920
Conversion of available-for-sale debt securities into equity securities 3,550  
Right of use assets obtained in exchange for operating lease liabilities 11,237 37
Noncash net change due to operating lease remeasurement $ (1,671) $ 9