XML 59 R47.htm IDEA: XBRL DOCUMENT
v3.22.2

Debt Financing and Revolving Credit Facilities (Narrative) (Details) $ / shares in Units, $ in Thousands |  |  |  |  |  |  |  |  | 1 Months Ended | 3 Months Ended | 6 Months Ended | 12 Months Ended |  |  |
--- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | ---
Apr. 04, 2022 $ / shares | Dec. 30, 2021 USD ($) | Dec. 28, 2021 USD ($) | Aug. 06, 2021 USD ($) | Jul. 31, 2021 USD ($) | May 14, 2021 USD ($) | Nov. 24, 2020 USD ($) | Oct. 08, 2020 USD ($) | Jul. 30, 2021 USD ($) | Sep. 30, 2021 USD ($) | Jun. 30, 2022 USD ($) Item $ / shares shares | Dec. 31, 2021 USD ($) $ / shares shares | Feb. 23, 2022 USD ($) | Dec. 31, 2020 $ / shares | Oct. 13, 2020 USD ($)
Line of Credit Facility [Line Items] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Rent Under Forbearance Agreement |  |  | $ 715 |  |  |  |  |  |  |  |  |  |  |  |
Common Stock | shares |  |  |  |  |  |  |  |  |  |  | 16,700,850 | 15,947,228 |  |  |
Common Stock, Par or Stated Value Per Share | $ / shares |  |  |  |  |  |  |  |  |  |  | $ 0.01 | $ 0.01 |  |  |
Class Of Warrant Or Right, Percentage Of Oustanding Common Shares |  |  |  |  |  |  | 23.00% |  |  |  |  |  |  |  |
Class of Warrant or Right, Number of Securities Called by Warrants or Rights | shares |  |  |  |  |  |  |  |  |  |  | 6,623,724 | 6,098,217 |  |  |
Class of Warrant or Right, Exercise Price of Warrants or Rights | $ / shares |  |  |  |  |  |  |  |  |  |  | $ 0.01 |  |  | $ 0.01 |
Letter of Credit [Member] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Line of Credit Facility [Line Items] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Equity Fee |  |  |  |  |  |  |  |  |  |  | $ 500 |  |  |  |
Siena Loan Agreement [Member] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Line of Credit Facility [Line Items] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Line of Credit Facility, Remaining Borrowing Capacity |  |  |  |  |  |  |  |  |  |  | 556 | $ 122 |  |  |
deferred financing costs, gross |  |  |  |  |  |  |  | $ 1,101 |  |  |  | 1,037 |  |  |
Maximum borrowing capacity, description |  |  |  |  |  |  |  |  | the outstanding balance of all Revolving Loans may not exceed the lesser of (A) the Maximum Revolving Facility Amount minus the Availability Block and (B) an amount equal to the issued and undrawn portion of the Third Amendment Letter of Credit (as defined above) minus the Availability Block. The term “Availability Block”, as defined in the Amended and Restated Loan and Security Agreement, means 3.0% of the issued and undrawn amount under the Third Amendment Letter of Credit. |  |  |  |  |  |
Issued and undrawn amount, Percentage |  |  |  |  |  |  |  |  | 3.00% |  |  |  |  |  |
Maximum borrowing capacity |  |  |  |  |  |  |  | $ 20,000 |  |  | 25,000 |  | $ 35,000 |  |
Outstanding borrowings |  |  |  |  |  |  |  |  |  |  | $ 25,010 | 24,026 |  |  |
Value of eligible accounts |  |  |  |  |  |  |  | 85.00% |  |  |  |  |  |  |
Liquidation value |  |  |  |  |  |  |  | 85.00% |  |  |  |  |  |  |
Cost of eligible inventory |  |  |  |  |  |  |  | 50.00% |  |  |  |  |  |  |
Debt Instrument, Basis Spread on Variable Rate |  |  |  |  |  |  |  |  | 1.50% |  |  |  |  |  |
Interest rate |  |  |  |  |  |  |  |  |  |  | 6.25% |  |  |  |
Term Loan Credit Agreement [Member] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Line of Credit Facility [Line Items] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
deferred financing costs |  |  |  |  |  | $ 480 | $ 2,872 |  |  |  | $ 2,324 | $ 2,660 |  |  |
Aggregate principal amount |  | $ 71,000 |  |  |  | $ 56,000 | $ 40,000 |  |  |  |  |  |  |  | $ 40,000
Class of warrant or right percentage of outstanding common shares |  |  |  |  |  | 5.00% |  |  |  |  |  |  |  |  |
Term | 10 years |  |  |  |  |  |  |  |  |  | 5 years |  |  |  |
Additional loan amount |  | 15,000 |  |  |  | $ 16,000 |  |  |  |  | $ 16,000 |  |  |  |
Debt Instrument Covenant For Additional Financing |  |  |  |  | $ 15,000 |  |  |  |  |  |  |  |  |  |
Debt instrument, Additional loan amount to be funded |  | $ 15,000 |  |  |  |  |  |  |  |  |  |  |  |  |
Interest rate |  |  |  |  |  |  |  |  |  |  | 14.00% |  |  |  |
Class of Warrant or Right, Number of Securities Called by Warrants or Rights | shares |  |  |  |  |  |  |  |  |  |  | 1,439,940 | 0 |  |  |
Class of Warrant or Right, Exercise Price of Warrants or Rights | $ / shares | $ 0.01 |  |  |  |  |  |  |  |  |  |  |  |  |  |
Additional warrant liability |  |  |  |  |  |  |  |  |  | $ 7,351 |  |  |  |  |
Term Loan Credit Agreement [Member] | Letter of Credit [Member] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Line of Credit Facility [Line Items] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Aggregate principal amount |  |  |  |  |  |  |  |  | $ 25,000 |  |  |  |  |  |
Term Loan Credit Agreement Third Amendment [Member] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Line of Credit Facility [Line Items] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Common Stock | shares |  |  |  |  |  |  |  |  |  |  | 1,547,266 |  |  |  |
Equity fees, Shares | shares |  |  |  |  |  |  |  |  |  |  | 879,012 |  |  |  |
Percentage of common stock |  |  |  | 5.00% |  |  |  |  |  |  |  |  |  |  |
Rail repayment liquidity condition to covert equity fee to cash |  |  |  | $ 15,000 |  |  |  |  |  |  |  |  |  |  |
Cash fee |  |  |  | $ 1,000 |  |  |  |  |  |  |  |  |  |  |
Percentage of common stock, Maximum |  |  |  | 9.99% |  |  |  |  |  |  |  |  |  |  |
Equity Fee |  |  |  | $ 1,000 |  |  |  |  |  |  |  |  |  |  |
Delayed Draw Loan [Member] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Line of Credit Facility [Line Items] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Warrants outstanding term |  |  |  |  |  |  |  |  |  |  | 10 years |  |  |  |
Class Of Warrant Or Right, Percentage Of Oustanding Common Shares |  |  |  |  |  |  |  |  |  |  | 3.00% |  |  |  |
Class of Warrant or Right, Exercise Price of Warrants or Rights | $ / shares |  |  |  |  |  |  |  |  |  |  | $ 0.01 |  |  |  |
M & T Bank [Member] | Revolving Credit Facility [Member] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Line of Credit Facility [Line Items] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Line of Credit Facility, Collateral |  |  |  |  |  |  |  |  |  |  | 6,549 | 6,638 |  |  |
Maximum borrowing capacity |  |  |  |  |  |  |  |  |  |  | $ 40,000 |  |  |  |
Outstanding borrowings |  |  |  |  |  |  |  |  |  |  | $ 7,444 | $ 7,917 |  |  |
Interest coverage ratio | Item |  |  |  |  |  |  |  |  |  |  | 1.25 |  |  |  |
Interest rate |  |  |  |  |  |  |  |  |  |  | 5.75% |  |  |  |
Warrant Acquisition Agreement [Member] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Line of Credit Facility [Line Items] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Class of warrant or right percentage of outstanding common shares |  | 5.00% |  |  |  |  |  |  |  |  |  |  |  |  |
Class of Warrant or Right, Number of Securities Called by Warrants or Rights | shares |  |  |  |  |  |  |  |  |  |  | 1,439,940 | 1,325,699 |  |  |
Class of Warrant or Right, Exercise Price of Warrants or Rights | $ / shares |  |  |  |  |  |  |  |  |  |  | $ 0.01 | $ 0.01 |  |  |

