XML 47 R32.htm IDEA: XBRL DOCUMENT
v3.21.2

Revenue - Changes in Deferred Revenue (Details) - USD ($) $ in Thousands | 6 Months Ended
--- | ---
Oct. 31, 2021 | Oct. 31, 2020
Change In Contract With Customer, Liability [Roll Forward] |  |
Beginning Balance | $ 75,227 | $ 60,295
Performance obligations satisfied during the period that were included in the deferred revenue balance at the beginning of the year | (56,926) | (42,312)
Increases due to invoicing prior to satisfaction of performance obligations | 54,580 | 63,973
Ending Balance | $ 72,881 | $ 81,956

X
- Definition Change In Contract With Customer, Liability + References No definition available. + Details
Name: | ai_ChangeInContractWithCustomerLiabilityRollForward
Namespace Prefix: | ai_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Contract With Customer, Liability, Increase For Invoicing Prior To Satisfaction Of Performance Obligation + References No definition available. + Details
Name: | ai_ContractWithCustomerLiabilityIncreaseForInvoicingPriorToSatisfactionOfPerformanceObligation
Namespace Prefix: | ai_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Amount of obligation to transfer good or service to customer for which consideration has been received or is receivable. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 606 -SubTopic 10 -Section 45 -Paragraph 1 -URI http://asc.fasb.org/extlink&oid=123360276&loc=SL49130531-203044 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 606 -SubTopic 10 -Section 50 -Paragraph 8 -Subparagraph (a) -URI http://asc.fasb.org/extlink&oid=123351226&loc=SL49130549-203045 Reference 3: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 606 -SubTopic 10 -Section 45 -Paragraph 2 -URI http://asc.fasb.org/extlink&oid=123360276&loc=SL49130532-203044 + Details
Name: | us-gaap_ContractWithCustomerLiability
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Amount of revenue recognized that was previously included in balance of obligation to transfer good or service to customer for which consideration from customer has been received or is due. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 606 -SubTopic 10 -Section 50 -Paragraph 8 -Subparagraph (b) -URI http://asc.fasb.org/extlink&oid=123351226&loc=SL49130549-203045 + Details
Name: | us-gaap_ContractWithCustomerLiabilityRevenueRecognized
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration