XML 66 R57.htm IDEA: XBRL DOCUMENT
v3.22.2.2

Debt and Financing Lease Liabilities - Summary of Long-term Debt (Details) $ in Thousands | Sep. 30, 2022 USD ($) | Mar. 03, 2022 USD ($) | Dec. 31, 2021 USD ($)
--- | --- | --- | ---
Debt Instrument [Line Items] |  |  |  |
Financing lease liabilities |  | $ 17,606 |  | $ 19,226
Total debt and financing lease liabilities |  | 828,978 |  | 471,488
Less: current maturities |  | 301,247 |  | 78,934
Less: unamortized discount and debt issuance costs |  | 16,110 | $ 96 | 15,370
Long-term debt and financing lease liabilities, net of current portion, unamortized discount and debt issuance costs | [1] | 511,621 |  | 377,184
Non-recourse term loans |  |  |  |
Debt Instrument [Line Items] |  |  |  |
Debt instrument, debt default, amount |  | $ 1,422 |  |
Debt instrument, debt service coverage ratio, maximum |  | 1.2 |  |
Term Loan | Senior secured term loans |  |  |  |
Debt Instrument [Line Items] |  |  |  |
Long-term debt, gross |  | $ 295,000 |  | 52,813
Term Loan | Non-recourse term loans |  |  |  |
Debt Instrument [Line Items] |  |  |  |
Long-term debt, gross |  | 194,293 |  | 218,136
Term Loan | Non-recourse long-term financing facilities |  |  |  |
Debt Instrument [Line Items] |  |  |  |
Long-term debt, gross |  | 103,417 |  | 104,615
Line of Credit | Non-recourse construction revolvers |  |  |  |
Debt Instrument [Line Items] |  |  |  |
Long-term debt, gross |  | 34,662 |  | 31,698
Revolving Senior Secured Credit Facility |  |  |  |
Debt Instrument [Line Items] |  |  |  |
Long-term debt, gross |  | 184,000 |  | $ 45,000
Revolving Credit Facility | Line of Credit |  |  |  |
Debt Instrument [Line Items] |  |  |  |
Funds available for borrowing |  | $ 295 |  |
[1] | Includes restricted assets of consolidated variable interest entities (“VIEs”) at September 30, 2022 and December 31, 2021 of $151,877 and $124,454, respectively. Includes non-recourse liabilities of consolidated VIEs at September 30, 2022 and December 31, 2021 of $33,413 and $31,125, respectively. See Note 12.

X
- Definition Debt Instrument, Debt Service Coverage Ratio, Maximum + References No definition available. + Details
Name: | amrc_DebtInstrumentDebtServiceCoverageRatioMaximum
Namespace Prefix: | amrc_
Data Type: | xbrli:pureItemType
Balance Type: | na
Period Type: | instant

X
- Definition Long-Term Debt And Capital Lease Obligations, Gross + References No definition available. + Details
Name: | amrc_LongTermDebtAndCapitalLeaseObligationsGross
Namespace Prefix: | amrc_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Long Term Debt And Finance Lease Obligations, Current + References No definition available. + Details
Name: | amrc_LongTermDebtAndFinanceLeaseObligationsCurrent
Namespace Prefix: | amrc_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Amount of outstanding long-term debt or borrowing associated with any securities or credit agreement for which there has been a default in principal, interest, sinking fund, or redemption provisions, or any breach of covenant that existed at the end of the period and subsequently has not been cured. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 235 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.4-08(c)) -URI https://asc.fasb.org/extlink&oid=120395691&loc=d3e23780-122690 + Details
Name: | us-gaap_DebtDefaultLongtermDebtAmount
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Amount, before unamortized (discount) premium and debt issuance costs, of long-term debt. Includes, but is not limited to, notes payable, bonds payable, commercial loans, mortgage loans, convertible debt, subordinated debt and other types of debt. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 470 -SubTopic 20 -Section 50 -Paragraph 4 -Subparagraph (b)(1) -URI https://asc.fasb.org/extlink&oid=123466204&loc=SL6031897-161870 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 944 -SubTopic 210 -Section S99 -Paragraph 1 -Subparagraph (SX 210.7-03(16)) -URI https://asc.fasb.org/extlink&oid=126734703&loc=d3e572229-122910 Reference 3: 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(22)) -URI https://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682 Reference 4: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 942 -SubTopic 210 -Section S99 -Paragraph 1 -Subparagraph (SX 210.9-03(16)) -URI https://asc.fasb.org/extlink&oid=126897435&loc=d3e534808-122878 + Details
Name: | us-gaap_DebtInstrumentCarryingAmount
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_DebtInstrumentLineItems
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Amount of unamortized debt discount (premium) and debt issuance costs. + References Reference 1: http://www.xbrl.org/2003/role/exampleRef -Publisher FASB -Name Accounting Standards Codification -Topic 470 -SubTopic 20 -Section 55 -Paragraph 69C -URI https://asc.fasb.org/extlink&oid=123466577&loc=SL123495737-112612 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 470 -SubTopic 20 -Section 50 -Paragraph 4 -Subparagraph (b)(2) -URI https://asc.fasb.org/extlink&oid=123466204&loc=SL6031897-161870 Reference 3: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 470 -SubTopic 20 -Section 50 -Paragraph 1D -Subparagraph (a) -URI https://asc.fasb.org/extlink&oid=123466505&loc=SL123495340-112611 Reference 4: http://www.xbrl.org/2003/role/exampleRef -Publisher FASB -Name Accounting Standards Codification -Topic 470 -SubTopic 20 -Section 55 -Paragraph 69B -URI https://asc.fasb.org/extlink&oid=123466577&loc=SL123495735-112612 Reference 5: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 835 -SubTopic 30 -Section 45 -Paragraph 3 -URI https://asc.fasb.org/extlink&oid=124435984&loc=d3e28555-108399 + Details
Name: | us-gaap_DebtInstrumentUnamortizedDiscountPremiumAndDebtIssuanceCostsNet
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Present value of lessee's discounted obligation for lease payments from finance lease. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 842 -SubTopic 20 -Section 50 -Paragraph 6 -URI https://asc.fasb.org/extlink&oid=128292326&loc=SL77918701-209980 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 842 -SubTopic 20 -Section 45 -Paragraph 1 -Subparagraph (b) -URI https://asc.fasb.org/extlink&oid=123391704&loc=SL77918627-209977 + Details
Name: | us-gaap_FinanceLeaseLiability
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Amount of borrowing capacity currently available under the credit facility (current borrowing capacity less the amount of borrowings outstanding). + 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_LineOfCreditFacilityRemainingBorrowingCapacity
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Amount of long-term debt and lease obligation, classified as noncurrent. + 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(22)) -URI https://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682 + Details
Name: | us-gaap_LongTermDebtAndCapitalLeaseObligations
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Details
Name: | us-gaap_DebtInstrumentAxis=us-gaap_NonrecourseMember
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_DebtInstrumentAxis=amrc_SeniorSecuredMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_DebtInstrumentAxis=amrc_LongTermFinancingFacilitiesMember
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_NonRecourseConstructionRevolverMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_CreditFacilityAxis=amrc_RevolvingSeniorSecuredCreditFacilityMember
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: |