XML 126 R107.htm IDEA: XBRL DOCUMENT
v3.22.4

Stock-Based Compensation and Other Employee Benefits - Matching Contributions (Details) - USD ($) $ in Thousands | 12 Months Ended
--- | ---
Dec. 31, 2022 | Dec. 31, 2021 | Dec. 31, 2020
Share-based Compensation Arrangement by Share-based Payment Award [Line Items] |  |  |
Employer contributions | $ 7,670 | $ 6,846 | $ 6,200
401(k) plan |  |  |
Share-based Compensation Arrangement by Share-based Payment Award [Line Items] |  |  |
Employer contributions | 6,974 | 6,189 | 5,650
Group Personal Pension Plan | UNITED KINGDOM |  |  |
Share-based Compensation Arrangement by Share-based Payment Award [Line Items] |  |  |
Employer contributions | 290 | 252 | 202
Registered Retirement Savings Plan | Canada |  |  |
Share-based Compensation Arrangement by Share-based Payment Award [Line Items] |  |  |
Employer contributions | $ 406 | $ 405 | $ 348

X
- Definition Amount of cost for defined contribution plan. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 715 -SubTopic 70 -Section 50 -Paragraph 1 -URI https://asc.fasb.org/extlink&oid=49170846&loc=d3e28014-114942 + Details
Name: | us-gaap_DefinedContributionPlanCostRecognized
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Line items represent financial concepts included in a table. These concepts are used to disclose reportable information associated with domain members defined in one or many axes to the table. + References No definition available. + Details
Name: | us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Details
Name: | us-gaap_RetirementPlanTypeAxis=amrc_A401kMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_RetirementPlanTypeAxis=us-gaap_PensionPlansDefinedBenefitMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_RetirementPlanSponsorLocationAxis=country_GB
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_RetirementPlanTypeAxis=us-gaap_OtherPostretirementBenefitPlansDefinedBenefitMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_RetirementPlanSponsorLocationAxis=country_CA
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |