XML 103 R84.htm IDEA: XBRL DOCUMENT
v3.22.4

Debt and Financing Lease Liabilities - Schedule of Long-Term Debt (Details) - USD ($) $ in Thousands | Dec. 31, 2022 | Oct. 31, 2022 | Dec. 31, 2021
--- | --- | --- | ---
Debt Instrument [Line Items] |  |  |  |
Financing leases |  | $ 16,060 |  | $ 19,226
Total debt and financing leases |  | 915,677 |  | 471,488
Less: current maturities |  | 331,479 |  | 78,934
Less: unamortized discount and debt issuance costs |  | 15,563 |  | 15,370
Long-term debt and financing lease liabilities, net of current portion, unamortized discount and debt issuance costs | [1] | 568,635 |  | 377,184
Future interest payments |  | $ 14,212 |  | 16,272
Term Loan |  |  |  |
Debt Instrument [Line Items] |  |  |  |
Stated interest rate (percent) |  | 6.13% |  |
Long-term debt, gross |  | $ 255,403 |  | 218,136
Master Sale-Leaseback |  |  |  |
Debt Instrument [Line Items] |  |  |  |
Long-term debt, gross |  | $ 120,923 |  | 104,615
Variable Rate Term Loan Due In June 2024 | Term Loan |  |  |  |
Debt Instrument [Line Items] |  |  |  |
Debt interest rate (percent) |  | 7.02% |  |
Long-term debt, gross |  | $ 3,403 |  | 4,264
Term Loan Due in June 2028 | Term Loan |  |  |  |
Debt Instrument [Line Items] |  |  |  |
Stated interest rate (percent) |  | 6.11% |  |
Long-term debt, gross |  | $ 2,348 |  | 2,933
Variable Rate Term Loan Due In May 2025 | Term Loan |  |  |  |
Debt Instrument [Line Items] |  |  |  |
Debt interest rate (percent) |  | 7.02% |  |
Long-term debt, gross |  | $ 37,204 |  | 38,844
Variable Rate Term Loan Due In March 2023 | Term Loan |  |  |  |
Debt Instrument [Line Items] |  |  |  |
Debt interest rate (percent) |  | 7.52% |  |
Long-term debt, gross |  | $ 14,084 |  | 14,442
Term Loan Due in July 2031 | Term Loan |  |  |  |
Debt Instrument [Line Items] |  |  |  |
Stated interest rate (percent) |  | 4.95% |  |
Long-term debt, gross |  | $ 2,588 |  | 3,157
Term Loan Due in March 2028 | Term Loan |  |  |  |
Debt Instrument [Line Items] |  |  |  |
Stated interest rate (percent) |  | 5.00% |  |
Long-term debt, gross |  | $ 2,258 |  | 2,688
Term Loan Due in April 2027 | Term Loan |  |  |  |
Debt Instrument [Line Items] |  |  |  |
Stated interest rate (percent) |  | 4.50% |  |
Long-term debt, gross |  | $ 1,846 |  | 10,302
Term Loan Due in February 2034 | Term Loan |  |  |  |
Debt Instrument [Line Items] |  |  |  |
Stated interest rate (percent) |  | 5.61% |  |
Long-term debt, gross |  | $ 1,437 |  | 2,423
Variable Rate Term Loan Due In December 2027 | Term Loan |  |  |  |
Debt Instrument [Line Items] |  |  |  |
Debt interest rate (percent) |  | 7.22% |  |
Long-term debt, gross |  | $ 7,874 |  | 9,238
Variable Rate Term Loan Due In March 2026 | Term Loan |  |  |  |
Debt Instrument [Line Items] |  |  |  |
Long-term debt, gross |  | $ 0 |  | 38,753
Fixed Rate Due in October 2037 | Loans Payable |  |  |  |
Debt Instrument [Line Items] |  |  |  |
Stated interest rate (percent) |  | 6.50% | 6.50% |
Long-term debt, gross |  | $ 92,203 |  | 0
Less: unamortized discount and debt issuance costs |  |  | $ 35 |
Term Loan Due in December 2038 | Term Loan |  |  |  |
Debt Instrument [Line Items] |  |  |  |
Debt interest rate (percent) |  | 5.15% |  |
Long-term debt, gross |  | $ 23,255 |  | 25,465
Variable Rate Term Loan Due In June 2033 | Term Loan |  |  |  |
Debt Instrument [Line Items] |  |  |  |
Debt interest rate (percent) |  | 6.82% |  |
Long-term debt, gross |  | $ 6,951 |  | 7,657
Variable Rate Term Loan Due In October 2029 | Term Loan |  |  |  |
Debt Instrument [Line Items] |  |  |  |
Debt interest rate (percent) |  | 6.89% |  |
Long-term debt, gross |  | $ 6,977 |  | 7,762
Fixed Rate Loan Due In April 2040 | Loans Payable |  |  |  |
Debt Instrument [Line Items] |  |  |  |
Long-term debt, gross |  | $ 0 |  | 224
Fixed Rate Due in December 2027 | Loans Payable |  |  |  |
Debt Instrument [Line Items] |  |  |  |
Stated interest rate (percent) |  | 3.58% |  |
Long-term debt, gross |  | $ 2,425 |  | 3,072
Fixed Rate Due in June 2045 | Loans Payable |  |  |  |
Debt Instrument [Line Items] |  |  |  |
Stated interest rate (percent) |  | 4.92% |  |
Long-term debt, gross |  | $ 3,474 |  | 3,776
Fixed Rate Due in March 2046 | Loans Payable |  |  |  |
Debt Instrument [Line Items] |  |  |  |
Stated interest rate (percent) |  | 3.25% |  |
Long-term debt, gross |  | $ 37,302 |  | 39,474
Variable Rate Term Loan Payable In Quarterly Installments Due In July 2030 | Term Loan |  |  |  |
Debt Instrument [Line Items] |  |  |  |
Stated interest rate (percent) |  | 7.27% |  |
Long-term debt, gross |  | $ 2,915 |  | 3,662
Fixed Rate Due in March 2046 | Loans Payable |  |  |  |
Debt Instrument [Line Items] |  |  |  |
Stated interest rate (percent) |  | 5.45% |  |
Long-term debt, gross |  | $ 6,859 |  | 0
Master Sale-Leaseback Due In July 2039 | Master Sale-Leaseback |  |  |  |
Debt Instrument [Line Items] |  |  |  |
Debt interest rate (percent) |  | 0.00% |  |
Master Sale-Leaseback Due In July 2047 | Master Sale-Leaseback |  |  |  |
Debt Instrument [Line Items] |  |  |  |
Debt interest rate (percent) |  | 1.17% |  |
Master Sale-Leaseback Due In December 2040 | Master Sale-Leaseback |  |  |  |
Debt Instrument [Line Items] |  |  |  |
Debt interest rate (percent) |  | 0.00% |  |
Master Sale-Leaseback Due In December 2042 | Master Sale-Leaseback |  |  |  |
Debt Instrument [Line Items] |  |  |  |
Debt interest rate (percent) |  | 0.00% |  |
Master Sale-Leaseback Due In July 2039 To July 2047 | Master Sale-Leaseback |  |  |  |
Debt Instrument [Line Items] |  |  |  |
Long-term debt, gross |  | $ 104,011 |  | 99,654
Master Sale-Leaseback Due In December 2040 To December 2042 | Master Sale-Leaseback |  |  |  |
Debt Instrument [Line Items] |  |  |  |
Long-term debt, gross |  | $ 16,912 |  | 4,961
Senior secured credit facility | Senior Secured Credit Facility Due in September 2023 To March 2025 | Line of Credit |  |  |  |
Debt Instrument [Line Items] |  |  |  |
Debt interest rate (percent) |  | 6.58% |  |
Long-term debt, gross |  | $ 477,900 |  | 97,813
Revolving Credit Facility | Line of Credit |  |  |  |
Debt Instrument [Line Items] |  |  |  |
Stated interest rate (percent) |  | 7.35% |  |
Long-term debt, gross |  | $ 45,391 |  | 31,698
Revolving Credit Facility | June 2020 Construction Revolver Loans Payable Due In June 2023 | Line of Credit |  |  |  |
Debt Instrument [Line Items] |  |  |  |
Debt interest rate (percent) |  | 5.68% |  |
Long-term debt, gross |  | $ 39,536 |  | 23,935
Revolving Credit Facility | July 2020 Construction Revolver Loans Payable Due In June 2023 Two | Line of Credit |  |  |  |
Debt Instrument [Line Items] |  |  |  |
Debt interest rate (percent) |  | 5.92% |  |
Long-term debt, gross |  | $ 5,855 |  | $ 7,763
[1] | Includes restricted assets of consolidated variable interest entities (“VIEs”) of $213,913 as of December 31, 2022 and $124,454 as of December 31, 2021. Includes non-recourse liabilities of consolidated VIEs of $50,729 as of December 31, 2022 and $31,125 as of December 31, 2021. See Note 11.

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, 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 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 https://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 https://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 Weighted average interest rate of debt outstanding. + References No definition available. + Details
Name: | us-gaap_DebtWeightedAverageInterestRate
Namespace Prefix: | us-gaap_
Data Type: | dtr-types:percentItemType
Balance Type: | na
Period Type: | instant

X
- Definition Amount, after accumulated amortization, of debt issuance costs. Includes, but is not limited to, legal, accounting, underwriting, printing, and registration costs. + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -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 2: 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_DeferredFinanceCostsNet
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 lessee's undiscounted obligation for lease payments in excess of discounted obligation for lease payments for 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 + Details
Name: | us-gaap_FinanceLeaseLiabilityUndiscountedExcessAmount
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_LongtermDebtTypeAxis=amrc_TermLoanMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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