v3.22.2
Condensed Consolidated Statements of Cash Flows - USD ($)
$ in Thousands
6 Months Ended
Jun. 30, 2022
Jun. 30, 2021
Operating activities    
Net loss $ (280,708) $ (262,054)
Adjustments to reconcile net loss to net cash provided by operating activities:    
Depreciation and amortization 9,207 7,999
Stock-based compensation 295,092 426,473
Deferred income taxes (14) (2,162)
Non-cash operating lease expense 20,246 14,435
Unrealized and realized (gain) loss from marketable securities, net 201,341 0
Other operating activities (3,678) 560
Changes in operating assets and liabilities:    
Accounts receivable (75,739) (83,883)
Prepaid expenses and other current assets (36,351) 12,770
Other assets 8,087 (7,360)
Accounts payable (19,985) 14,589
Accrued liabilities 28,850 9,070
Deferred revenue, current and noncurrent (11,681) (3,679)
Customer deposits, current and noncurrent (19,314) 28,668
Operating lease liabilities, current and noncurrent (17,331) (15,795)
Other noncurrent liabilities (114) 0
Net cash provided by operating activities 97,908 139,631
Investing activities    
Purchases of property and equipment (20,673) (1,405)
Purchases of marketable securities (89,500) 0
Proceeds from sales of marketable securities 19,009 0
Net cash used in investing activities (91,164) (1,405)
Financing activities    
Principal payments on borrowings 0 (200,000)
Proceeds from the exercise of common stock options 47,541 376,688
Other financing activities 307 (1,744)
Net cash provided by financing activities 47,848 174,944
Effect of foreign exchange on cash, cash equivalents, and restricted cash (6,341) (1,496)
Net increase in cash, cash equivalents, and restricted cash 48,251 311,674
Cash, cash equivalents, and restricted cash - beginning of period 2,366,914 2,128,146
Cash, cash equivalents, and restricted cash - end of period 2,415,165 2,439,820
Supplemental disclosures of cash flow information    
Cash paid for income taxes 1,374 3,425
Cash paid for interest $ 5 $ 2,381