Quarterly report pursuant to Section 13 or 15(d)

Long Term Debt- Senior Secured Credit Facility - Revolver and Term Loan (Details)

v2.4.1.9
Long Term Debt- Senior Secured Credit Facility - Revolver and Term Loan (Details) (USD $)
0 Months Ended 3 Months Ended
Mar. 12, 2014
fiscal_quarter
Mar. 31, 2015
Jun. 30, 2011
bank
Line of Credit Facility [Line Items]      
Secured credit facility, number of banks     2amrc_SecuredCreditFacilityNumberofBanks
Number of consecutive fiscal quarters with waived compliance requirements 4amrc_NumberofConsecutiveFiscalQuarterswithWaivedComplianceRequirements    
Debt covenant minimum, Funded Debt to EBITDA, through March 2014 2.5amrc_DebtCovenantMinimumFundedDebttoEBITDARemainderofFiscalQuarter    
Debt covenant minimum, Funded Debt to EBITDA, through June 2014 2.25amrc_DebtCovenantMinimumFundedDebttoEBITDASecondFiscalQuarter    
Debt covenant minimum, Funded Debt to EBITDA, through September 2014 2.0amrc_DebtCovenantMinimumFundedDebttoEBITDAThirdFiscalQuarter    
Cash flow to debt service ratio, through March 2014 1.25amrc_DebtCovenantMinimumCashFlowtoDebtServiceRatioRemainderofFiscalQuarter    
Debt covenant minimum, cash flow to debt service ratio, second fiscal quarter 1.5amrc_DebtCovenantMinimumCashFlowtoDebtServiceRatioSecondFiscalQuarter    
Revolving Credit Facility      
Line of Credit Facility [Line Items]      
Current borrowing capacity     60,000,000us-gaap_LineOfCreditFacilityCurrentBorrowingCapacity
/ us-gaap_CreditFacilityAxis
= us-gaap_RevolvingCreditFacilityMember
Additional borrowing capacity     25,000,000amrc_LineOfCreditFacilityAdditionalBorrowingCapacity
/ us-gaap_CreditFacilityAxis
= us-gaap_RevolvingCreditFacilityMember
Amount outstanding   3,000,000us-gaap_LineOfCredit
/ us-gaap_CreditFacilityAxis
= us-gaap_RevolvingCreditFacilityMember
 
Increase (decrease) in basis spread on prime rate (percent) 0.25%amrc_DebtInstrumentIncreaseDecreaseinBasisSpreadonPrimeRate
/ us-gaap_CreditFacilityAxis
= us-gaap_RevolvingCreditFacilityMember
   
Increase in basis spread on variable rate (basis points) 0.25%amrc_DebtInstrumentIncreaseDecreaseinBasisSpreadonVariableRate
/ us-gaap_CreditFacilityAxis
= us-gaap_RevolvingCreditFacilityMember
   
Debt covenant minimum EBITDA reduced requirement, through March 31, 2014 16,500,000amrc_DebtCovenantMinimumEBITDAReducedRequirementRemainderofFiscalQuarter
/ us-gaap_CreditFacilityAxis
= us-gaap_RevolvingCreditFacilityMember
   
Debt covenant minimum EBITDA reduced requirement, through June 2014 22,000,000amrc_DebtCovenantMinimumEBITDAReducedRequirementSecondFiscalQuarter
/ us-gaap_CreditFacilityAxis
= us-gaap_RevolvingCreditFacilityMember
   
Debt covenant minimum EBITDA reduced requirement, through September 2014 24,000,000amrc_DebtCovenantMinimumEBITDAReducedRequirementThirdFiscalQuarter
/ us-gaap_CreditFacilityAxis
= us-gaap_RevolvingCreditFacilityMember
   
Debt covenant minimum EBITDA reduced requirement, through December 2014 27,000,000amrc_DebtCovenantMinimumEBITDAReducedRequirementFourthFiscalQuarter
/ us-gaap_CreditFacilityAxis
= us-gaap_RevolvingCreditFacilityMember
   
Term Loan      
Line of Credit Facility [Line Items]      
Current borrowing capacity     40,000,000us-gaap_LineOfCreditFacilityCurrentBorrowingCapacity
/ us-gaap_CreditFacilityAxis
= amrc_TermLoanMember
Amount outstanding   18,571,000us-gaap_LineOfCredit
/ us-gaap_CreditFacilityAxis
= amrc_TermLoanMember
 
Principal payments due in quarterly installments   $ 1,429,000us-gaap_LineOfCreditFacilityPeriodicPaymentPrincipal
/ us-gaap_CreditFacilityAxis
= amrc_TermLoanMember
 
LIBOR | Revolving Credit Facility      
Line of Credit Facility [Line Items]      
Prime rate (percent) 0.50%amrc_DebtInstrumentPrimeRate
/ us-gaap_CreditFacilityAxis
= us-gaap_RevolvingCreditFacilityMember
/ us-gaap_VariableRateAxis
= us-gaap_LondonInterbankOfferedRateLIBORMember
   
Basis spread on variable rate (percent) 2.00%us-gaap_DebtInstrumentBasisSpreadOnVariableRate1
/ us-gaap_CreditFacilityAxis
= us-gaap_RevolvingCreditFacilityMember
/ us-gaap_VariableRateAxis
= us-gaap_LondonInterbankOfferedRateLIBORMember