XML 68 R58.htm IDEA: XBRL DOCUMENT
v3.21.2

Commitments and Contingencies (Details) |  | 1 Months Ended | 35 Months Ended |
--- | --- | --- | --- | ---
Nov. 06, 2017 contractor | Aug. 31, 2018 | Jun. 30, 2021 USD ($) | Dec. 31, 2020 USD ($)
Loss Contingencies [Line Items] |  |  |  |
Number of defendants | contractor | 9 |  |  |
Undisclosed Name of Acquiree 2 |  |  |  |
Loss Contingencies [Line Items] |  |  |  |
Contingent consideration, liability, revenue earn-outs, payment period (in years) |  | 5 years |  |
Contingent consideration, liability, fair value at date of acquisition |  |  | $ 678,000 | $ 678,000
Payments |  |  | $ 0 |

X
- Definition Business Combination, Contingent Consideration, Liability, Revenue Earn-Outs, Payment Period + References No definition available. + Details
Name: | amrc_BusinessCombinationContingentConsiderationLiabilityRevenueEarnOutsPaymentPeriod
Namespace Prefix: | amrc_
Data Type: | xbrli:durationItemType
Balance Type: | na
Period Type: | duration

X
- Definition The amount of liability arising from an inherited contingency (as defined) which has been recognized as of the acquisition date. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 805 -SubTopic 20 -Section 50 -Paragraph 1 -Subparagraph (c) -URI http://asc.fasb.org/extlink&oid=123413009&loc=d3e4845-128472 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 805 -SubTopic 10 -Section 55 -Paragraph 37 -URI http://asc.fasb.org/extlink&oid=123455525&loc=d3e2207-128464 + Details
Name: | us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedContingentLiability
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

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_LossContingenciesLineItems
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Number of defendants named in a legal action. + References No definition available. + Details
Name: | us-gaap_LossContingencyNumberOfDefendants
Namespace Prefix: | us-gaap_
Data Type: | xbrli:integerItemType
Balance Type: | na
Period Type: | duration

X
- Definition Amount of cash outflow, not made soon after acquisition date of business combination, to settle contingent consideration liability up to amount recognized at acquisition date, including, but not limited to, measurement period adjustment and less amount paid soon after acquisition date. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 230 -SubTopic 10 -Section 45 -Paragraph 15 -Subparagraph (f) -URI http://asc.fasb.org/extlink&oid=123570139&loc=d3e3291-108585 + Details
Name: | us-gaap_PaymentForContingentConsiderationLiabilityFinancingActivities
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Details
Name: | us-gaap_BusinessAcquisitionAxis=amrc_UndisclosedNameofAcquireeTwoMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |