XML 105 R79.htm IDEA: XBRL DOCUMENT
v3.23.1

Subsequent Events (Details) |  |  | 3 Months Ended
--- | --- | --- | ---
Apr. 20, 2023 USD ($) project | Apr. 18, 2023 USD ($) lender | Mar. 31, 2023 USD ($) project
Solar Photovoltaic Projects | August 2018 Long Term Finance Liability |  |  |
Subsequent Event [Line Items] |  |  |
Solar PV projects sold | project |  |  | 1
Sale leaseback transaction |  |  | $ 4,139,000
Subsequent Event | Solar Photovoltaic Projects | August 2018 Long Term Finance Liability |  |  |
Subsequent Event [Line Items] |  |  |
Solar PV projects sold | project | 1 |  |
Sale leaseback transaction | $ 72,056,000 |  |
Subsequent Event | Line of Credit | Revolving Credit Facility | Corporate Joint Venture |  |  |
Subsequent Event [Line Items] |  |  |
Number of lenders | lender |  | 2 |
Principal amount |  | $ 140,844,000 |
Proceeds from lines of credit |  | $ 90,921,000 |

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 Sale Leaseback Transaction, Number of Projects Sold + References No definition available. + Details
Name: | amrc_SaleLeasebackTransactionNumberofProjectsSold
Namespace Prefix: | amrc_
Data Type: | xbrli:integerItemType
Balance Type: | na
Period Type: | duration

X
- Definition Sale Leaseback Transaction, Proceeds + References No definition available. + Details
Name: | amrc_SaleLeasebackTransactionProceeds
Namespace Prefix: | amrc_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
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 -Publisher FASB -Name Accounting Standards Codification -Topic 210 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02.19(b),22(b)) -URI https://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682 + 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://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 230 -SubTopic 10 -Section 45 -Paragraph 14 -Subparagraph (b) -URI https://asc.fasb.org/extlink&oid=126954810&loc=d3e3255-108585 Reference 2: http://www.xbrl.org/2009/role/commonPracticeRef -Publisher FASB -Name Accounting Standards Codification -Topic 235 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.4-08(f)) -URI https://asc.fasb.org/extlink&oid=120395691&loc=d3e23780-122690 + Details
Name: | us-gaap_ProceedsFromLinesOfCredit
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Detail information of subsequent event by type. User is expected to use existing line items from elsewhere in the taxonomy as the primary line items for this disclosure, which is further associated with dimension and member elements pertaining to a subsequent event. + References No definition available. + Details
Name: | us-gaap_SubsequentEventLineItems
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Details
Name: | us-gaap_SaleLeasebackTransactionDescriptionAxis=amrc_SolarPhotovoltaicProjectsMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

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

X
- Details
Name: | us-gaap_SubsequentEventTypeAxis=us-gaap_SubsequentEventMember
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_CreditFacilityAxis=us-gaap_RevolvingCreditFacilityMember
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: |