Condensed Consolidated Statements of Cash Flows (Unaudited) (Parenthetical) - USD ($) $ in Thousands |
Apr. 30, 2022 |
Apr. 30, 2021 |
|---|---|---|
| Cash and cash equivalents | $ 285,046 | $ 359,418 |
| Total cash, cash equivalents, restricted cash, and restricted cash equivalents | 285,126 | 749,270 |
| Restricted cash and cash equivalents, and restricted bank time deposits | ||
| Restricted cash and cash equivalents | 0 | 389,795 |
| Prepaid expenses and other current assets | ||
| Restricted cash and cash equivalents | 23 | 0 |
| Other assets | ||
| Restricted cash and cash equivalents | $ 57 | $ 57 |