XML 139 R102.htm IDEA: XBRL DOCUMENT
v3.24.1.u1

Labor and social obligations (Details 5) - Restricted stock units [member] - Number | 12 Months Ended
--- | ---
Dec. 31, 2023 | Dec. 31, 2022
IfrsStatementLineItems [Line Items] |  |
Number of stock options, Outstanding at the beginning | 447,224 |
Number of stock options, Granted | 317,090 | 447,224
Number of stock options, Stock options exchanged | 215,797 |
Number of stock options, Exercised | (99,576) |
Number of stock options, Forfeited | (26,104) |
Number of stock options, Outstanding at the ending | 854,431 | 447,224

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

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

X
- Definition The number of share options outstanding in a share-based payment arrangement. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Name IFRS -Number 2 -IssueDate 2023-01-01 -Paragraph 45 -Subparagraph d -URI https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=2&code=ifrs-tx-2023-en-r&anchor=para_45_d&doctype=Standard -URIDate 2023-03-23 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Name IFRS -Number 2 -IssueDate 2023-01-01 -Paragraph 45 -Subparagraph b -Clause i -URI https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=2&code=ifrs-tx-2023-en-r&anchor=para_45_b_i&doctype=Standard -URIDate 2023-03-23 Reference 3: http://www.xbrl.org/2003/role/disclosureRef -Name IFRS -Number 2 -IssueDate 2023-01-01 -Paragraph 45 -Subparagraph b -Clause vi -URI https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=2&code=ifrs-tx-2023-en-r&anchor=para_45_b_vi&doctype=Standard -URIDate 2023-03-23 + Details
Name: | ifrs-full_NumberOfOutstandingShareOptions
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:decimalItemType
Balance Type: | na
Period Type: | instant

X
- Definition The number of share options exercised in a share-based payment arrangement. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Name IFRS -Number 2 -IssueDate 2023-01-01 -Paragraph 45 -Subparagraph b -Clause iv -URI https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=2&code=ifrs-tx-2023-en-r&anchor=para_45_b_iv&doctype=Standard -URIDate 2023-03-23 + Details
Name: | ifrs-full_NumberOfShareOptionsExercisedInSharebasedPaymentArrangement
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:decimalItemType
Balance Type: | na
Period Type: | duration

X
- Definition The number of share options forfeited in a share-based payment arrangement. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Name IFRS -Number 2 -IssueDate 2023-01-01 -Paragraph 45 -Subparagraph b -Clause iii -URI https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=2&code=ifrs-tx-2023-en-r&anchor=para_45_b_iii&doctype=Standard -URIDate 2023-03-23 + Details
Name: | ifrs-full_NumberOfShareOptionsForfeitedInSharebasedPaymentArrangement
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:decimalItemType
Balance Type: | na
Period Type: | duration

X
- Definition The number of share options granted in a share-based payment arrangement. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Name IFRS -Number 2 -IssueDate 2023-01-01 -Paragraph 45 -Subparagraph b -Clause ii -URI https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=2&code=ifrs-tx-2023-en-r&anchor=para_45_b_ii&doctype=Standard -URIDate 2023-03-23 + Details
Name: | ifrs-full_NumberOfShareOptionsGrantedInSharebasedPaymentArrangement
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:decimalItemType
Balance Type: | na
Period Type: | duration

X
- Details
Name: | ifrs-full_DefinedBenefitPlansAxis=afya_RestrictedStockUnitsMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |