XML 71 R62.htm IDEA: XBRL DOCUMENT
v3.23.2

Debt and Financing Lease Liabilities - Additional Information (Details) |  |  |  |  |  | 2 Months Ended |  |  |  |
--- | --- | --- | --- | --- | --- | --- | --- | --- | --- | ---
Jun. 30, 2023 USD ($) | May 31, 2023 USD ($) | Apr. 18, 2023 USD ($) lender | Mar. 31, 2023 USD ($) | Mar. 17, 2023 bank | Jun. 30, 2023 USD ($) | Mar. 31, 2023 CAD ($) | Mar. 30, 2023 USD ($) | Mar. 28, 2023 USD ($) note | Mar. 16, 2023
Interest rate swap instruments | Designated |  |  |  |  |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |  |  |  |  |
Notional amount |  |  |  | $ 14,084,000 |  |  |  | $ 14,084,000 |  |
None-recourse Term Shelf Notes Due December 2047 | Senior Notes |  |  |  |  |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |  |  |  |  |
Fixed interest rate, percentage |  |  |  |  |  |  |  |  | 5.99% |
Number of notes | note |  |  |  |  |  |  |  |  | 3 |
Original principal amount |  |  |  |  |  |  |  |  | $ 22,625,000 |
Debt issuance costs |  |  |  |  |  |  |  |  | 282,000 |
Debt discount |  |  |  |  |  |  |  |  | $ 3,123,000 |
Term Loan Due March 28, 2028 | Secured Debt |  |  |  |  |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |  |  |  |  |
Fixed interest rate, percentage |  |  |  | 6.38% |  |  | 6.38% |  |  |
Maximum borrowing capacity |  |  |  |  |  |  |  | 14,084,000 |  |
Term Loan Due March 28, 2028 | Letter of Credit |  |  |  |  |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |  |  |  |  |
Maximum borrowing capacity |  |  |  |  |  |  |  | 899,000 |  |
Term Loan Due March 28, 2028 | Term Loan |  |  |  |  |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |  |  |  |  |
Maximum borrowing capacity |  |  |  |  |  |  |  | $ 359,000 |  |
Revolving Credit Facility | Senior Secured Credit Facility, Revolver And Term Loans | Line of Credit |  |  |  |  |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |  |  |  |  |
Line of credit facility, number of banks | bank |  |  |  |  | 5 |  |  |  |  |
Total funded debt to EBITDA covenant ratio, maximum |  |  |  |  | 4.00 |  |  |  |  | 3.50
Debt service coverage ratio |  |  |  |  | 3.5 |  |  |  |  |
Revolving Credit Facility | Non-recourse Fixed Rate Note Due May, 2038 | Line of Credit |  |  |  |  |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |  |  |  |  |
Fixed interest rate, percentage |  |  |  | 6.38% |  |  | 6.38% |  |  |
Revolving Credit Facility | Non-recourse Fixed Rate Note Due October, 2037 | Line of Credit |  |  |  |  |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |  |  |  |  |
Fixed interest rate, percentage |  |  |  | 6.50% |  |  | 6.50% |  |  |
Maximum borrowing capacity |  | $ 215,000,000 |  | $ 125,000,000 |  |  |  |  |  |
Proceeds from lines of credit |  | 90,000,000 |  | $ 30,000,000 |  |  |  |  |  |
Line of credit facility, additional borrowing capacity |  | $ 90,000,000 |  |  |  |  |  |  |  |
Line of credit | $ 204,891,000 |  |  |  |  | $ 204,891,000 |  |  |  |
Revolving Credit Facility | Non-recourse construction revolvers | Line of Credit |  |  |  |  |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |  |  |  |  |
Fixed interest rate, percentage | 2.00% |  |  | 2.00% |  | 2.00% | 2.00% |  |  |
Maximum borrowing capacity |  |  |  |  |  |  | $ 100,000,000 |  |  |
Line of credit | $ 0 |  |  |  |  | $ 0 |  |  |  |
Line of credit facility, availability period |  |  |  | 5 years |  |  |  |  |  |
Revolving Credit Facility | Non-recourse construction revolvers | Line of Credit | Minimum |  |  |  |  |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |  |  |  |  |
Fixed interest rate, percentage | 1.00% |  |  |  |  | 1.00% |  |  |  |
Debt instrument term | 1 year |  |  |  |  |  |  |  |  |
Revolving Credit Facility | Non-recourse construction revolvers | Line of Credit | Maximum |  |  |  |  |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |  |  |  |  |
Fixed interest rate, percentage | 3.00% |  |  |  |  | 3.00% |  |  |  |
Debt instrument term | 20 years |  |  |  |  |  |  |  |  |
Revolving Credit Facility | Non-recourse Construction Credit Facility, Due July 2024 | Line of Credit |  |  |  |  |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |  |  |  |  |
Fixed interest rate, percentage | 6.54% |  |  |  |  | 6.54% |  |  |  |
Revolving Credit Facility | Non-recourse Construction Credit Facility, Due July 2024 | Line of Credit | Corporate Joint Venture |  |  |  |  |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |  |  |  |  |
Maximum borrowing capacity |  |  | $ 140,844,000 |  |  |  |  |  |  |
Proceeds from lines of credit |  |  | $ 90,921,000 |  |  | $ 15,113,000 |  |  |  |
Number of lenders | lender |  |  | 2 |  |  |  |  |  |  |

X
- Definition Debt Covenant, Minimum Debt Service Coverage Ratio + References No definition available. + Details
Name: | amrc_DebtCovenantMinimumDebtServiceCoverageRatio
Namespace Prefix: | amrc_
Data Type: | xbrli:pureItemType
Balance Type: | na
Period Type: | duration

X
- Definition Debt Instrument, Covenant, Total Funded Debt To EBITDA Ratio, Maximum + References No definition available. + Details
Name: | amrc_DebtInstrumentCovenantTotalFundedDebtToEBITDARatioMaximum
Namespace Prefix: | amrc_
Data Type: | xbrli:pureItemType
Balance Type: | na
Period Type: | instant

X
- Definition Debt Instrument, Number Of Senior Notes Issued + References No definition available. + Details
Name: | amrc_DebtInstrumentNumberOfSeniorNotesIssued
Namespace Prefix: | amrc_
Data Type: | xbrli:integerItemType
Balance Type: | na
Period Type: | instant

X
- Definition Line Of Credit Facility, Availability Period + References No definition available. + Details
Name: | amrc_LineOfCreditFacilityAvailabilityPeriod
Namespace Prefix: | amrc_
Data Type: | xbrli:durationItemType
Balance Type: | na
Period Type: | duration

X
- Definition Line of Credit Facility, Number of Banks + References No definition available. + Details
Name: | amrc_LineOfCreditFacilityNumberOfBanks
Namespace Prefix: | amrc_
Data Type: | xbrli:integerItemType
Balance Type: | na
Period Type: | instant

X
- Definition Line Of Credit, Number Of Lenders + References No definition available. + Details
Name: | amrc_LineOfCreditNumberOfLenders
Namespace Prefix: | amrc_
Data Type: | xbrli:integerItemType
Balance Type: | na
Period Type: | instant

