XML 20 R8.htm IDEA: XBRL DOCUMENT v3.24.0.1
CONDENSED CONSOLIDATED STATEMENTS OF CASH FLOWS - USD ($)
$ in Thousands
9 Months Ended
Jan. 31, 2024
Jan. 31, 2023
Cash flows from operating activities:    
Net loss $ (206,769) $ (203,883)
Adjustments to reconcile net loss to net cash used in operating activities    
Depreciation and amortization 9,469 3,257
Non-cash operating lease cost 656 5,820
Stock-based compensation expense 159,032 168,474
Accretion of discounts on marketable securities (13,238) (1,990)
Other 110 211
Changes in operating assets and liabilities    
Accounts receivable [1] (38,892) (63,609)
Prepaid expenses, other current assets and other assets [2] (3,379) (7,745)
Accounts payable [3] (4,945) (26,250)
Accrued compensation and employee benefits 171 1,069
Operating lease liabilities 14,330 (3,296)
Other liabilities [4] 6,296 (4,606)
Deferred revenue [5] (6,546) (10,197)
Net cash used in operating activities (83,705) (142,745)
Cash flows from investing activities:    
Purchases of property and equipment (22,718) (59,767)
Capitalized software development costs (2,750) (1,000)
Purchases of marketable securities (657,431) (497,288)
Maturities and sales of marketable securities 590,299 674,440
Net cash (used in) provided by investing activities (92,600) 116,385
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 11,379 2,364
Taxes paid related to net share settlement of equity awards (10,397) (4,815)
Net cash provided by (used in) financing activities 6,037 (2,451)
Net decrease in cash, cash equivalents and restricted cash (170,268) (28,811)
Cash, cash equivalents and restricted cash at beginning of period 297,395 352,519
Cash and cash equivalents 114,561 311,142
Restricted cash included in other assets, non-current 12,566 12,566
Cash, cash equivalents and restricted cash at end of period 127,127 323,708
Total cash, cash equivalents and restricted cash 127,127 323,708
Supplemental disclosure of cash flow information—cash paid for income taxes 760 219
Supplemental disclosures of non-cash investing and financing activities:    
Purchases of property and equipment included in accounts payable and accrued liabilities 2,475 12,618
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) 1,858 2,033
Unpaid liabilities related to intangible purchases 0 1,500
Vesting of early exercised stock options $ 406 $ 842
[1] Including changes in related party balances of $12,444 and $46,295 for the nine months ended January 31, 2024 and 2023, respectively.
[2] Including changes in related party balances of $(810) and $(3,525) for the nine months ended January 31, 2024 and 2023, respectively.
[3] Including changes in related party balances of $248 and $(18,549) for the nine months ended January 31, 2024 and 2023, respectively.
[4] Including changes in related party balances of $(2,448) and $(2,510) for the nine months ended January 31, 2024 and 2023, respectively.
[5] Including changes in related party balances of $(46) and $186 for the nine months ended January 31, 2024 and 2023, respectively.