XML 18 R8.htm IDEA: XBRL DOCUMENT v3.22.2.2
CONDENSED CONSOLIDATED STATEMENTS OF CASH FLOWS - USD ($)
$ in Thousands
3 Months Ended
Jul. 31, 2022
Jul. 31, 2021
Cash flows from operating activities:    
Net loss $ (71,871) $ (37,459)
Adjustments to reconcile net loss to net cash (used in) provided by operating activities    
Depreciation and amortization 1,461 1,141
Non-cash operating lease cost 1,862 857
Stock-based compensation expense 56,630 13,912
Other 78 (875)
Changes in operating assets and liabilities    
Accounts receivable [1] (927) 10,383
Prepaid expenses, other current assets and other assets [2] 2,910 2,097
Accounts payable [3] (21,318) (2,067)
Accrued compensation and employee benefits 491 (7,072)
Operating lease liabilities (991) (932)
Other liabilities [4] (1,106) (3,633)
Deferred revenue [5] (5,477) 24,670
Net cash (used in) provided by operating activities (38,258) 1,022
Cash flows from investing activities:    
Purchases of property and equipment (15,536) (511)
Capitalized software development costs (1,000) (500)
Purchases of investments (226,367) (95,948)
Maturities and sales of investments 162,429 248,986
Net cash (used in) provided by investing activities (80,474) 152,027
Cash flows from financing activities:    
Payment of deferred offering costs 0 (71)
Proceeds from exercise of Class A common stock options 1,087 5,046
Net cash provided by financing activities 1,087 4,975
Net (decrease) increase in cash, cash equivalents and restricted cash (117,645) 158,024
Cash, cash equivalents and restricted cash at beginning of period 352,519 116,255
Cash and cash equivalents 221,883 273,779
Restricted cash included in other assets, non-current 12,566 500
Restricted cash included in prepaid expenses and other current assets 425 0
Cash, cash equivalents and restricted cash at end of period 234,874 274,279
Total cash, cash equivalents and restricted cash 234,874 274,279
Supplemental disclosure of cash flow information—cash paid for income taxes 66 235
Supplemental disclosures of non-cash investing and financing activities:    
Purchases of property and equipment included in accounts payable and accrued liabilities 19,326 326
Unpaid liabilities related to intangible purchases 1,500 2,500
Deferred offering costs included in accounts payable and accrued liabilities 0 34
Vesting of early exercised stock options $ 333 $ 1,059
[1] Including changes in related party balances of $(2,240) and $(13,921) for the three months ended July 31, 2022 and 2021, respectively.
[2] Including changes in related party balances of $(1,216) and $(415) for the three months ended July 31, 2022 and 2021, respectively.
[3] Including changes in related party balances of $(13,861) and $56 for the three months ended July 31, 2022 and 2021, respectively.
[4] Including changes in related party balances of $(2,536) and $(3,309) for the three months ended July 31, 2022 and 2021, respectively.
[5] Including changes in related party balances of $(51) and $16,940 for the three months ended July 31, 2022 and 2021, respectively.