XML 96 R76.htm IDEA: XBRL DOCUMENT
v3.22.1

Debt Financing and Revolving Credit Facilities (Narrative) (Details) $ / shares in Units, $ in Thousands |  |  |  |  |  |  | 1 Months Ended | 12 Months Ended |  |  |  |  |
--- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | ---
Dec. 30, 2021 USD ($) $ / shares | Aug. 06, 2021 USD ($) $ / shares | Jul. 31, 2021 USD ($) | May 14, 2021 USD ($) $ / shares | Nov. 24, 2020 USD ($) $ / shares | Oct. 08, 2020 USD ($) | Jul. 30, 2021 USD ($) | Dec. 31, 2021 USD ($) Item $ / shares shares | Dec. 31, 2020 USD ($) $ / shares shares | Jul. 14, 2021 USD ($) | Dec. 18, 2020 USD ($) | Oct. 13, 2020 USD ($) | Aug. 07, 2020 USD ($) | Apr. 16, 2020 USD ($)
Line of Credit Facility [Line Items] |  |  |  |  |  |  |  |  |  |  |  |  |  |
Gain on extinguishment of debt |  |  |  |  |  |  |  | $ 10,122 | $ 0 |  |  |  |  |
2023 |  |  |  |  |  |  |  | 31,943 |  |  |  |  |  |
2024 |  |  |  |  |  |  |  | $ 0 |  |  |  |  |  |
Common Stock, Par or Stated Value Per Share | $ / shares |  |  |  | $ 0.01 | $ 0.01 |  |  | $ 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,098,217 | 5,307,539 |  |  |  |  |
Class of Warrant or Right, Exercise Price of Warrants or Rights | $ / shares |  |  |  | $ 0.01 |  |  |  | $ 0.01 | $ 0.01 |  |  |  |  |
Repayment of Additional Loan |  |  |  | $ 0 |  |  |  |  |  |  |  |  |  |
Class of warrant or right percentage of outstanding common shares |  |  |  | 5.00% |  |  |  |  |  |  |  |  |  |
Additional warrant liability |  |  |  | $ 7,351 |  |  |  |  |  |  |  |  |  |
Warrants Terms |  |  |  | 10 years |  |  |  |  |  |  |  |  |  |
Rent Under Forbearance Agreement |  |  |  |  |  |  |  | $ 715 |  |  |  |  |  |
Warrants and Rights Outstanding |  |  |  |  |  |  |  | $ 32,514 | $ 12,730 |  |  |  |  |
Warrant Acquisition Agreement [Member] |  |  |  |  |  |  |  |  |  |  |  |  |  |
Line of Credit Facility [Line Items] |  |  |  |  |  |  |  |  |  |  |  |  |  |
Common Stock, Par or Stated Value Per Share | $ / shares | $ 0.01 |  |  |  |  |  |  |  |  |  |  |  |  |
Class Of Warrant Or Right, Percentage Of Oustanding Common Shares | 5.00% |  |  |  |  |  |  |  |  |  |  |  |  |
Class of Warrant or Right, Number of Securities Called by Warrants or Rights | shares |  |  |  |  |  |  |  | 1,325,699 |  |  |  |  |  |
Class of Warrant or Right, Exercise Price of Warrants or Rights | $ / shares | $ 0.01 |  |  |  |  |  |  | $ 0.01 |  |  |  |  |  |
Term Loan Credit Agreement Three Amendment [Member] |  |  |  |  |  |  |  |  |  |  |  |  |  |
Line of Credit Facility [Line Items] |  |  |  |  |  |  |  |  |  |  |  |  |  |
Equity Fee |  | $ 1,000 |  |  |  |  |  |  |  |  |  |  |  |
Percentage of common stock |  | 5.00% |  |  |  |  |  |  |  |  |  |  |  |
Rail repayment liquidity condition to covert equity fee to cash |  | $ 15,000 |  |  |  |  |  |  |  |  |  |  |  |
Percentage of common stock |  | 9.99% |  |  |  |  |  |  |  |  |  |  |  |
Cash fee |  | $ 1,000 |  |  |  |  |  |  |  |  |  |  |  |
Common Stock, Par or Stated Value Per Share | $ / shares |  | $ 0.01 |  |  |  |  |  |  |  |  |  |  |  |
Paycheck Protection Program Loan [Member] |  |  |  |  |  |  |  |  |  |  |  |  |  |
Line of Credit Facility [Line Items] |  |  |  |  |  |  |  |  |  |  |  |  |  |
Aggregate principal amount |  |  |  |  |  |  |  |  |  | $ 10,000 |  |  |  | $ 10,000
Remaining Balance Of Loan |  |  |  |  |  |  |  | $ 0 |  |  |  |  |  |
Gain on extinguishment of debt |  |  |  |  |  |  |  | 10,129 |  |  |  |  |  |
Siena Loan Agreement [Member] |  |  |  |  |  |  |  |  |  |  |  |  |  |
Line of Credit Facility [Line Items] |  |  |  |  |  |  |  |  |  |  |  |  |  |
Maximum borrowing capacity |  |  |  |  |  | $ 20,000 |  | 25,000 |  |  |  |  |  |
Maximum borrowing capacity, description |  |  |  |  |  |  | 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% |  |  |  |  |  |  |
Outstanding borrowings |  |  |  |  |  |  |  | 24,026 | 6,874 |  |  |  |  |
Line of Credit Facility, Remaining Borrowing Capacity |  |  |  |  |  |  |  | 122 | 9,701 |  |  |  |  |
Deferred financing costs, gross |  |  |  |  |  | $ 1,101 |  | $ 1,037 |  |  |  |  |  |
Value of eligible accounts |  |  |  |  |  | 85.00% |  |  |  |  |  |  |  |
Liquidation value |  |  |  |  |  | 85.00% |  |  |  |  |  |  |  |
Cost of eligible inventory |  |  |  |  |  | 50.00% |  |  |  |  |  |  |  |
Debt Instrument, Basis Spread on Variable Rate |  |  |  |  |  |  | 2.00% |  |  |  |  |  |  |
Interest rate |  |  |  |  |  |  |  | 5.26% |  |  |  |  |  |
Term Loan Credit Agreement [Member] |  |  |  |  |  |  |  |  |  |  |  |  |  |
Line of Credit Facility [Line Items] |  |  |  |  |  |  |  |  |  |  |  |  |  |
deferred financing costs |  |  |  | $ 480 | $ 2,872 |  |  | $ 2,660 | $ 2,814 |  |  |  |  |
Aggregate principal amount | $ 71,000 |  |  | 56,000 | $ 40,000 |  |  |  |  |  |  | $ 40,000 |  |
Term |  |  |  |  |  |  |  | 5 years |  |  |  |  |  |
Additional loan amount | $ 15,000 |  |  | $ 16,000 |  |  |  | $ 16,000 |  |  |  |  |  |
Additional loan interest rate |  |  |  |  |  |  |  | 14.00% |  |  |  |  |  |
Debt Instrument Covenant For Additional Financing |  |  | $ 15,000 |  |  |  |  |  |  |  |  |  |  |
Interest rate |  |  |  |  |  |  |  | 14.00% |  |  |  |  |  |
Common Stock, Par or Stated Value Per Share | $ / shares |  |  |  | $ 0.01 |  |  |  |  |  |  |  |  |  |
Class Of Warrant Or Right, Percentage Of Oustanding Common Shares |  |  |  | 5.00% |  |  |  |  |  |  |  |  |  |
Class of Warrant or Right, Exercise Price of Warrants or Rights | $ / shares |  |  |  | $ 0.01 |  |  |  |  |  |  |  |  |  |
Warrants Terms |  |  |  | 10 years |  |  |  |  |  |  |  |  |  |
Delayed Draw Loan [Member] |  |  |  |  |  |  |  |  |  |  |  |  |  |
Line of Credit Facility [Line Items] |  |  |  |  |  |  |  |  |  |  |  |  |  |
Common Stock, Par or Stated Value Per Share | $ / shares |  |  |  |  |  |  |  | $ 0.01 |  |  |  |  |  |
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 |  |  |  |  |  |
Class of warrant or right percentage of outstanding common shares |  |  |  |  |  |  |  | 3.00% |  |  |  |  |  |
Warrants Terms |  |  |  |  |  |  |  | 10 years |  |  |  |  |  |
Letter Of Credit [Member] |  |  |  |  |  |  |  |  |  |  |  |  |  |
Line of Credit Facility [Line Items] |  |  |  |  |  |  |  |  |  |  |  |  |  |
Equity Fee |  |  |  |  |  |  |  | $ 500 |  |  |  |  |  |
Letter Of Credit [Member] | Term Loan Credit Agreement [Member] |  |  |  |  |  |  |  |  |  |  |  |  |  |
Line of Credit Facility [Line Items] |  |  |  |  |  |  |  |  |  |  |  |  |  |
Aggregate principal amount |  |  |  |  |  |  | $ 25,000 |  |  |  |  |  |  |
M & T Bank [Member] | Revolving Credit Facility [Member] |  |  |  |  |  |  |  |  |  |  |  |  |  |
Line of Credit Facility [Line Items] |  |  |  |  |  |  |  |  |  |  |  |  |  |
Line of Credit Facility, Collateral |  |  |  |  |  |  |  | 6,638 | 6,975 |  |  |  |  |
Maximum borrowing capacity |  |  |  |  |  |  |  | $ 40,000 |  |  |  |  |  |
Outstanding borrowings |  |  |  |  |  |  |  | $ 7,917 | $ 10,105 |  |  |  |  |
Interest coverage ratio | Item |  |  |  |  |  |  |  | 1.25 |  |  |  |  |  |
Payment demand |  |  |  |  |  |  |  |  |  |  | $ 10,114 |  | $ 5,081 |
Payment term |  |  |  |  |  |  |  | 5 days |  |  |  |  |  |
Interest rate |  |  |  |  |  |  |  | 4.25% |  |  |  |  |  |

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 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 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 Payment Demand Amount + References No definition available. + Details
Name: | rail_PaymentDemandAmount
Namespace Prefix: | rail_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Payment Demand Amount, Term + References No definition available. + Details
Name: | rail_PaymentDemandAmountTerm
Namespace Prefix: | rail_
Data Type: | xbrli:durationItemType
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 Remaining Balance Of Loan + References No definition available. + Details
Name: | rail_RemainingBalanceOfLoan
Namespace Prefix: | rail_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

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 Repayment of additional loan. + References No definition available. + Details
Name: | rail_RepaymentOfAdditionalLoan
Namespace Prefix: | rail_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

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 http://asc.fasb.org/extlink&oid=123467817&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 http://asc.fasb.org/extlink&oid=123467817&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 http://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 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 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 http://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 http://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 The average effective interest rate during the reporting period. + References Reference 1: 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 2: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 470 -SubTopic 20 -Section 50 -Paragraph 1F -Subparagraph (a) -URI http://asc.fasb.org/extlink&oid=123466505&loc=SL123495355-112611 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(a)(1)) -URI http://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682 + Details
Name: | us-gaap_DebtInstrumentInterestRateDuringPeriod
Namespace Prefix: | us-gaap_
Data Type: | dtr-types:percentItemType
Balance Type: | na
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 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 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 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, after 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 210 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02.17) -URI http://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 470 -SubTopic 20 -Section 50 -Paragraph 1D -Subparagraph (a) -URI http://asc.fasb.org/extlink&oid=123466505&loc=SL123495340-112611 Reference 3: 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_DeferredFinanceCostsNet
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Difference between the fair value of payments made and the carrying amount of debt which is extinguished prior to maturity. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 470 -SubTopic 50 -Section 40 -Paragraph 4 -URI http://asc.fasb.org/extlink&oid=123467658&loc=d3e12355-112629 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 470 -SubTopic 50 -Section 40 -Paragraph 2 -URI http://asc.fasb.org/extlink&oid=123467658&loc=d3e12317-112629 Reference 3: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 230 -SubTopic 10 -Section 45 -Paragraph 28 -Subparagraph (b) -URI http://asc.fasb.org/extlink&oid=123570139&loc=d3e3602-108585 + Details
Name: | us-gaap_GainsLossesOnExtinguishmentOfDebt
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

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 http://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 http://asc.fasb.org/extlink&oid=120398452&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 http://asc.fasb.org/extlink&oid=120400017&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 http://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 http://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 http://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 http://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 http://asc.fasb.org/extlink&oid=120400017&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 http://asc.fasb.org/extlink&oid=120398452&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 http://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 http://asc.fasb.org/extlink&oid=120398452&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 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
- Definition Amount of long-term debt payable, sinking fund requirement, and other securities issued that are redeemable by holder at fixed or determinable price and date, maturing in third fiscal year following current fiscal year. Excludes interim and annual periods when interim periods are reported from current statement of financial position date (rolling approach). + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 470 -SubTopic 20 -Section 50 -Paragraph 1E -Subparagraph (d) -URI http://asc.fasb.org/extlink&oid=123466505&loc=SL123495348-112611 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 235 -SubTopic 10 -Section S99 -Paragraph 3 -Subparagraph (SX 210.12-04(a)) -URI http://asc.fasb.org/extlink&oid=120395691&loc=d3e24072-122690 Reference 3: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 470 -SubTopic 10 -Section 50 -Paragraph 1 -URI http://asc.fasb.org/extlink&oid=123465755&loc=d3e1835-112601 + Details
Name: | us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInYearThree
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Amount of long-term debt payable, sinking fund requirement, and other securities issued that are redeemable by holder at fixed or determinable price and date, maturing in second fiscal year following current fiscal year. Excludes interim and annual periods when interim periods are reported from current statement of financial position date (rolling approach). + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 470 -SubTopic 20 -Section 50 -Paragraph 1E -Subparagraph (d) -URI http://asc.fasb.org/extlink&oid=123466505&loc=SL123495348-112611 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 235 -SubTopic 10 -Section S99 -Paragraph 3 -Subparagraph (SX 210.12-04(a)) -URI http://asc.fasb.org/extlink&oid=120395691&loc=d3e24072-122690 Reference 3: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 470 -SubTopic 10 -Section 50 -Paragraph 1 -URI http://asc.fasb.org/extlink&oid=123465755&loc=d3e1835-112601 + Details
Name: | us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInYearTwo
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Value of outstanding derivative securities that permit the holder the right to purchase securities (usually equity) from the issuer at a specified price. + References No definition available. + Details
Name: | us-gaap_WarrantsAndRightsOutstanding
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 http://asc.fasb.org/extlink&oid=123874694&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_ClassOfWarrantOrRightAxis=rail_WarrantAcquisitionAgreementMember
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_PaycheckProtectionProgramLoanMember
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_DelayedDrawLoanMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_ShortTermDebtTypeAxis=us-gaap_LetterOfCreditMember
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: |