XML 141 R104.htm IDEA: XBRL DOCUMENT
v3.24.1.u1

Equity (Details) - R$ / shares | 12 Months Ended
--- | ---
Dec. 31, 2023 | Dec. 31, 2022 | Dec. 31, 2021
Disclosure Equity Abstract |  |  |
Number of shares, Outstanding, at beginning balance | 3,786,285 | 1,654,927 |
Average price, at beginning balance | R$ 80.54 | R$ 92.23 |
Number of shares, Repurchased | 216,339 | 2,131,358 | 2,142,051
Average price repurchased | R$ 57.17 | R$ 71.46 | R$ 119.99
Number of treasury shares, delivered under the share-based compensation plan | (229,146) |  |
Average price, delivered under the share-based compensation plan | R$ 79.28 |  |
Number of shares, Transferred from exercise of stock options |  |  | (442,669)
Average price transferred from exercise of stock options |  |  | R$ 124.26
Number of shares, Transferred from shares contribution |  |  | (44,455)
Average price transferred from shares contribution |  |  | R$ 111.94
Number of shares, Outstanding, at ending balance | 3,773,478 | 3,786,285 | 1,654,927
Average price, at ending balance | R$ 79.28 | R$ 80.54 | R$ 92.23

X
- References No definition available. + Details
Name: | afya_AveragePriceDeliveredUnderSharebasedCompensationPlan
Namespace Prefix: | afya_
Data Type: | dtr-types:perShareItemType
Balance Type: | na
Period Type: | duration

X
- References No definition available. + Details
Name: | afya_AveragePriceRepurchased
Namespace Prefix: | afya_
Data Type: | dtr-types:perShareItemType
Balance Type: | na
Period Type: | duration

X
- References No definition available. + Details
Name: | afya_AveragePriceTransferredFromExerciseOfStockOptions
Namespace Prefix: | afya_
Data Type: | dtr-types:perShareItemType
Balance Type: | na
Period Type: | duration

X
- References No definition available. + Details
Name: | afya_AveragePriceTransferredFromSharesContribution
Namespace Prefix: | afya_
Data Type: | dtr-types:perShareItemType
Balance Type: | na
Period Type: | duration

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

X
- References No definition available. + Details
Name: | afya_NumberOfSharesRepurchased
Namespace Prefix: | afya_
Data Type: | xbrli:sharesItemType
Balance Type: | na
Period Type: | duration

X
- References No definition available. + Details
Name: | afya_NumberOfTreasurySharesDeliveredUnderSharebasedCompensationPlan
Namespace Prefix: | afya_
Data Type: | xbrli:sharesItemType
Balance Type: | na
Period Type: | duration

X
- References No definition available. + Details
Name: | afya_TransferredFromExerciseOfStockOptions
Namespace Prefix: | afya_
Data Type: | xbrli:sharesItemType
Balance Type: | na
Period Type: | duration

X
- References No definition available. + Details
Name: | afya_TransferredFromSharesContribution
Namespace Prefix: | afya_
Data Type: | xbrli:sharesItemType
Balance Type: | na
Period Type: | duration

X
- References No definition available. + Details
Name: | afya_WeightedAverageExercisePriceOfSharesOptionsOutstandingInSharebasedPaymentArrangement2019
Namespace Prefix: | afya_
Data Type: | dtr-types:perShareItemType
Balance Type: | na
Period Type: | instant

X
- Definition The number of shares that have been authorised and issued, reduced by treasury shares held. [Refer: Treasury shares] + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Name IAS -Number 1 -IssueDate 2023-01-01 -Paragraph 79 -Subparagraph a -Clause iv -URI https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=1&code=ifrs-tx-2023-en-r&anchor=para_79_a_iv&doctype=Standard -URIDate 2023-03-23 + Details
Name: | ifrs-full_NumberOfSharesOutstanding
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:sharesItemType
Balance Type: | na
Period Type: | instant