X
- Definition Face (par) amount of debt instrument at time of issuance. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Topic 835 -SubTopic 30 -Name Accounting Standards Codification -Section 50 -Paragraph 1 -Publisher FASB -URI https://asc.fasb.org//1943274/2147482900/835-30-50-1 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Topic 470 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 1B -Subparagraph (a) -Publisher FASB -URI https://asc.fasb.org//1943274/2147481139/470-20-50-1B Reference 3: http://www.xbrl.org/2003/role/exampleRef -Topic 470 -SubTopic 20 -Name Accounting Standards Codification -Section 55 -Paragraph 69B -Publisher FASB -URI https://asc.fasb.org//1943274/2147481568/470-20-55-69B Reference 4: http://www.xbrl.org/2003/role/exampleRef -Topic 470 -SubTopic 20 -Name Accounting Standards Codification -Section 55 -Paragraph 69C -Publisher FASB -URI https://asc.fasb.org//1943274/2147481568/470-20-55-69C Reference 5: http://fasb.org/us-gaap/role/ref/legacyRef -Name Accounting Standards Codification -Topic 835 -SubTopic 30 -Section 45 -Paragraph 2 -Publisher FASB -URI https://asc.fasb.org//1943274/2147482925/835-30-45-2 Reference 6: http://fasb.org/us-gaap/role/ref/legacyRef -Name Accounting Standards Codification -Topic 835 -SubTopic 30 -Section 55 -Paragraph 8 -Publisher FASB -URI https://asc.fasb.org//1943274/2147482949/835-30-55-8 + Details
Name: | us-gaap_DebtInstrumentFaceAmount
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Contractual interest rate for funds borrowed, under the debt agreement. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Topic 470 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 1B -Subparagraph (b) -Publisher FASB -URI https://asc.fasb.org//1943274/2147481139/470-20-50-1B Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Name Accounting Standards Codification -Topic 210 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02.22(a)(1)) -Publisher FASB -URI https://asc.fasb.org//1943274/2147480566/210-10-S99-1 + Details
Name: | us-gaap_DebtInstrumentInterestRateStatedPercentage
Namespace Prefix: | us-gaap_
Data Type: | dtr-types:percentItemType
Balance Type: | na
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 Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Topic 835 -SubTopic 30 -Name Accounting Standards Codification -Section 50 -Paragraph 1 -Publisher FASB -URI https://asc.fasb.org//1943274/2147482900/835-30-50-1 Reference 2: http://www.xbrl.org/2009/role/commonPracticeRef -Topic 235 -SubTopic 10 -Name Accounting Standards Codification -Section S99 -Paragraph 1 -Subparagraph (SX 210.4-08(f)) -Publisher FASB -URI https://asc.fasb.org//1943274/2147480678/235-10-S99-1 Reference 3: http://www.xbrl.org/2003/role/disclosureRef -Topic 235 -SubTopic 10 -Name Accounting Standards Codification -Section S99 -Paragraph 3 -Subparagraph (SX 210.12-04(a)) -Publisher FASB -URI https://asc.fasb.org//1943274/2147480678/235-10-S99-3 Reference 4: http://www.xbrl.org/2003/role/disclosureRef -Topic 470 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 1B -Subparagraph (a) -Publisher FASB -URI https://asc.fasb.org//1943274/2147481139/470-20-50-1B Reference 5: http://www.xbrl.org/2003/role/exampleRef -Topic 470 -SubTopic 20 -Name Accounting Standards Codification -Section 55 -Paragraph 69B -Publisher FASB -URI https://asc.fasb.org//1943274/2147481568/470-20-55-69B Reference 6: http://www.xbrl.org/2003/role/exampleRef -Topic 470 -SubTopic 20 -Name Accounting Standards Codification -Section 55 -Paragraph 69C -Publisher FASB -URI https://asc.fasb.org//1943274/2147481568/470-20-55-69C Reference 7: http://www.xbrl.org/2003/role/exampleRef -Topic 470 -SubTopic 20 -Name Accounting Standards Codification -Section 55 -Paragraph 69E -Publisher FASB -URI https://asc.fasb.org//1943274/2147481568/470-20-55-69E Reference 8: http://www.xbrl.org/2003/role/exampleRef -Topic 470 -SubTopic 20 -Name Accounting Standards Codification -Section 55 -Paragraph 69F -Publisher FASB -URI https://asc.fasb.org//1943274/2147481568/470-20-55-69F Reference 9: http://www.xbrl.org/2003/role/disclosureRef -Topic 470 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 1B -Subparagraph (b) -Publisher FASB -URI https://asc.fasb.org//1943274/2147481139/470-20-50-1B Reference 10: http://www.xbrl.org/2003/role/disclosureRef -Topic 470 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 1B -Subparagraph (c) -Publisher FASB -URI https://asc.fasb.org//1943274/2147481139/470-20-50-1B Reference 11: http://www.xbrl.org/2003/role/exampleRef -Topic 470 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 1B -Subparagraph (d) -Publisher FASB -URI https://asc.fasb.org//1943274/2147481139/470-20-50-1B Reference 12: http://www.xbrl.org/2003/role/disclosureRef -Topic 470 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 1B -Subparagraph (e) -Publisher FASB -URI https://asc.fasb.org//1943274/2147481139/470-20-50-1B Reference 13: http://www.xbrl.org/2003/role/disclosureRef -Topic 470 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 1B -Subparagraph (f) -Publisher FASB -URI https://asc.fasb.org//1943274/2147481139/470-20-50-1B Reference 14: http://www.xbrl.org/2003/role/disclosureRef -Topic 470 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 1B -Subparagraph (h) -Publisher FASB -URI https://asc.fasb.org//1943274/2147481139/470-20-50-1B Reference 15: http://www.xbrl.org/2003/role/disclosureRef -Topic 470 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 1D -Subparagraph (a) -Publisher FASB -URI https://asc.fasb.org//1943274/2147481139/470-20-50-1D Reference 16: http://www.xbrl.org/2003/role/disclosureRef -Topic 470 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 1D -Subparagraph (b) -Publisher FASB -URI https://asc.fasb.org//1943274/2147481139/470-20-50-1D Reference 17: http://www.xbrl.org/2003/role/disclosureRef -Topic 470 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 1D -Subparagraph (c) -Publisher FASB -URI https://asc.fasb.org//1943274/2147481139/470-20-50-1D Reference 18: http://www.xbrl.org/2003/role/disclosureRef -Topic 470 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 1E -Subparagraph (a) -Publisher FASB -URI https://asc.fasb.org//1943274/2147481139/470-20-50-1E Reference 19: http://www.xbrl.org/2003/role/disclosureRef -Topic 470 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 1E -Subparagraph (c) -Publisher FASB -URI https://asc.fasb.org//1943274/2147481139/470-20-50-1E Reference 20: http://www.xbrl.org/2003/role/disclosureRef -Topic 470 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 1E -Subparagraph (d) -Publisher FASB -URI https://asc.fasb.org//1943274/2147481139/470-20-50-1E Reference 21: http://www.xbrl.org/2003/role/disclosureRef -Topic 470 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 1F -Subparagraph (a) -Publisher FASB -URI https://asc.fasb.org//1943274/2147481139/470-20-50-1F Reference 22: http://www.xbrl.org/2003/role/disclosureRef -Topic 470 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 1F -Subparagraph (b) -Publisher FASB -URI https://asc.fasb.org//1943274/2147481139/470-20-50-1F Reference 23: http://www.xbrl.org/2003/role/disclosureRef -Topic 470 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 1F -Subparagraph (b)(1) -Publisher FASB -URI https://asc.fasb.org//1943274/2147481139/470-20-50-1F Reference 24: http://www.xbrl.org/2003/role/disclosureRef -Topic 470 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 1F -Subparagraph (b)(2) -Publisher FASB -URI https://asc.fasb.org//1943274/2147481139/470-20-50-1F Reference 25: http://www.xbrl.org/2003/role/disclosureRef -Topic 470 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 1I -Subparagraph (c) -Publisher FASB -URI https://asc.fasb.org//1943274/2147481139/470-20-50-1I + Details
Name: | us-gaap_DebtInstrumentLineItems
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Period of time between issuance and maturity of debt instrument, in PnYnMnDTnHnMnS' format, for example, 'P1Y5M13D' represents the reported fact of one year, five months, and thirteen days. + References No definition available. + Details
Name: | us-gaap_DebtInstrumentTerm
Namespace Prefix: | us-gaap_
Data Type: | xbrli:durationItemType
Balance Type: | na
Period Type: | duration

X
- Definition Amount, after accumulated amortization, of debt discount. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Name Accounting Standards Codification -Topic 835 -SubTopic 30 -Section 45 -Paragraph 1A -Publisher FASB -URI https://asc.fasb.org//1943274/2147482925/835-30-45-1A Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Name Accounting Standards Codification -Topic 835 -SubTopic 30 -Section 55 -Paragraph 8 -Publisher FASB -URI https://asc.fasb.org//1943274/2147482949/835-30-55-8 Reference 3: http://www.xbrl.org/2009/role/commonPracticeRef -Topic 470 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 1D -Subparagraph (a) -Publisher FASB -URI https://asc.fasb.org//1943274/2147481139/470-20-50-1D + Details
Name: | us-gaap_DebtInstrumentUnamortizedDiscount
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Amount, before accumulated amortization, of debt issuance costs. Includes, but is not limited to, legal, accounting, underwriting, printing, and registration costs. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Name Accounting Standards Codification -Topic 835 -SubTopic 30 -Section 45 -Paragraph 3 -Publisher FASB -URI https://asc.fasb.org//1943274/2147482925/835-30-45-3 + Details
Name: | us-gaap_DeferredFinanceCostsGross
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Nominal or face amount used to calculate payment on derivative. + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Topic 815 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 1B -Publisher FASB -URI https://asc.fasb.org//1943274/2147480434/815-10-50-1B Reference 2: http://www.xbrl.org/2009/role/commonPracticeRef -Topic 815 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 1A -Subparagraph (d) -Publisher FASB -URI https://asc.fasb.org//1943274/2147480434/815-10-50-1A + Details
Name: | us-gaap_DerivativeNotionalAmount
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | na
Period Type: | instant

