v3.25.2
Condensed Consolidated Statements of Cash Flows - USD ($)
$ in Thousands
6 Months Ended
Jun. 30, 2025
Jun. 30, 2024
Operating activities:    
Net loss $ (167,874) $ (105,063)
Adjustments to reconcile net loss to net cash provided by operating activities:    
Depreciation and amortization 19,096 14,978
Amortization of premiums and accretion of purchase discounts on investment securities 19 (556)
Stock-based compensation 171,185 131,858
Non-cash lease expense 9,348 7,204
Non-cash expense recovery (722)  
Amortization of debt discount and issuance cost   658
Change in fair value of warrants and preferred stock of related party equity investment (3,235)  
Foreign exchange adjustment 32 377
Non-cash interest expense (24) (13)
Changes in operating assets and liabilities:    
Accounts receivable 4,941 (57,647)
Inventory (9,528) (225)
Prepaid expenses and other assets (6,595) 20,874
Accounts payable 6,979 16,668
Accrued compensation 25,787 19,701
Operating lease liabilities (9,307) (8,269)
Other accrued liabilities 40,464 (10,598)
Deferred revenue 1,460 1,044
Cash provided by operating activities 82,026 30,991
Investing activities:    
Purchases of investments   (72,810)
Proceeds from maturity of investments 7,000 221,500
Purchases of property and equipment, net (47,712) (31,993)
Cash paid for acquisition of intangible assets   (10,495)
Cash (used in) provided by investing activities (40,712) 106,202
Financing activities:    
Proceeds from exercise of stock options 884 8,648
Proceeds from issuance of common stock under employee stock purchase plan 12,236 8,862
Cash provided by financing activities 13,120 17,510
Net change in cash, cash equivalents and restricted cash 54,434 154,703
Cash, cash equivalents and restricted cash, beginning of period 945,587 642,095
Cash, cash equivalents and restricted cash, end of period 1,000,021 796,798
Supplemental disclosure of cash flow information:    
Cash paid for interest 2,034 5,592
Non-cash activities:    
Purchases of property and equipment in accounts payable and accruals (4,819) 2,245
Acquisition of warrants   1,884
Amounts accrued for acquisition of intangible assets   1,400
Issuance of common stock for bonuses 32,875 24,071
Stock-based compensation included in capitalized software development costs $ 1,397 $ 1,089