XML 44 R34.htm IDEA: XBRL DOCUMENT
v3.22.2.2

Investments - Available-for-Sale Marketable Securities (Details) - USD ($) $ in Thousands | Jul. 31, 2022 | Apr. 30, 2022 | Jul. 31, 2021
--- | --- | --- | ---
Cash equivalents: |  |  |
Amortized Cost | $ 221,883 | $ 339,528 | $ 273,779
Debt Securities, Available-for-Sale [Abstract] |  |  |
Total cash equivalents and available-for-sale marketable securities, Amortized Cost | 899,373 | 916,988 |
Total cash equivalents and available-for-sale marketable securities, Gross Unrealized Gain | 5 | 20 |
Total cash equivalents and available-for-sale marketable securities, Gross Unrealized Loss | (2,353) | (2,168) |
Total cash equivalents and available-for-sale marketable securities | 897,025 | 914,840 |
Money market funds |  |  |
Cash equivalents: |  |  |
Amortized Cost | 112,208 | 107,726 |
Gross Unrealized Gains | 0 | 0 |
Gross Unrealized Losses | 0 | 0 |
Estimated Fair Value | 112,208 | 107,726 |
U.S. treasury securities |  |  |
Debt Securities, Available-for-Sale [Abstract] |  |  |
Amortized Cost | 12,795 | 12,764 |
Gross Unrealized Gains | 0 | 0 |
Gross Unrealized Losses | (6) | (1) |
Estimated Fair Value | 12,789 | 12,763 |
Certificates of deposit |  |  |
Cash equivalents: |  |  |
Amortized Cost | 5,000 | 3,000 |
Gross Unrealized Gains |  | 0 |
Gross Unrealized Losses |  | 0 |
Estimated Fair Value | 5,000 | 3,000 |
Debt Securities, Available-for-Sale [Abstract] |  |  |
Amortized Cost | 95,054 | 97,205 |
Gross Unrealized Gains | 0 | 0 |
Gross Unrealized Losses | 0 | 0 |
Estimated Fair Value | 95,054 | 97,205 |
U.S. government agencies securities |  |  |
Debt Securities, Available-for-Sale [Abstract] |  |  |
Amortized Cost | 22,307 | 14,113 |
Gross Unrealized Gains | 0 | 0 |
Gross Unrealized Losses | (298) | (223) |
Estimated Fair Value | 22,009 | 13,890 |
Commercial paper |  |  |
Cash equivalents: |  |  |
Amortized Cost | 61,756 | 142,511 |
Gross Unrealized Gains | 0 | 0 |
Gross Unrealized Losses | 0 | 0 |
Estimated Fair Value | 61,756 | 142,511 |
Debt Securities, Available-for-Sale [Abstract] |  |  |
Amortized Cost | 280,168 | 241,134 |
Gross Unrealized Gains | 0 | 0 |
Gross Unrealized Losses | 0 | (2) |
Estimated Fair Value | 280,168 | 241,132 |
Corporate debt securities |  |  |
Cash equivalents: |  |  |
Amortized Cost | 1,779 | 8,889 |
Gross Unrealized Gains | 0 | 0 |
Gross Unrealized Losses | 0 | (5) |
Estimated Fair Value | 1,779 | 8,884 |
Debt Securities, Available-for-Sale [Abstract] |  |  |
Amortized Cost | 308,306 | 289,646 |
Gross Unrealized Gains | 5 | 20 |
Gross Unrealized Losses | (2,049) | (1,937) |
Estimated Fair Value | $ 306,262 | $ 287,729 |

X
- Definition Cash And Cash Equivalents Accumulated Gross Unrealized Gain Before Tax + References No definition available. + Details
Name: | ai_CashAndCashEquivalentsAccumulatedGrossUnrealizedGainBeforeTax
Namespace Prefix: | ai_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Cash And Cash Equivalents, Accumulated Gross Unrealized Loss, Before Tax + References No definition available. + Details
Name: | ai_CashAndCashEquivalentsAccumulatedGrossUnrealizedLossBeforeTax
Namespace Prefix: | ai_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Cash, Cash Equivalents And Available-for-sale Debt Securities + References No definition available. + Details
Name: | ai_CashCashEquivalentsAndAvailableForSaleDebtSecurities
Namespace Prefix: | ai_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Cash, Cash Equivalents And Available-For-Sale Debt Securities, Accumulated Gross Unrealized Gain, Before Tax + References No definition available. + Details
Name: | ai_CashCashEquivalentsAndAvailableForSaleDebtSecuritiesAccumulatedGrossUnrealizedGainBeforeTax
Namespace Prefix: | ai_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Cash, Cash Equivalents And Available-For-Sale Debt Securities, Accumulated Gross Unrealized Loss, Before Tax + References No definition available. + Details
Name: | ai_CashCashEquivalentsAndAvailableForSaleDebtSecuritiesAccumulatedGrossUnrealizedLossBeforeTax
Namespace Prefix: | ai_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Cash, Cash Equivalents And Available-for-sale Debt Securities, Amortized Cost + References No definition available. + Details
Name: | ai_CashCashEquivalentsAndAvailableForSaleDebtSecuritiesAmortizedCost
Namespace Prefix: | ai_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Amount, before tax, of unrealized gain in accumulated other comprehensive income (AOCI) on investment in debt security measured at fair value with change in fair value recognized in other comprehensive income (available-for-sale). + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 320 -SubTopic 10 -Section 50 -Paragraph 2 -Subparagraph (b) -URI https://asc.fasb.org/extlink&oid=126970911&loc=d3e27161-111563 + Details
Name: | us-gaap_AvailableForSaleDebtSecuritiesAccumulatedGrossUnrealizedGainBeforeTax
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Amount, before tax, of unrealized loss in accumulated other comprehensive income (AOCI) on investment in debt security measured at fair value with change in fair value recognized in other comprehensive income (available-for-sale). + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 320 -SubTopic 10 -Section 50 -Paragraph 2 -Subparagraph (c) -URI https://asc.fasb.org/extlink&oid=126970911&loc=d3e27161-111563 + Details
Name: | us-gaap_AvailableForSaleDebtSecuritiesAccumulatedGrossUnrealizedLossBeforeTax
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Amortized cost of investment in debt security measured at fair value with change in fair value recognized in other comprehensive income (available-for-sale). + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 320 -SubTopic 10 -Section 50 -Paragraph 2 -Subparagraph (a) -URI https://asc.fasb.org/extlink&oid=126970911&loc=d3e27161-111563 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 326 -SubTopic 30 -Section 45 -Paragraph 1 -URI https://asc.fasb.org/extlink&oid=124258926&loc=SL82898722-210454 + Details
Name: | us-gaap_AvailableForSaleDebtSecuritiesAmortizedCostBasis
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- References No definition available. + Details
Name: | us-gaap_AvailableForSaleSecuritiesAbstract
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Amount of investment in debt security measured at fair value with change in fair value recognized in other comprehensive income (available-for-sale). + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 942 -SubTopic 210 -Section S99 -Paragraph 1 -Subparagraph (SX 210.9-03(6)) -URI https://asc.fasb.org/extlink&oid=126897435&loc=d3e534808-122878 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 326 -SubTopic 30 -Section 45 -Paragraph 1 -URI https://asc.fasb.org/extlink&oid=124258926&loc=SL82898722-210454 Reference 3: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 320 -SubTopic 10 -Section 45 -Paragraph 1 -Subparagraph (b) -URI https://asc.fasb.org/extlink&oid=124260329&loc=d3e26610-111562 Reference 4: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 320 -SubTopic 10 -Section 50 -Paragraph 2 -Subparagraph (aa) -URI https://asc.fasb.org/extlink&oid=126970911&loc=d3e27161-111563 + Details
Name: | us-gaap_AvailableForSaleSecuritiesDebtSecurities
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- References No definition available. + Details
Name: | us-gaap_CashAndCashEquivalentsAbstract
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Amount of currency on hand as well as demand deposits with banks or financial institutions. Includes other kinds of accounts that have the general characteristics of demand deposits. Also includes short-term, highly liquid investments that are both readily convertible to known amounts of cash and so near their maturity that they present insignificant risk of changes in value because of changes in interest rates. Excludes cash and cash equivalents within disposal group and discontinued operation. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 230 -SubTopic 10 -Section 45 -Paragraph 4 -URI https://asc.fasb.org/extlink&oid=126954810&loc=d3e3044-108585 Reference 2: http://www.xbrl.org/2003/role/exampleRef -Publisher FASB -Name Accounting Standards Codification -Topic 210 -SubTopic 10 -Section 45 -Paragraph 1 -Subparagraph (a) -URI https://asc.fasb.org/extlink&oid=124098289&loc=d3e6676-107765 Reference 3: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 210 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02(1)) -URI https://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682 + Details
Name: | us-gaap_CashAndCashEquivalentsAtCarryingValue
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Fair value portion of currency on hand as well as demand deposits with banks or financial institutions. Includes other kinds of accounts that have the general characteristics of demand deposits. Also includes short-term, highly liquid investments that are both readily convertible to known amounts of cash and so near their maturity that they present insignificant risk of changes in value because of changes in interest rates. + References No definition available. + Details
Name: | us-gaap_CashAndCashEquivalentsFairValueDisclosure
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Details
Name: | us-gaap_FinancialInstrumentAxis=us-gaap_MoneyMarketFundsMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_FinancialInstrumentAxis=us-gaap_USTreasurySecuritiesMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_FinancialInstrumentAxis=us-gaap_CertificatesOfDepositMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_FinancialInstrumentAxis=us-gaap_USGovernmentDebtSecuritiesMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_FinancialInstrumentAxis=us-gaap_CommercialPaperMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_FinancialInstrumentAxis=us-gaap_CorporateDebtSecuritiesMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |