XML 22 R8.htm IDEA: XBRL DOCUMENT v3.22.4
Consolidated Statements of Cash Flows - USD ($)
$ in Thousands
12 Months Ended
Dec. 31, 2022
Dec. 31, 2021
Dec. 31, 2020
Cash flows from operating activities:      
Net loss $ (272,072) $ (176,782) $ (228,626)
Adjustments to reconcile net loss to net cash used in operating activities:      
Depreciation and amortization expense 26,167 16,089 10,153
Provisions for credit losses 806 714 1,646
Amortization of deferred contract acquisition costs 1,684 1,971 1,410
Amortization of deferred contract fulfillment costs 620 737 852
Noncash compensation costs incurred by selling shareholders 11,139 2,753  
Stock-based compensation expense 67,675 43,809 118,358
Loss on equity method investment 2,278 3,132 2,188
Deferred income taxes (2,524) (6,245)  
Changes in operating assets and liabilities, net of acquisition:      
Accounts receivable (8,140) (512) (14,212)
Inventories (1,207) 1,598 (6,024)
Deferred contract acquisition costs (2,771) (2,235) (2,102)
Prepaid expenses and other current assets (161) (5,775) (5,990)
Other assets (235) 117 122
Accounts payable (4,780) 5,546 (707)
Accrued expenses and other current liabilities 8,962 (380) 12,887
Other long-term liabilities (25) (16,705) (245)
Deferred revenue (19,739) (9,369) (2,174)
Net cash used in operating activities (192,323) (141,537) (112,464)
Cash flows from investing activities:      
Purchases of property and equipment (292) (559) (3,318)
Capitalized software development costs (10,155)    
Investment in less than majority owned joint venture (1,960) (2,548) (2,940)
Purchases of investments (499,223)   (159,608)
Proceeds from sales and maturities of investments 500,000 100,000 99,109
Acquisitions of business, net of cash acquired   (156,526)  
Net cash used in investing activities (11,630) (59,633) (66,757)
Cash flows from financing activities:      
Proceeds from issuance of Series C convertible preferred stock, net of issuance costs     146,014
Proceeds from exercise of common stock options 5,740 20,806 5,932
Proceeds from employee stock purchase plan 2,503 1,599  
Payments for the purchase of treasury stock (360) (15,038) (37,568)
Proceeds from Section 16(b) disgorgement 295    
Payment of contingent consideration (11,790)    
Proceeds from issuance of common stock in initial public offering, net of underwriting costs and commissions     772,931
Proceeds from the issuance of common stock to Google, net of issuance costs     99,100
Payment of deferred offering costs   (1,613) (3,293)
Net cash (used in) provided by financing activities (3,612) 5,754 983,116
Effect of exchange rates changes on cash, cash equivalents, and restricted cash (305) (84)  
Net (decrease) increase in cash, cash equivalents, and restricted cash (207,870) (195,500) 803,895
Cash, cash equivalents, and restricted cash at beginning of period 747,211 942,711 138,816
Cash, cash equivalents, and restricted cash at end of period 539,341 747,211 942,711
Cash, cash equivalents, and restricted cash at end of period:      
Cash and cash equivalents 538,546 746,416 941,616
Restricted cash 795 795 1,095
Total cash, cash equivalents, and restricted cash at end of period 539,341 747,211 942,711
Supplemental disclosure of cash flow information:      
Cash paid for income taxes 1,723 1,587 713
Supplemental disclosure of non-cash investing and financing activities:      
Issuance of common stock in acquisitions   144,107  
Issuance of common stock in settlement of earnout $ 17,243    
Receivable related to exercise of common stock options   $ 74  
Common stock issuance costs in accrued expenses     $ 1,613