XML 43 R33.htm IDEA: XBRL DOCUMENT
v3.22.2.2

Fair Value Measurements - Assets Measured at Fair Value on a Recurring Basis (Details) - USD ($) $ in Thousands | Jul. 31, 2022 | Apr. 30, 2022
--- | --- | ---
Available-for-sale marketable securities: |  |
Total cash equivalents and available-for-sale marketable securities | $ 897,025 | $ 914,840
Money market funds |  |
Cash equivalents: |  |
Estimated Fair Value | 112,208 | 107,726
Certificates of deposit |  |
Cash equivalents: |  |
Estimated Fair Value | 5,000 | 3,000
Available-for-sale marketable securities: |  |
Available-for-sale marketable securities, fair value | 95,054 | 97,205
U.S. treasury securities |  |
Available-for-sale marketable securities: |  |
Available-for-sale marketable securities, fair value | 12,789 | 12,763
U.S. government agencies securities |  |
Available-for-sale marketable securities: |  |
Available-for-sale marketable securities, fair value | 22,009 | 13,890
Commercial paper |  |
Cash equivalents: |  |
Estimated Fair Value | 61,756 | 142,511
Available-for-sale marketable securities: |  |
Available-for-sale marketable securities, fair value | 280,168 | 241,132
Corporate debt securities |  |
Cash equivalents: |  |
Estimated Fair Value | 1,779 | 8,884
Available-for-sale marketable securities: |  |
Available-for-sale marketable securities, fair value | 306,262 | 287,729
Fair Value, Recurring |  |
Available-for-sale marketable securities: |  |
Total cash equivalents and available-for-sale marketable securities | 897,025 | 914,840
Fair Value, Recurring | Money market funds |  |
Cash equivalents: |  |
Estimated Fair Value | 112,208 | 107,726
Fair Value, Recurring | Certificates of deposit |  |
Cash equivalents: |  |
Estimated Fair Value | 5,000 | 3,000
Available-for-sale marketable securities: |  |
Available-for-sale marketable securities, fair value | 95,054 | 97,205
Fair Value, Recurring | U.S. treasury securities |  |
Available-for-sale marketable securities: |  |
Available-for-sale marketable securities, fair value | 12,789 | 12,763
Fair Value, Recurring | U.S. government agencies securities |  |
Available-for-sale marketable securities: |  |
Available-for-sale marketable securities, fair value | 22,009 | 13,890
Fair Value, Recurring | Commercial paper |  |
Cash equivalents: |  |
Estimated Fair Value | 61,756 | 142,511
Available-for-sale marketable securities: |  |
Available-for-sale marketable securities, fair value | 280,168 | 241,132
Fair Value, Recurring | Corporate debt securities |  |
Cash equivalents: |  |
Estimated Fair Value | 1,779 | 8,884
Available-for-sale marketable securities: |  |
Available-for-sale marketable securities, fair value | 306,262 | 287,729
Fair Value, Recurring | Level 1 |  |
Available-for-sale marketable securities: |  |
Total cash equivalents and available-for-sale marketable securities | 112,208 | 107,726
Fair Value, Recurring | Level 1 | Money market funds |  |
Cash equivalents: |  |
Estimated Fair Value | 112,208 | 107,726
Fair Value, Recurring | Level 1 | Certificates of deposit |  |
Cash equivalents: |  |
Estimated Fair Value | 0 | 0
Available-for-sale marketable securities: |  |
Available-for-sale marketable securities, fair value | 0 | 0
Fair Value, Recurring | Level 1 | U.S. treasury securities |  |
Available-for-sale marketable securities: |  |
Available-for-sale marketable securities, fair value | 0 | 0
Fair Value, Recurring | Level 1 | U.S. government agencies securities |  |
Available-for-sale marketable securities: |  |
Available-for-sale marketable securities, fair value | 0 | 0
Fair Value, Recurring | Level 1 | Commercial paper |  |
Cash equivalents: |  |
Estimated Fair Value | 0 | 0
Available-for-sale marketable securities: |  |
Available-for-sale marketable securities, fair value | 0 | 0
Fair Value, Recurring | Level 1 | Corporate debt securities |  |
Cash equivalents: |  |
Estimated Fair Value | 0 | 0
Available-for-sale marketable securities: |  |
Available-for-sale marketable securities, fair value | 0 | 0
Fair Value, Recurring | Level 2 |  |
Available-for-sale marketable securities: |  |
Total cash equivalents and available-for-sale marketable securities | 784,817 | 807,114
Fair Value, Recurring | Level 2 | Money market funds |  |
Cash equivalents: |  |
Estimated Fair Value | 0 | 0
Fair Value, Recurring | Level 2 | Certificates of deposit |  |
Cash equivalents: |  |
Estimated Fair Value | 5,000 | 3,000
Available-for-sale marketable securities: |  |
Available-for-sale marketable securities, fair value | 95,054 | 97,205
Fair Value, Recurring | Level 2 | U.S. treasury securities |  |
Available-for-sale marketable securities: |  |
Available-for-sale marketable securities, fair value | 12,789 | 12,763
Fair Value, Recurring | Level 2 | U.S. government agencies securities |  |
Available-for-sale marketable securities: |  |
Available-for-sale marketable securities, fair value | 22,009 | 13,890
Fair Value, Recurring | Level 2 | Commercial paper |  |
Cash equivalents: |  |
Estimated Fair Value | 61,756 | 142,511
Available-for-sale marketable securities: |  |
Available-for-sale marketable securities, fair value | 280,168 | 241,132
Fair Value, Recurring | Level 2 | Corporate debt securities |  |
Cash equivalents: |  |
Estimated Fair Value | 1,779 | 8,884
Available-for-sale marketable securities: |  |
Available-for-sale marketable securities, fair value | 306,262 | 287,729
Fair Value, Recurring | Level 3 |  |
Available-for-sale marketable securities: |  |
Total cash equivalents and available-for-sale marketable securities | 0 | 0
Fair Value, Recurring | Level 3 | Money market funds |  |
Cash equivalents: |  |
Estimated Fair Value | 0 | 0
Fair Value, Recurring | Level 3 | Certificates of deposit |  |
Cash equivalents: |  |
Estimated Fair Value | 0 | 0
Available-for-sale marketable securities: |  |
Available-for-sale marketable securities, fair value | 0 | 0
Fair Value, Recurring | Level 3 | U.S. treasury securities |  |
Available-for-sale marketable securities: |  |
Available-for-sale marketable securities, fair value | 0 | 0
Fair Value, Recurring | Level 3 | U.S. government agencies securities |  |
Available-for-sale marketable securities: |  |
Available-for-sale marketable securities, fair value | 0 | 0
Fair Value, Recurring | Level 3 | Commercial paper |  |
Cash equivalents: |  |
Estimated Fair Value | 0 | 0
Available-for-sale marketable securities: |  |
Available-for-sale marketable securities, fair value | 0 | 0
Fair Value, Recurring | Level 3 | Corporate debt securities |  |
Cash equivalents: |  |
Estimated Fair Value | 0 | 0
Available-for-sale marketable securities: |  |
Available-for-sale marketable securities, fair value | $ 0 | $ 0

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 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
- 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
- References No definition available. + Details
Name: | us-gaap_DebtSecuritiesAbstract
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

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

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_CertificatesOfDepositMember
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_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: |

X
- Details
Name: | us-gaap_FairValueByMeasurementFrequencyAxis=us-gaap_FairValueMeasurementsRecurringMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_FairValueByFairValueHierarchyLevelAxis=us-gaap_FairValueInputsLevel1Member
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_FairValueByFairValueHierarchyLevelAxis=us-gaap_FairValueInputsLevel2Member
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_FairValueByFairValueHierarchyLevelAxis=us-gaap_FairValueInputsLevel3Member
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |