XML 67 R58.htm IDEA: XBRL DOCUMENT
v3.22.1

Debt and Financing Lease Liabilities - Additional Information (Details) | Mar. 04, 2022 USD ($) bank | Apr. 29, 2022 USD ($) | Mar. 31, 2022 USD ($) | Mar. 03, 2022 USD ($) | Dec. 31, 2021 USD ($)
--- | --- | --- | --- | --- | ---
Debt Instrument [Line Items] |  |  |  |  |
Unamortized discount and debt issuance costs |  |  | $ 16,969,000 | $ 96,000 | $ 15,370,000
Line of Credit | Senior Secured Credit Facility, Revolver And Term Loans |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |
Original principal amount | $ 495,000,000 |  |  | 245,000,000 |
Revolving Credit Facility |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |
Line of credit facility, additional borrowing capacity | 650,000,000 |  |  |  |
Revolving Credit Facility | Maximum |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |
Line of credit facility, additional borrowing capacity | 100,000,000 |  |  |  |
Revolving Credit Facility | Minimum |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |
Line of credit facility, additional borrowing capacity | $ 25,000,000 |  |  |  |
Revolving Credit Facility | Line of Credit |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |
Line of credit facility, number of banks | bank | 5 |  |  |  |
Maximum borrowing capacity |  |  |  | $ 180,000,000 |
Current borrowing capacity | $ 200,000,000 |  |  |  |
Total funded debt to EBITDA covenant ratio, maximum | 4.50 |  |  | 3.50 |
Basis spread on variable rate | 150.00% |  |  |  |
Lender fees and debt issuance costs | $ 2,048,000 |  |  |  |
Debt issuance costs | $ 352,000 |  |  |  |
Funds available for borrowing |  |  | $ 47,341,000 |  |
Revolving Credit Facility | Line of Credit | Quarter ending June 30, 2022 |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |
Total funded debt to EBITDA covenant ratio, maximum | 4.25 |  |  |  |
Revolving Credit Facility | Line of Credit | Quarter ending September 30, 2022 |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |
Total funded debt to EBITDA covenant ratio, maximum | 4.00 |  |  |  |
Revolving Credit Facility | Line of Credit | Thereafter |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |
Total funded debt to EBITDA covenant ratio, maximum | 3.50 |  |  |  |
Revolving Credit Facility | Line of Credit | June 2022 Construction Revolver |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |
Fixed interest rate, percentage |  |  | 1.74% |  |
Funds available for borrowing |  |  | $ 73,946,000 |  |
Revolving Credit Facility | Line of Credit | June 2022 Construction Revolver | Subsequent Event |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |
Funds available for borrowing |  | $ 9,800,000 |  |  |
Revolving Credit Facility | Line of Credit | July 2022 Construction Revolver |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |
Fixed interest rate, percentage |  |  | 1.99% |  |
Funds available for borrowing |  |  | $ 24,145,000 |  |
Term Loan | Line of Credit | Term Loan Due September 2023 |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |
Delayed draw | $ 220,000,000 |  |  |  |
Term Loan | Secured Debt |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |
Original principal amount | $ 75,000,000 |  |  | $ 65,000,000 |

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, Delayed Draw + References No definition available. + Details
Name: | amrc_DebtInstrumentDelayedDraw
Namespace Prefix: | amrc_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Line of Credit Facility, Additional Borrowing Capacity + References No definition available. + Details
Name: | amrc_LineOfCreditFacilityAdditionalBorrowingCapacity
Namespace Prefix: | amrc_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

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 Percentage points added to the reference rate to compute the variable rate on the debt instrument. + References No definition available. + Details
Name: | us-gaap_DebtInstrumentBasisSpreadOnVariableRate1
Namespace Prefix: | us-gaap_
Data Type: | dtr-types:percentItemType
Balance Type: | na
Period Type: | duration

X
- Definition Face (par) amount of debt instrument at time of issuance. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 470 -SubTopic 20 -Section 50 -Paragraph 1B -Subparagraph (a) -URI http://asc.fasb.org/extlink&oid=123466505&loc=SL123495323-112611 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 835 -SubTopic 30 -Section 45 -Paragraph 2 -URI http://asc.fasb.org/extlink&oid=124435984&loc=d3e28551-108399 Reference 3: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 835 -SubTopic 30 -Section 55 -Paragraph 8 -URI http://asc.fasb.org/extlink&oid=114775985&loc=d3e28878-108400 Reference 4: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 835 -SubTopic 30 -Section 50 -Paragraph 1 -URI http://asc.fasb.org/extlink&oid=124429444&loc=SL124452920-239629 Reference 5: http://www.xbrl.org/2003/role/exampleRef -Publisher FASB -Name Accounting Standards Codification -Topic 470 -SubTopic 20 -Section 55 -Paragraph 69C -URI http://asc.fasb.org/extlink&oid=123466577&loc=SL123495737-112612 Reference 6: http://www.xbrl.org/2003/role/exampleRef -Publisher FASB -Name Accounting Standards Codification -Topic 470 -SubTopic 20 -Section 55 -Paragraph 69B -URI http://asc.fasb.org/extlink&oid=123466577&loc=SL123495735-112612 + 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 -Publisher FASB -Name Accounting Standards Codification -Topic 470 -SubTopic 20 -Section 50 -Paragraph 1B -Subparagraph (b) -URI http://asc.fasb.org/extlink&oid=123466505&loc=SL123495323-112611 Reference 2: 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(a)(1)) -URI http://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682 + 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 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, after accumulated amortization, of debt discount. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 835 -SubTopic 30 -Section 45 -Paragraph 1A -URI http://asc.fasb.org/extlink&oid=124435984&loc=d3e28541-108399 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 835 -SubTopic 30 -Section 55 -Paragraph 8 -URI http://asc.fasb.org/extlink&oid=114775985&loc=d3e28878-108400 Reference 3: http://www.xbrl.org/2009/role/commonPracticeRef -Publisher FASB -Name Accounting Standards Codification -Topic 470 -SubTopic 20 -Section 50 -Paragraph 1D -Subparagraph (a) -URI http://asc.fasb.org/extlink&oid=123466505&loc=SL123495340-112611 + Details
Name: | us-gaap_DebtInstrumentUnamortizedDiscount
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

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 http://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 http://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 http://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 http://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 http://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 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 -Publisher FASB -Name Accounting Standards Codification -Topic 835 -SubTopic 30 -Section 45 -Paragraph 3 -URI http://asc.fasb.org/extlink&oid=124435984&loc=d3e28555-108399 + Details
Name: | us-gaap_DeferredFinanceCostsGross
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Amount of current borrowing capacity under the credit facility considering any current restrictions on the amount that could be borrowed (for example, borrowings may be limited by the amount of current assets), but without considering any 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 http://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682 + Details
Name: | us-gaap_LineOfCreditFacilityCurrentBorrowingCapacity
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

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 http://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 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 http://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
- Details
Name: | us-gaap_LongtermDebtTypeAxis=us-gaap_LineOfCreditMember
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_CreditFacilityAxis=us-gaap_RevolvingCreditFacilityMember
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: | srt_RangeAxis=srt_MinimumMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | amrc_DebtCovenantPeriodAxis=amrc_DebtCovenantPeriodOneMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | amrc_DebtCovenantPeriodAxis=amrc_DebtCovenantPeriodTwoMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | amrc_DebtCovenantPeriodAxis=amrc_DebtCovenantPeriodThreeMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

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

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

X
- Details
Name: | us-gaap_DebtInstrumentAxis=amrc_TermLoanDueSeptember2023Member
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: |