X
- Definition Additional warrant liability + References No definition available. + Details
Name: | rail_AdditionalWarrantLiability
Namespace Prefix: | rail_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Class Of Warrant Or Right, Percentage Of Oustanding Common Shares + References No definition available. + Details
Name: | rail_ClassOfWarrantOrRightPercentageOfOustandingCommonShares
Namespace Prefix: | rail_
Data Type: | dtr-types:percentItemType
Balance Type: | na
Period Type: | duration

X
- Definition This represents the percentage of common stock outstanding for the Additional Warrants. + References No definition available. + Details
Name: | rail_ClassOfWarrantOrRightPercentageOfOutstandingCommonShares
Namespace Prefix: | rail_
Data Type: | dtr-types:percentItemType
Balance Type: | na
Period Type: | duration

X
- Definition Debt instrument, Additional loan amount to be funded + References No definition available. + Details
Name: | rail_DebtInstrumentAdditionalLoanAmountToBeFunded
Namespace Prefix: | rail_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Debt instrument cash fee + References No definition available. + Details
Name: | rail_DebtInstrumentCashFee
Namespace Prefix: | rail_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Debt Instrument Covenant For Additional Financing + References No definition available. + Details
Name: | rail_DebtInstrumentCovenantForAdditionalFinancing
Namespace Prefix: | rail_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Debt instrument equity fee. + References No definition available. + Details
Name: | rail_DebtInstrumentEquityFee
Namespace Prefix: | rail_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Debt Instrument, Interest Coverage Ratio + References No definition available. + Details
Name: | rail_DebtInstrumentInterestCoverageRatio
Namespace Prefix: | rail_
Data Type: | xbrli:decimalItemType
Balance Type: | na
Period Type: | duration

X
- Definition Equity fees, shares. + References No definition available. + Details
Name: | rail_EquityFeesShares
Namespace Prefix: | rail_
Data Type: | xbrli:sharesItemType
Balance Type: | na
Period Type: | duration

X
- Definition Issued and undrawn amount, Percentage + References No definition available. + Details
Name: | rail_IssuedAndUndrawnAmountPercentage
Namespace Prefix: | rail_
Data Type: | dtr-types:percentItemType
Balance Type: | na
Period Type: | instant

X
- Definition Line Of Credit Facility, Limit Availability, Cost Of Eligible Inventory + References No definition available. + Details
Name: | rail_LineOfCreditFacilityLimitAvailabilityCostOfEligibleInventory
Namespace Prefix: | rail_
Data Type: | dtr-types:percentItemType
Balance Type: | na
Period Type: | duration

X
- Definition Line Of Credit Facility, Limit Availability, Liquidation Value + References No definition available. + Details
Name: | rail_LineOfCreditFacilityLimitAvailabilityLiquidationValue
Namespace Prefix: | rail_
Data Type: | dtr-types:percentItemType
Balance Type: | na
Period Type: | duration

X
- Definition Line Of Credit Facility, Limit Availability, Value Of Eligible Accounts + References No definition available. + Details
Name: | rail_LineOfCreditFacilityLimitAvailabilityValueOfEligibleAccounts
Namespace Prefix: | rail_
Data Type: | dtr-types:percentItemType
Balance Type: | na
Period Type: | duration

X
- Definition Maximum equity fee percentage of common stock. + References No definition available. + Details
Name: | rail_MaximumEquityFeePercentageOfCommonStock
Namespace Prefix: | rail_
Data Type: | dtr-types:percentItemType
Balance Type: | na
Period Type: | duration

X
- Definition Percentage of common stock condition to convert equity fee to cash. + References No definition available. + Details
Name: | rail_PercentageOfCommonStockConditionToConvertEquityFeeToCash
Namespace Prefix: | rail_
Data Type: | dtr-types:percentItemType
Balance Type: | na
Period Type: | duration

X
- Definition Rail repayment liquidity condition to covert equity fee to cash. + References No definition available. + Details
Name: | rail_RailRepaymentLiquidityConditionToCovertEquityFeeToCash
Namespace Prefix: | rail_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Rent under forbearance agreement. + References No definition available. + Details
Name: | rail_RentUnderForbearanceAgreement
Namespace Prefix: | rail_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Exercise price per share or per unit of warrants or rights outstanding. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 505 -SubTopic 10 -Section 50 -Paragraph 3 -URI https://asc.fasb.org/extlink&oid=126973232&loc=d3e21475-112644 + Details
Name: | us-gaap_ClassOfWarrantOrRightExercisePriceOfWarrantsOrRights1
Namespace Prefix: | us-gaap_
Data Type: | dtr-types:perShareItemType
Balance Type: | na
Period Type: | instant

X
- Definition Number of securities into which the class of warrant or right may be converted. For example, but not limited to, 500,000 warrants may be converted into 1,000,000 shares. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 505 -SubTopic 10 -Section 50 -Paragraph 3 -URI https://asc.fasb.org/extlink&oid=126973232&loc=d3e21475-112644 + Details
Name: | us-gaap_ClassOfWarrantOrRightNumberOfSecuritiesCalledByWarrantsOrRights
Namespace Prefix: | us-gaap_
Data Type: | xbrli:sharesItemType
Balance Type: | na
Period Type: | instant

X
- Definition Face amount or stated value per share of common stock. + 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(29)) -URI https://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682 + Details
Name: | us-gaap_CommonStockParOrStatedValuePerShare
Namespace Prefix: | us-gaap_
Data Type: | dtr-types:perShareItemType
Balance Type: | na
Period Type: | instant

X
- Definition Total number of common shares of an entity that have been sold or granted to shareholders (includes common shares that were issued, repurchased and remain in the treasury). These shares represent capital invested by the firm's shareholders and owners, and may be all or only a portion of the number of shares authorized. Shares issued include shares outstanding and shares held in the treasury. + 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(29)) -URI https://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682 + Details
Name: | us-gaap_CommonStockSharesIssued
Namespace Prefix: | us-gaap_
Data Type: | xbrli:sharesItemType
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 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 835 -SubTopic 30 -Section 45 -Paragraph 2 -URI https://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 https://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 https://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 https://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 https://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 Amount of the fee that accompanies borrowing money under the debt instrument. + 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(b)) -URI https://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682 + Details
Name: | us-gaap_DebtInstrumentFeeAmount
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Net increase or decrease in the carrying amount of the debt instrument for the period. + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Publisher FASB -Name Accounting Standards Codification -Topic 235 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.4-08(f)) -URI https://asc.fasb.org/extlink&oid=120395691&loc=d3e23780-122690 + Details
Name: | us-gaap_DebtInstrumentIncreaseDecreaseForPeriodNet
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

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 Period of time between issuance and maturity of debt instrument, in PnYnMnDTnHnMnS' format, for example, 'P1Y5M13D' represents the reported fact of one year, five months, and thirteen days. + References No definition available. + Details
Name: | us-gaap_DebtInstrumentTerm
Namespace Prefix: | us-gaap_
Data Type: | xbrli:durationItemType
Balance Type: | na
Period Type: | duration

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 https://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, 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 The carrying value as of the balance sheet date of the current and noncurrent portions of long-term obligations drawn from a line of credit, which is a bank's commitment to make loans up to a specific amount. Examples of items that might be included in the application of this element may consist of letters of credit, standby letters of credit, and revolving credit arrangements, under which borrowings can be made up to a maximum amount as of any point in time conditional on satisfaction of specified terms before, as of and after the date of drawdowns on the line. Includes short-term obligations that would normally be classified as current liabilities but for which (a) postbalance sheet date issuance of a long term obligation to refinance the short term obligation on a long term basis, or (b) the enterprise has entered into a financing agreement that clearly permits the enterprise to refinance the short-term obligation on a long term basis and the following conditions are met (1) the agreement does not expire within 1 year and is not cancelable by the lender except for violation of an objectively determinable provision, (2) no violation exists at the BS date, and (3) the lender has entered into the financing agreement is expected to be financially capable of honoring the agreement. + 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 Reference 2: 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 Reference 3: 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 + Details
Name: | us-gaap_LineOfCredit
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Description of the credit facility's borrowing capacity including discussion of how the borrowing capacity is determined (for example, borrowing capacity based on the amount of current assets). + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Publisher FASB -Name Accounting Standards Codification -Topic 210 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02(22)(b)) -URI https://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682 Reference 2: http://www.xbrl.org/2009/role/commonPracticeRef -Publisher FASB -Name Accounting Standards Codification -Topic 210 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02(19)(b)) -URI https://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682 + Details
Name: | us-gaap_LineOfCreditFacilityBorrowingCapacityDescription
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Discussion of whether the borrowings under the credit facility are secured or unsecured and, if secured, a description of collateral (for example, accounts receivable less than 120 days old, finished goods inventory). + 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 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 235 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.4-08(b)) -URI https://asc.fasb.org/extlink&oid=120395691&loc=d3e23780-122690 Reference 3: 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 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(13)) -URI https://asc.fasb.org/extlink&oid=126897435&loc=d3e534808-122878 Reference 5: 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)) -URI https://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682 Reference 6: 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_LineOfCreditFacilityCollateral
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

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_LineOfCreditFacilityLineItems
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

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 https://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 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 Period between issuance and expiration of outstanding warrant and right embodying unconditional obligation requiring redemption by transferring asset at specified or determinable date or upon event certain to occur, in 'PnYnMnDTnHnMnS' format, for example, 'P1Y5M13D' represents reported fact of one year, five months, and thirteen days. + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Publisher FASB -Name Accounting Standards Codification -Topic 820 -SubTopic 10 -Section 50 -Paragraph 2 -Subparagraph (bbb)(2) -URI https://asc.fasb.org/extlink&oid=126976982&loc=d3e19207-110258 + Details
Name: | us-gaap_WarrantsAndRightsOutstandingTerm
Namespace Prefix: | us-gaap_
Data Type: | xbrli:durationItemType
Balance Type: | na
Period Type: | instant

X
- Details
Name: | us-gaap_ShortTermDebtTypeAxis=us-gaap_LetterOfCreditMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

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

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

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

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

X
- Details
Name: | us-gaap_LineOfCreditFacilityAxis=rail_MTBankMember
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_ClassOfWarrantOrRightAxis=rail_WarrantAcquisitionAgreementMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |