XML 52 R56.htm IDEA: XBRL DOCUMENT v2.4.1.9
Debt - Additional Information (Detail) (USD $)
Share data in Thousands, except Per Share data, unless otherwise specified
12 Months Ended 1 Months Ended
Dec. 31, 2014
Dec. 31, 2013
Dec. 31, 2012
Jan. 31, 2011
Installment
Dec. 31, 2011
Installment
Sep. 30, 2013
Dec. 31, 2014
Dec. 31, 2012
Installment
May 31, 2013
Feb. 28, 2013
Installment
Line of Credit Facility [Line Items]                    
Interest expense related to preferred stock warrants and common stock warrants issued   $ 251,000us-gaap_InterestExpenseDebt $ 159,000us-gaap_InterestExpenseDebt              
Revolving credit facility, amount outstanding 3,239,000us-gaap_DebtInstrumentCarryingAmount 6,369,000us-gaap_DebtInstrumentCarryingAmount         3,239,000us-gaap_DebtInstrumentCarryingAmount      
Letter of credit drawn current 0us-gaap_LineOfCreditFacilityCurrentBorrowingCapacity           0us-gaap_LineOfCreditFacilityCurrentBorrowingCapacity      
Change in the valuation of outstanding preferred stock warrants 0mrin_ChangeInFairValueOfPreferredStockWarrants 238,000mrin_ChangeInFairValueOfPreferredStockWarrants 362,000mrin_ChangeInFairValueOfPreferredStockWarrants              
Equipment Advance Facilities [Member]                    
Line of Credit Facility [Line Items]                    
Increase in the revolving credit facility       2,000,000us-gaap_LineOfCreditFacilityMaximumBorrowingCapacity
/ us-gaap_CreditFacilityAxis
= mrin_EquipmentAdvanceFacilityMember
           
Revolving credit facility, amended annual interest rate       5.50%us-gaap_LineOfCreditFacilityInterestRateDuringPeriod
/ us-gaap_CreditFacilityAxis
= mrin_EquipmentAdvanceFacilityMember
           
Frequency of payments, description Repayable in 36 consecutive monthly installments of principal and interest                  
Number of monthly installments       36mrin_LineOfCreditFacilityNumberOfInstallments
/ us-gaap_CreditFacilityAxis
= mrin_EquipmentAdvanceFacilityMember
           
Revolving credit facility, the expiration date       Dec. 01, 2014            
Revolving credit facility, amount outstanding 1,697,000us-gaap_DebtInstrumentCarryingAmount
/ us-gaap_CreditFacilityAxis
= mrin_EquipmentAdvanceFacilityMember
3,771,000us-gaap_DebtInstrumentCarryingAmount
/ us-gaap_CreditFacilityAxis
= mrin_EquipmentAdvanceFacilityMember
        1,697,000us-gaap_DebtInstrumentCarryingAmount
/ us-gaap_CreditFacilityAxis
= mrin_EquipmentAdvanceFacilityMember
     
Additional Equipment Advance Facility [Member]                    
Line of Credit Facility [Line Items]                    
Increase in the revolving credit facility         2,000,000us-gaap_LineOfCreditFacilityMaximumBorrowingCapacity
/ us-gaap_CreditFacilityAxis
= mrin_AdditionalEquipmentAdvanceFacilityMember
         
Revolving credit facility, amended annual interest rate         5.50%us-gaap_LineOfCreditFacilityInterestRateDuringPeriod
/ us-gaap_CreditFacilityAxis
= mrin_AdditionalEquipmentAdvanceFacilityMember
         
Frequency of payments, description Repayable in 36 consecutive monthly installments of principal and interest.                  
Number of monthly installments         36mrin_LineOfCreditFacilityNumberOfInstallments
/ us-gaap_CreditFacilityAxis
= mrin_AdditionalEquipmentAdvanceFacilityMember
         
Revolving credit facility, the expiration date         Sep. 01, 2015          
Revolving Credit Facility [Member]                    
Line of Credit Facility [Line Items]                    
Increase in the revolving credit facility           15,000,000us-gaap_LineOfCreditFacilityMaximumBorrowingCapacity
/ us-gaap_CreditFacilityAxis
= us-gaap_RevolvingCreditFacilityMember
       
Revolving credit facility, amended annual interest rate           0.25%us-gaap_LineOfCreditFacilityInterestRateDuringPeriod
/ us-gaap_CreditFacilityAxis
= us-gaap_RevolvingCreditFacilityMember
       
Revolving credit facility, the expiration date           Jul. 31, 2015        
Percentage of eligible accounts receivable           80.00%mrin_PercentageOfAccountsReceivable
/ us-gaap_CreditFacilityAxis
= us-gaap_RevolvingCreditFacilityMember
       
Unrestricted cash balance exceeds           50,000,000mrin_DebtInstrumentCovenantMinimumCashAndCashEquivalents
/ us-gaap_CreditFacilityAxis
= us-gaap_RevolvingCreditFacilityMember
       
Revolving credit facility, amount outstanding 0us-gaap_DebtInstrumentCarryingAmount
/ us-gaap_CreditFacilityAxis
= us-gaap_RevolvingCreditFacilityMember
0us-gaap_DebtInstrumentCarryingAmount
/ us-gaap_CreditFacilityAxis
= us-gaap_RevolvingCreditFacilityMember
        0us-gaap_DebtInstrumentCarryingAmount
/ us-gaap_CreditFacilityAxis
= us-gaap_RevolvingCreditFacilityMember
     
Revolving credit facility, Description In September 2013, the Company entered into an amendment to the Revolving Credit Facility pursuant to which Silicon Valley Bank agreed to increase the Revolving Credit Facility to the lesser of $15,000 or 80% of the Company's eligible accounts receivable.                  
Letter of credit 1,293,000us-gaap_LineOfCredit
/ us-gaap_CreditFacilityAxis
= us-gaap_RevolvingCreditFacilityMember
          1,293,000us-gaap_LineOfCredit
/ us-gaap_CreditFacilityAxis
= us-gaap_RevolvingCreditFacilityMember
     
Revolving Credit Facility [Member] | Common Stock [Member]                    
Line of Credit Facility [Line Items]                    
Common stock per share $ 2.70us-gaap_ClassOfWarrantOrRightExercisePriceOfWarrantsOrRights1
/ us-gaap_CreditFacilityAxis
= us-gaap_RevolvingCreditFacilityMember
/ us-gaap_StatementEquityComponentsAxis
= us-gaap_CommonStockMember
          $ 2.70us-gaap_ClassOfWarrantOrRightExercisePriceOfWarrantsOrRights1
/ us-gaap_CreditFacilityAxis
= us-gaap_RevolvingCreditFacilityMember
/ us-gaap_StatementEquityComponentsAxis
= us-gaap_CommonStockMember
     
Fair value of warrant assumptions, expected volatility             57.00%us-gaap_FairValueAssumptionsExpectedVolatilityRate
/ us-gaap_CreditFacilityAxis
= us-gaap_RevolvingCreditFacilityMember
/ us-gaap_StatementEquityComponentsAxis
= us-gaap_CommonStockMember
     
Fair value of warrant assumptions, risk free interest rate             2.10%us-gaap_FairValueAssumptionsRiskFreeInterestRate
/ us-gaap_CreditFacilityAxis
= us-gaap_RevolvingCreditFacilityMember
/ us-gaap_StatementEquityComponentsAxis
= us-gaap_CommonStockMember
     
Fair value of warrant assumptions, expected life             10 years      
Fair value of warrant assumptions, dividends             $ 0us-gaap_FairValueAssumptionsExpectedDividendPayments
/ us-gaap_CreditFacilityAxis
= us-gaap_RevolvingCreditFacilityMember
/ us-gaap_StatementEquityComponentsAxis
= us-gaap_CommonStockMember
     
Number of shares purchased from issuance of a warrant 37us-gaap_ClassOfWarrantOrRightNumberOfSecuritiesCalledByEachWarrantOrRight
/ us-gaap_CreditFacilityAxis
= us-gaap_RevolvingCreditFacilityMember
/ us-gaap_StatementEquityComponentsAxis
= us-gaap_CommonStockMember
          37us-gaap_ClassOfWarrantOrRightNumberOfSecuritiesCalledByEachWarrantOrRight
/ us-gaap_CreditFacilityAxis
= us-gaap_RevolvingCreditFacilityMember
/ us-gaap_StatementEquityComponentsAxis
= us-gaap_CommonStockMember
     
Expiration date             Nov. 30, 2021      
Aggregate estimated fair value of warrant             139,000us-gaap_FairValueAdjustmentOfWarrants
/ us-gaap_CreditFacilityAxis
= us-gaap_RevolvingCreditFacilityMember
/ us-gaap_StatementEquityComponentsAxis
= us-gaap_CommonStockMember
     
Supplemental Equipment Advance [Member]                    
Line of Credit Facility [Line Items]                    
Increase in the revolving credit facility     3,000,000us-gaap_LineOfCreditFacilityMaximumBorrowingCapacity
/ us-gaap_CreditFacilityAxis
= mrin_SupplementalEquipmentAdvanceMember
        3,000,000us-gaap_LineOfCreditFacilityMaximumBorrowingCapacity
/ us-gaap_CreditFacilityAxis
= mrin_SupplementalEquipmentAdvanceMember
   
Revolving credit facility, amended annual interest rate               3.00%us-gaap_LineOfCreditFacilityInterestRateDuringPeriod
/ us-gaap_CreditFacilityAxis
= mrin_SupplementalEquipmentAdvanceMember
   
Frequency of payments, description Repayable in 33 consecutive monthly installments of principal and interest                  
Number of monthly installments               33mrin_LineOfCreditFacilityNumberOfInstallments
/ us-gaap_CreditFacilityAxis
= mrin_SupplementalEquipmentAdvanceMember
   
Revolving credit facility, the expiration date               Mar. 01, 2016    
Supplemental Equipment Advance [Member] | Warrant [Member]                    
Line of Credit Facility [Line Items]                    
Common stock per share $ 12.15us-gaap_ClassOfWarrantOrRightExercisePriceOfWarrantsOrRights1
/ us-gaap_CreditFacilityAxis
= mrin_SupplementalEquipmentAdvanceMember
/ us-gaap_StatementEquityComponentsAxis
= us-gaap_WarrantMember
          $ 12.15us-gaap_ClassOfWarrantOrRightExercisePriceOfWarrantsOrRights1
/ us-gaap_CreditFacilityAxis
= mrin_SupplementalEquipmentAdvanceMember
/ us-gaap_StatementEquityComponentsAxis
= us-gaap_WarrantMember
     
Fair value of warrant assumptions, expected volatility 57.00%us-gaap_FairValueAssumptionsExpectedVolatilityRate
/ us-gaap_CreditFacilityAxis
= mrin_SupplementalEquipmentAdvanceMember
/ us-gaap_StatementEquityComponentsAxis
= us-gaap_WarrantMember
                 
Fair value of warrant assumptions, risk free interest rate 1.65%us-gaap_FairValueAssumptionsRiskFreeInterestRate
/ us-gaap_CreditFacilityAxis
= mrin_SupplementalEquipmentAdvanceMember
/ us-gaap_StatementEquityComponentsAxis
= us-gaap_WarrantMember
                 
Fair value of warrant assumptions, expected life 10 years                  
Fair value of warrant assumptions, dividends $ 0us-gaap_FairValueAssumptionsExpectedDividendPayments
/ us-gaap_CreditFacilityAxis
= mrin_SupplementalEquipmentAdvanceMember
/ us-gaap_StatementEquityComponentsAxis
= us-gaap_WarrantMember
                 
Number of shares purchased from issuance of a warrant 27us-gaap_ClassOfWarrantOrRightNumberOfSecuritiesCalledByEachWarrantOrRight
/ us-gaap_CreditFacilityAxis
= mrin_SupplementalEquipmentAdvanceMember
/ us-gaap_StatementEquityComponentsAxis
= us-gaap_WarrantMember
          27us-gaap_ClassOfWarrantOrRightNumberOfSecuritiesCalledByEachWarrantOrRight
/ us-gaap_CreditFacilityAxis
= mrin_SupplementalEquipmentAdvanceMember
/ us-gaap_StatementEquityComponentsAxis
= us-gaap_WarrantMember
  68us-gaap_ClassOfWarrantOrRightNumberOfSecuritiesCalledByEachWarrantOrRight
/ us-gaap_CreditFacilityAxis
= mrin_SupplementalEquipmentAdvanceMember
/ us-gaap_StatementEquityComponentsAxis
= us-gaap_WarrantMember
 
Expiration date Dec. 31, 2022                  
Aggregate estimated fair value of warrant 213,000us-gaap_FairValueAdjustmentOfWarrants
/ us-gaap_CreditFacilityAxis
= mrin_SupplementalEquipmentAdvanceMember
/ us-gaap_StatementEquityComponentsAxis
= us-gaap_WarrantMember
                 
Loan and Security Agreement [Member] | Series B [Member]                    
Line of Credit Facility [Line Items]                    
Number of shares called by issuance of warrant 51us-gaap_ClassOfWarrantOrRightNumberOfSecuritiesCalledByWarrantsOrRights
/ us-gaap_DebtInstrumentAxis
= mrin_LoanAndSecurityAgreementMember
/ us-gaap_StatementClassOfStockAxis
= us-gaap_SeriesBPreferredStockMember
          51us-gaap_ClassOfWarrantOrRightNumberOfSecuritiesCalledByWarrantsOrRights
/ us-gaap_DebtInstrumentAxis
= mrin_LoanAndSecurityAgreementMember
/ us-gaap_StatementClassOfStockAxis
= us-gaap_SeriesBPreferredStockMember
     
Common stock per share $ 2.7563us-gaap_ClassOfWarrantOrRightExercisePriceOfWarrantsOrRights1
/ us-gaap_DebtInstrumentAxis
= mrin_LoanAndSecurityAgreementMember
/ us-gaap_StatementClassOfStockAxis
= us-gaap_SeriesBPreferredStockMember
          $ 2.7563us-gaap_ClassOfWarrantOrRightExercisePriceOfWarrantsOrRights1
/ us-gaap_DebtInstrumentAxis
= mrin_LoanAndSecurityAgreementMember
/ us-gaap_StatementClassOfStockAxis
= us-gaap_SeriesBPreferredStockMember
     
Expiration date of warrant Oct. 30, 2018                  
Expiration period of warrant 5 years                  
Aggregate estimated fair value of warrant 72,000us-gaap_WarrantsNotSettleableInCashFairValueDisclosure
/ us-gaap_DebtInstrumentAxis
= mrin_LoanAndSecurityAgreementMember
/ us-gaap_StatementClassOfStockAxis
= us-gaap_SeriesBPreferredStockMember
          72,000us-gaap_WarrantsNotSettleableInCashFairValueDisclosure
/ us-gaap_DebtInstrumentAxis
= mrin_LoanAndSecurityAgreementMember
/ us-gaap_StatementClassOfStockAxis
= us-gaap_SeriesBPreferredStockMember
     
Fair value of warrant assumptions, expected volatility 53.00%us-gaap_FairValueAssumptionsExpectedVolatilityRate
/ us-gaap_DebtInstrumentAxis
= mrin_LoanAndSecurityAgreementMember
/ us-gaap_StatementClassOfStockAxis
= us-gaap_SeriesBPreferredStockMember
                 
Fair value of warrant assumptions, risk free interest rate 4.85%us-gaap_FairValueAssumptionsRiskFreeInterestRate
/ us-gaap_DebtInstrumentAxis
= mrin_LoanAndSecurityAgreementMember
/ us-gaap_StatementClassOfStockAxis
= us-gaap_SeriesBPreferredStockMember
                 
Fair value of warrant assumptions, expected life 10 years                  
Fair value of warrant assumptions, dividends $ 0us-gaap_FairValueAssumptionsExpectedDividendPayments
/ us-gaap_DebtInstrumentAxis
= mrin_LoanAndSecurityAgreementMember
/ us-gaap_StatementClassOfStockAxis
= us-gaap_SeriesBPreferredStockMember
                 
Computer Equipment [Member]                    
Line of Credit Facility [Line Items]                    
Effective interest rate                   6.00%us-gaap_DebtInstrumentInterestRateEffectivePercentage
/ us-gaap_DebtInstrumentAxis
= us-gaap_ComputerEquipmentMember
Number of monthly installments                   36mrin_NumberOfInstallmentsOfRepaymentOfDebt
/ us-gaap_DebtInstrumentAxis
= us-gaap_ComputerEquipmentMember
Net book value of equipment under capital lease 1,439,000mrin_NetValueOfPropertyPlantAndEquipmentObtainedUnderCapitalLeaseAgreements
/ us-gaap_DebtInstrumentAxis
= us-gaap_ComputerEquipmentMember
          1,439,000mrin_NetValueOfPropertyPlantAndEquipmentObtainedUnderCapitalLeaseAgreements
/ us-gaap_DebtInstrumentAxis
= us-gaap_ComputerEquipmentMember
     
Remaining principal balance payable $ 1,542,000us-gaap_CapitalLeaseObligations
/ us-gaap_DebtInstrumentAxis
= us-gaap_ComputerEquipmentMember
          $ 1,542,000us-gaap_CapitalLeaseObligations
/ us-gaap_DebtInstrumentAxis
= us-gaap_ComputerEquipmentMember