XML 21 R8.htm IDEA: XBRL DOCUMENT v3.23.3
CONDENSED CONSOLIDATED STATEMENTS OF CASH FLOWS - USD ($)
$ in Thousands
6 Months Ended
Oct. 31, 2023
Oct. 31, 2022
Cash flows from operating activities:    
Net loss $ (134,138) $ (140,721)
Adjustments to reconcile net loss to net cash used in operating activities    
Depreciation and amortization 6,220 2,413
Non-cash operating lease cost 454 1,101
Stock-based compensation expense 104,049 112,643
Accretion of discounts on marketable securities (8,755) (582)
Other 0 186
Changes in operating assets and liabilities    
Accounts receivable [1] (8,567) (14,668)
Prepaid expenses, other current assets and other assets [2] (665) (3,204)
Accounts payable [3] (2,918) (28,197)
Accrued compensation and employee benefits (2,551) (1,050)
Operating lease liabilities 7,804 650
Other liabilities [4] 1,709 (882)
Deferred revenue [5] (7,296) (18,534)
Net cash used in operating activities (44,654) (90,845)
Cash flows from investing activities:    
Purchases of property and equipment (16,631) (39,978)
Capitalized software development costs (2,750) (1,000)
Purchases of marketable securities (489,871) (384,024)
Maturities and sales of marketable securities 412,554 455,534
Net cash (used in) provided by investing activities (96,698) 30,532
Cash flows from financing activities:    
Proceeds from issuance of Class A common stock under employee stock purchase plan 5,055 0
Proceeds from exercise of Class A common stock options 10,163 1,782
Taxes paid related to net share settlement of equity awards (9,686) (3,375)
Net cash provided by (used in) financing activities 5,532 (1,593)
Net decrease in cash, cash equivalents and restricted cash (135,820) (61,906)
Cash, cash equivalents and restricted cash at beginning of period 297,395 352,519
Cash and cash equivalents 149,009 277,622
Restricted cash included in other assets, non-current 12,566 12,566
Restricted cash included in prepaid expenses and other current assets 0 425
Cash, cash equivalents and restricted cash at end of period 161,575 290,613
Total cash, cash equivalents and restricted cash 161,575 290,613
Supplemental disclosure of cash flow information—cash paid for income taxes 281 136
Supplemental disclosures of non-cash investing and financing activities:    
Purchases of property and equipment included in accounts payable and accrued liabilities 7,293 18,361
Right-of-use assets obtained in exchange for lease obligations (including remeasurement of right-of-use assets and lease liabilities due to changes in the timing of receipt of lease incentives) 778 0
Unpaid liabilities related to intangible purchases 0 1,500
Vesting of early exercised stock options $ 294 $ 561
[1] Including changes in related party balances of $12,444 and $18,023 for the six months ended October 31, 2023 and 2022, respectively.
[2] Including changes in related party balances of $(810) and $(2,431) for the six months ended October 31, 2023 and 2022, respectively.
[3] Including changes in related party balances of $248 and $(16,396) for the six months ended October 31, 2023 and 2022, respectively.
[4] Including changes in related party balances of $(2,448) and $(2,510) for the six months ended October 31, 2023 and 2022, respectively.
[5] Including changes in related party balances of $(46) and $255 for the six months ended October 31, 2023 and 2022, respectively.