X
- Definition The carrying value as of the balance sheet date of the current and noncurrent portions of long-term obligations drawn from a line of credit, which is a bank's commitment to make loans up to a specific amount. Examples of items that might be included in the application of this element may consist of letters of credit, standby letters of credit, and revolving credit arrangements, under which borrowings can be made up to a maximum amount as of any point in time conditional on satisfaction of specified terms before, as of and after the date of drawdowns on the line. Includes short-term obligations that would normally be classified as current liabilities but for which (a) postbalance sheet date issuance of a long term obligation to refinance the short term obligation on a long term basis, or (b) the enterprise has entered into a financing agreement that clearly permits the enterprise to refinance the short-term obligation on a long term basis and the following conditions are met (1) the agreement does not expire within 1 year and is not cancelable by the lender except for violation of an objectively determinable provision, (2) no violation exists at the BS date, and (3) the lender has entered into the financing agreement is expected to be financially capable of honoring the agreement. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Name Accounting Standards Codification -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02(22)) -SubTopic 10 -Topic 210 -Publisher FASB -URI https://asc.fasb.org//1943274/2147480566/210-10-S99-1 Reference 2: http://www.xbrl.org/2009/role/commonPracticeRef -Topic 944 -SubTopic 210 -Name Accounting Standards Codification -Section S99 -Paragraph 1 -Subparagraph (SX 210.7-03(a)(16)(a)(2)) -Publisher FASB -URI https://asc.fasb.org//1943274/2147479440/944-210-S99-1 Reference 3: http://fasb.org/us-gaap/role/ref/legacyRef -Topic 942 -SubTopic 210 -Name Accounting Standards Codification -Section S99 -Paragraph 1 -Subparagraph (SX 210.9-03(16)) -Publisher FASB -URI https://asc.fasb.org//1943274/2147479853/942-210-S99-1 + Details
Name: | us-gaap_LineOfCredit
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Amount of increase (decrease) of the credit facility. + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Topic 235 -SubTopic 10 -Name Accounting Standards Codification -Section S99 -Paragraph 1 -Subparagraph (SX 210.4-08(f)) -Publisher FASB -URI https://asc.fasb.org//1943274/2147480678/235-10-S99-1 + Details
Name: | us-gaap_LineOfCreditFacilityIncreaseDecreaseForPeriodNet
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Maximum borrowing capacity under the credit facility without consideration of any current restrictions on the amount that could be borrowed or the amounts currently outstanding under the facility. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Name Accounting Standards Codification -Topic 210 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02.19(b),22(b)) -Publisher FASB -URI https://asc.fasb.org//1943274/2147480566/210-10-S99-1 + Details
Name: | us-gaap_LineOfCreditFacilityMaximumBorrowingCapacity
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Amount of cash inflow from contractual arrangement with the lender, including but not limited to, letter of credit, standby letter of credit and revolving credit arrangements. + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Topic 235 -SubTopic 10 -Name Accounting Standards Codification -Section S99 -Paragraph 1 -Subparagraph (SX 210.4-08(f)) -Publisher FASB -URI https://asc.fasb.org//1943274/2147480678/235-10-S99-1 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Name Accounting Standards Codification -Topic 230 -SubTopic 10 -Section 45 -Paragraph 14 -Subparagraph (b) -Publisher FASB -URI https://asc.fasb.org//1943274/2147482740/230-10-45-14 + Details
Name: | us-gaap_ProceedsFromLinesOfCredit
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Details
Name: | us-gaap_DerivativeInstrumentRiskAxis=us-gaap_InterestRateSwapMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_HedgingDesignationAxis=us-gaap_DesignatedAsHedgingInstrumentMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_DebtInstrumentAxis=amrc_TermShelfNotesDueDecember312047Member
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_LongtermDebtTypeAxis=us-gaap_SeniorNotesMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_DebtInstrumentAxis=amrc_TermLoanDueMarch282028Member
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_LongtermDebtTypeAxis=us-gaap_SecuredDebtMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_LongtermDebtTypeAxis=us-gaap_LetterOfCreditMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_LongtermDebtTypeAxis=amrc_TermLoanMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_CreditFacilityAxis=us-gaap_RevolvingCreditFacilityMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_DebtInstrumentAxis=amrc_SeniorSecuredCreditFacilityRevolverAndTermLoansMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_LongtermDebtTypeAxis=us-gaap_LineOfCreditMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_DebtInstrumentAxis=amrc_NonRecourseFixedRateNoteDueMay2038Member
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_DebtInstrumentAxis=amrc_NonRecourseFixedRateNoteDueOctober2037Member
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_DebtInstrumentAxis=amrc_NonRecourseConstructionRevolverMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | srt_RangeAxis=srt_MinimumMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | srt_RangeAxis=srt_MaximumMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_DebtInstrumentAxis=amrc_NonRecourseConstructionCreditFacilityDueJuly2024Member
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_RelatedPartyTransactionsByRelatedPartyAxis=us-gaap_CorporateJointVentureMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |