XML 101 R88.htm IDEA: XBRL DOCUMENT
v3.23.2

Employee Benefit Plan - Additional Information (Details) - USD ($) $ in Millions | 12 Months Ended
--- | ---
Dec. 31, 2022 | Dec. 31, 2021
Retirement Benefits [Abstract] |  |
Defined contribution plan, service period | 6 months |
Employee benefit vested estimated year | 6 years |
Employer discretionary contribution amount | $ 0.5 | $ 0.4

X
- Definition Defined Contribution Plan, Service Period + References No definition available. + Details
Name: | ameh_DefinedContributionPlanServicePeriod
Namespace Prefix: | ameh_
Data Type: | xbrli:durationItemType
Balance Type: | na
Period Type: | duration

X
- Definition Defined Contribution Plan, Vesting Period + References No definition available. + Details
Name: | ameh_DefinedContributionPlanVestingPeriod
Namespace Prefix: | ameh_
Data Type: | xbrli:durationItemType
Balance Type: | na
Period Type: | duration

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

X
- Definition Amount of discretionary contributions made by an employer to a defined contribution plan. + References No definition available. + Details
Name: | us-gaap_DefinedContributionPlanEmployerDiscretionaryContributionAmount
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration