XML 112 R74.htm IDEA: XBRL DOCUMENT
v3.22.1

Cash and cash equivalents (Details Narrative) - BRL (R$) | Dec. 31, 2021 | Dec. 31, 2020
--- | --- | ---
IfrsStatementLineItems [Line Items] |  |
Cash equivalents (a) | R$ 660,075,000 | R$ 987,313,000
U S D [Member] |  |
IfrsStatementLineItems [Line Items] |  |
Cash equivalents (a) | R$ 23,228 | R$ 70,523
Bank Certificates Of Deposit [Member] |  |
IfrsStatementLineItems [Line Items] |  |
Percentage of average interest | 100.38% |
Interbank Certificates Of Deposit [Member] |  |
IfrsStatementLineItems [Line Items] |  |
Percentage of average interest |  | 90.95%

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_PercenatgeOfAverageInterestOnFinancialInstrument
Namespace Prefix: | afya_
Data Type: | num:percentItemType
Balance Type: | na
Period Type: | instant

X
- Definition The amount of short-term, highly liquid investments that are readily convertible to known amounts of cash and that are subject to an insignificant risk of changes in value. + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Name IAS -Number 7 -IssueDate 2021-01-01 -Paragraph 45 -URI http://eifrs.ifrs.org/eifrs/xifrs-link?type=IAS&num=7&code=ifrs-tx-2021-en-r&anchor=para_45&doctype=Standard -URIDate 2021-03-24 + Details
Name: | ifrs-full_CashEquivalents
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Details
Name: | srt_CurrencyAxis=afya_USDMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ifrs-full_ClassesOfFinancialAssetsAxis=afya_BankCertificatesOfDepositMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ifrs-full_ClassesOfFinancialAssetsAxis=afya_InterbankCertificatesOfDepositMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |