XML 81 R70.htm IDEA: XBRL DOCUMENT
v3.24.1

Debt Financing and Revolving Credit Facilities (Narrative) (Details) - USD ($) $ / shares in Units, $ in Thousands |  |  |  |  |  |  |  | 1 Months Ended | 3 Months Ended | 6 Months Ended | 12 Months Ended |  |  |  |  |  |  |  |
--- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | ---
Apr. 04, 2022 | Dec. 30, 2021 | Dec. 28, 2021 | Aug. 06, 2021 | Jul. 31, 2021 | May 14, 2021 | Nov. 24, 2020 | Jul. 30, 2021 | Sep. 30, 2021 | Jun. 30, 2023 | Dec. 31, 2023 | Dec. 31, 2022 | May 22, 2023 | Mar. 31, 2023 | Feb. 28, 2023 | Jan. 31, 2023 | Feb. 23, 2022 | Dec. 31, 2021 | Oct. 13, 2020 | Oct. 08, 2020
Line of Credit Facility [Line Items] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
deferred financing costs |  |  |  |  |  |  |  |  |  |  | $ 0 | $ 1,989 |  |  |  |  |  |  |  |
Amendment to Reimbursement Agreement |  |  |  |  |  |  |  |  |  |  | 280 |  |  |  |  |  |  |  |  |
Total Debt |  |  |  |  |  |  |  |  |  |  | 29,415 | 99,487 |  |  |  |  |  |  |  |
Gain on extinguishment of debt |  |  |  |  |  |  |  |  |  |  | $ (14,880) | $ 0 |  |  |  |  |  |  |  |
Common Stock, Par or Stated Value Per Share |  |  |  |  |  |  |  |  |  |  | $ 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 |  |  |  |  |  |  |  |  |  |  | 8,712,618 | 6,799,139 |  |  |  |  |  |  |  |
Class of Warrant or Right, Exercise Price of Warrants or Rights |  |  |  |  |  |  |  |  |  |  |  | $ 0.01 |  |  |  |  |  |  |  |
Warrants Exercisable Term |  |  |  |  |  |  | 10 years |  |  |  |  |  |  |  |  |  |  |  |  |
Rent Under Forbearance Agreement |  |  | $ 715 |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Warrants and Rights Outstanding |  |  |  |  |  |  |  |  |  |  | $ 36,801 | $ 31,028 |  |  |  |  |  |  |  |
Preferred Stock, Par or Stated Value Per Share |  |  |  |  |  |  |  |  |  |  | $ 0.01 | $ 0.01 |  |  |  |  |  |  |  |
Common Stock, Shares, Issued |  |  |  |  |  |  |  |  |  |  | 17,903,437 | 17,223,306 |  |  |  |  |  |  |  |
Estimated annual maturities of long-term debt |  |  |  |  |  |  |  |  |  |  | $ 29,415 | $ 40,742 |  |  |  |  |  |  |  |
Warrant Acquisition Agreement [Member] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Line of Credit Facility [Line Items] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
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 |  |  |  |  |  |  |  |  |  |  | 1,894,047 | 1,473,726 |  |  |  |  |  |  |  |
Class of Warrant or Right, Exercise Price of Warrants or Rights |  |  |  |  |  |  |  |  |  |  | $ 0.01 |  |  |  |  |  |  | $ 0.01 |  |
Forbearance Agreement [Member] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Line of Credit Facility [Line Items] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Gain on extinguishment of debt |  |  |  |  |  |  |  |  |  | $ 2,892 |  |  |  |  |  |  |  |  |  |
Payments For Proceeds From Loans And Leases |  |  |  |  |  |  |  |  |  | $ 4,480 |  |  |  |  |  |  |  |  |  |
Term Loan Credit Agreement Three Amendment [Member] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Line of Credit Facility [Line Items] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Equity Fee |  |  |  | $ 1,000 |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Percentage of common stock |  |  |  | 9.99% |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Cash fee |  |  |  | $ 1,000 |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Common Stock, Shares, Issued |  |  |  |  |  |  |  |  |  |  | 1,547,266 |  |  |  |  |  |  |  |  |
Siena Loan Agreement [Member] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Line of Credit Facility [Line Items] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Total Debt |  |  |  |  |  |  |  |  |  |  | $ 29,415 | $ 33,825 |  |  |  |  |  |  |  |
Maximum borrowing capacity |  |  |  |  |  |  |  | $ 25,000 |  |  |  |  |  |  |  |  | $ 35,000 |  |  | $ 20,000
Outstanding borrowings |  |  |  |  |  |  |  |  |  |  | 29,415 | 33,825 |  |  |  |  |  |  |  |
Line of Credit Facility, Remaining Borrowing Capacity |  |  |  |  |  |  |  |  |  |  | 10,853 | 0 |  |  |  |  |  |  |  |
Deferred financing costs, gross |  |  |  |  |  |  |  |  |  |  | $ 352 |  |  |  |  |  |  | $ 1,037 |  | $ 1,101
Debt Instrument, Basis Spread on Variable Rate |  |  |  |  |  |  |  | 1.50% |  |  |  |  |  |  |  |  |  |  |  |
Interest rate |  |  |  |  |  |  |  |  |  |  | 10.00% |  |  |  |  |  |  |  |  |
Siena Loan Agreement First Amendment [Member] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Line of Credit Facility [Line Items] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Interest rate |  |  |  |  |  |  |  |  |  |  | 10.50% |  |  |  |  |  |  |  |  |
Term Loan Credit Agreement [Member] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Line of Credit Facility [Line Items] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
deferred financing costs |  |  |  |  |  | $ 480 | $ 2,872 |  |  |  |  |  |  |  |  |  |  |  |  |
Aggregate principal amount |  | $ 71,000 |  |  |  | 56,000 | $ 40,000 |  |  |  |  |  |  |  |  |  |  |  | $ 40,000 |
Term | 10 years |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Additional loan amount |  | 15,000 |  |  |  | $ 16,000 |  |  |  |  |  |  |  |  |  |  |  |  |  |
Debt Instrument Covenant For Additional Financing |  |  |  |  | $ 15,000 |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Total Debt |  |  |  |  |  |  |  |  |  |  | $ 0 | $ 58,745 |  |  |  |  |  |  |  |
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 |  |  |  |  |  |  |  |  |  |  | 1,894,047 | 1,473,726 |  |  |  |  |  |  |  |
Class of Warrant or Right, Exercise Price of Warrants or Rights | $ 0.01 |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Additional warrant liability |  |  |  |  |  |  |  |  | $ 7,351 |  |  |  |  |  |  |  |  |  |  |
Debt instrument, Additional loan amount to be funded |  | $ 15,000 |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Delayed Draw Loan [Member] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Line of Credit Facility [Line Items] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Class Of Warrant Or Right, Percentage Of Oustanding Common Shares |  |  |  |  |  |  |  |  |  |  | 3.00% |  |  |  |  |  |  |  |  |
Class of Warrant or Right, Exercise Price of Warrants or Rights |  |  |  |  |  |  |  |  |  |  | $ 0.01 |  |  |  |  |  |  |  |  |
Class of warrant or right percentage of outstanding common shares |  |  |  |  |  |  |  |  |  |  | 3.00% |  |  |  |  |  |  |  |  |
Warrants Terms |  |  |  |  |  |  |  |  |  |  | 10 years |  |  |  |  |  |  |  |  |
Term Loan Credit Agreement Six Amendment [Member] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Line of Credit Facility [Line Items] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Debt instrument, Additional loan amount to be funded |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  | $ 15,000 |  |  |  |
Term Loan Credit Agreement Seven Amendment [Member] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Line of Credit Facility [Line Items] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Debt instrument, Additional loan amount to be funded |  |  |  |  |  |  |  |  |  |  |  |  |  |  | $ 15,000 |  |  |  |  |
Siena Loan Agreement Amendment Two [Member] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Line of Credit Facility [Line Items] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Aggregate principal amount |  |  |  |  |  |  |  |  |  |  | $ 25,000 |  |  |  |  |  |  |  |  |
Letter Of Credit [Member] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Line of Credit Facility [Line Items] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Equity Fee |  |  |  |  |  |  |  |  |  |  | 500 |  |  |  |  |  |  |  |  |
Fee Paid Reduced |  |  |  |  |  |  |  |  |  |  | 375 |  |  |  |  |  |  |  |  |
Letter Of Credit [Member] | Term Loan Credit Agreement [Member] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Line of Credit Facility [Line Items] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Aggregate principal amount |  |  |  |  |  |  |  | $ 25,000 |  |  |  |  |  |  |  |  |  |  |  |
Maximum [Member] | Siena Loan Agreement [Member] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Line of Credit Facility [Line Items] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Maximum borrowing capacity |  |  |  |  |  |  |  |  |  |  | 45,000 |  |  |  |  |  |  |  |  |
Minimum [Member] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Line of Credit Facility [Line Items] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Maximum borrowing capacity |  |  |  |  |  |  |  |  |  |  | $ 10,000 |  |  |  |  |  |  |  |  |
Series C Preferred Stock [Member] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Line of Credit Facility [Line Items] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Preferred Stock, Shares Issued |  |  |  |  |  |  |  |  |  |  | 85,412 | 0 |  |  |  |  |  |  |  |
Preferred Stock, Par or Stated Value Per Share |  |  |  |  |  |  |  |  |  |  | $ 0.01 | $ 0.01 |  |  |  |  |  |  |  |
Series C Preferred Stock [Member] | Term Loan Credit Agreement [Member] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Line of Credit Facility [Line Items] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Gain on extinguishment of debt |  |  |  |  |  |  |  |  |  |  | $ 17,772 |  |  |  |  |  |  |  |  |
Series C Preferred Stock [Member] | Securities Purchase Agreement [Member] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Line of Credit Facility [Line Items] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Class of Warrant or Right, Number of Securities Called by Warrants or Rights |  |  |  |  |  |  |  |  |  |  |  |  | 1,636,313 |  |  |  |  |  |  |
Preferred Stock, Shares Issued |  |  |  |  |  |  |  |  |  |  |  |  | 85,412 | 85,412 |  |  |  |  |  |
Preferred Stock, Par or Stated Value Per Share |  |  |  |  |  |  |  |  |  |  |  |  | $ 0.01 | $ 0.01 |  |  |  |  |  |
Debt Instrument, Convertible, Liquidation Preference, Value |  |  |  |  |  |  |  |  |  |  |  |  |  | $ 1,000 |  |  |  |  |  |
M & T Bank [Member] | Revolving Credit Facility [Member] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Line of Credit Facility [Line Items] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Line of Credit Facility, Collateral |  |  |  |  |  |  |  |  |  |  |  | 4,116 |  |  |  |  |  |  |  |
Maximum borrowing capacity |  |  |  |  |  |  |  |  |  |  | $ 40,000 |  |  |  |  |  |  |  |  |
Outstanding borrowings |  |  |  |  |  |  |  |  |  |  |  | $ 6,917 |  |  |  |  |  |  |  |

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 Amendment to Reimbursement Agreement + References No definition available. + Details
Name: | rail_AmendmentToReimbursementAgreement
Namespace Prefix: | rail_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
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 Fee Paid Reduced. + References No definition available. + Details
Name: | rail_FeePaidReduced
Namespace Prefix: | rail_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

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 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 -Topic 505 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 3 -Publisher FASB -URI https://asc.fasb.org//1943274/2147481112/505-10-50-3 + 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 -Topic 505 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 3 -Publisher FASB -URI https://asc.fasb.org//1943274/2147481112/505-10-50-3 + 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 -Topic 210 -SubTopic 10 -Name Accounting Standards Codification -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02(29)) -Publisher FASB -URI https://asc.fasb.org//1943274/2147480566/210-10-S99-1 + 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 -Topic 210 -SubTopic 10 -Name Accounting Standards Codification -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02(29)) -Publisher FASB -URI https://asc.fasb.org//1943274/2147480566/210-10-S99-1 + 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 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://fasb.org/us-gaap/role/ref/legacyRef -Name Accounting Standards Codification -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02(22)) -SubTopic 10 -Topic 210 -Publisher FASB -URI https://asc.fasb.org//1943274/2147480566/210-10-S99-1 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Topic 942 -SubTopic 210 -Name Accounting Standards Codification -Section S99 -Paragraph 1 -Subparagraph (SX 210.9-03(16)) -Publisher FASB -URI https://asc.fasb.org//1943274/2147479853/942-210-S99-1 Reference 3: http://www.xbrl.org/2003/role/disclosureRef -Topic 470 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 4 -Subparagraph (b)(1) -Publisher FASB -URI https://asc.fasb.org//1943274/2147481139/470-20-50-4 + Details
Name: | us-gaap_DebtInstrumentCarryingAmount
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Amount of excess of preference in liquidation over convertible debt instrument's if-converted par or stated value of share. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Topic 470 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 1B -Subparagraph (h) -Publisher FASB -URI https://asc.fasb.org//1943274/2147481139/470-20-50-1B + Details
Name: | us-gaap_DebtInstrumentConvertibleLiquidationPreferenceValue
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Face (par) amount of debt instrument at time of issuance. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Topic 835 -SubTopic 30 -Name Accounting Standards Codification -Section 50 -Paragraph 1 -Publisher FASB -URI https://asc.fasb.org//1943274/2147482900/835-30-50-1 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Topic 470 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 1B -Subparagraph (a) -Publisher FASB -URI https://asc.fasb.org//1943274/2147481139/470-20-50-1B Reference 3: http://www.xbrl.org/2003/role/exampleRef -Topic 470 -SubTopic 20 -Name Accounting Standards Codification -Section 55 -Paragraph 69B -Publisher FASB -URI https://asc.fasb.org//1943274/2147481568/470-20-55-69B Reference 4: http://www.xbrl.org/2003/role/exampleRef -Topic 470 -SubTopic 20 -Name Accounting Standards Codification -Section 55 -Paragraph 69C -Publisher FASB -URI https://asc.fasb.org//1943274/2147481568/470-20-55-69C Reference 5: http://fasb.org/us-gaap/role/ref/legacyRef -Name Accounting Standards Codification -Topic 835 -SubTopic 30 -Section 45 -Paragraph 2 -Publisher FASB -URI https://asc.fasb.org//1943274/2147482925/835-30-45-2 Reference 6: http://fasb.org/us-gaap/role/ref/legacyRef -Name Accounting Standards Codification -Topic 835 -SubTopic 30 -Section 55 -Paragraph 8 -Publisher FASB -URI https://asc.fasb.org//1943274/2147482949/835-30-55-8 + 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 -Name Accounting Standards Codification -Topic 210 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02.22(b)) -Publisher FASB -URI https://asc.fasb.org//1943274/2147480566/210-10-S99-1 + 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 -Topic 235 -SubTopic 10 -Name Accounting Standards Codification -Section S99 -Paragraph 1 -Subparagraph (SX 210.4-08(f)) -Publisher FASB -URI https://asc.fasb.org//1943274/2147480678/235-10-S99-1 + 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 -Topic 470 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 1B -Subparagraph (b) -Publisher FASB -URI https://asc.fasb.org//1943274/2147481139/470-20-50-1B Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Name Accounting Standards Codification -Topic 210 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02.22(a)(1)) -Publisher FASB -URI https://asc.fasb.org//1943274/2147480566/210-10-S99-1 + 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 -Name Accounting Standards Codification -Topic 835 -SubTopic 30 -Section 45 -Paragraph 3 -Publisher FASB -URI https://asc.fasb.org//1943274/2147482925/835-30-45-3 + 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 -Name Accounting Standards Codification -Topic 835 -SubTopic 30 -Section 45 -Paragraph 3 -Publisher FASB -URI https://asc.fasb.org//1943274/2147482925/835-30-45-3 Reference 2: http://www.xbrl.org/2009/role/commonPracticeRef -Topic 470 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 1D -Subparagraph (a) -Publisher FASB -URI https://asc.fasb.org//1943274/2147481139/470-20-50-1D + 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 -Name Accounting Standards Codification -Section 45 -Paragraph 28 -Subparagraph (b) -SubTopic 10 -Topic 230 -Publisher FASB -URI https://asc.fasb.org//1943274/2147482740/230-10-45-28 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Name Accounting Standards Codification -Topic 470 -SubTopic 50 -Section 40 -Paragraph 2 -Publisher FASB -URI https://asc.fasb.org//1943274/2147481303/470-50-40-2 Reference 3: http://fasb.org/us-gaap/role/ref/legacyRef -Name Accounting Standards Codification -Topic 470 -SubTopic 50 -Section 40 -Paragraph 4 -Publisher FASB -URI https://asc.fasb.org//1943274/2147481303/470-50-40-4 + 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 -Name Accounting Standards Codification -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02(22)) -SubTopic 10 -Topic 210 -Publisher FASB -URI https://asc.fasb.org//1943274/2147480566/210-10-S99-1 Reference 2: http://www.xbrl.org/2009/role/commonPracticeRef -Topic 944 -SubTopic 210 -Name Accounting Standards Codification -Section S99 -Paragraph 1 -Subparagraph (SX 210.7-03(a)(16)(a)(2)) -Publisher FASB -URI https://asc.fasb.org//1943274/2147479440/944-210-S99-1 Reference 3: http://fasb.org/us-gaap/role/ref/legacyRef -Topic 942 -SubTopic 210 -Name Accounting Standards Codification -Section S99 -Paragraph 1 -Subparagraph (SX 210.9-03(16)) -Publisher FASB -URI https://asc.fasb.org//1943274/2147479853/942-210-S99-1 + Details
Name: | us-gaap_LineOfCredit
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

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 -Name Accounting Standards Codification -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02(22)) -SubTopic 10 -Topic 210 -Publisher FASB -URI https://asc.fasb.org//1943274/2147480566/210-10-S99-1 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Topic 942 -SubTopic 210 -Name Accounting Standards Codification -Section S99 -Paragraph 1 -Subparagraph (SX 210.9-03(13)) -Publisher FASB -URI https://asc.fasb.org//1943274/2147479853/942-210-S99-1 Reference 3: http://fasb.org/us-gaap/role/ref/legacyRef -Topic 942 -SubTopic 210 -Name Accounting Standards Codification -Section S99 -Paragraph 1 -Subparagraph (SX 210.9-03(16)) -Publisher FASB -URI https://asc.fasb.org//1943274/2147479853/942-210-S99-1 Reference 4: http://fasb.org/us-gaap/role/ref/legacyRef -Topic 210 -SubTopic 10 -Name Accounting Standards Codification -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02(19)(b)) -Publisher FASB -URI https://asc.fasb.org//1943274/2147480566/210-10-S99-1 Reference 5: http://fasb.org/us-gaap/role/ref/legacyRef -Topic 235 -SubTopic 10 -Name Accounting Standards Codification -Section S99 -Paragraph 1 -Subparagraph (SX 210.4-08(b)) -Publisher FASB -URI https://asc.fasb.org//1943274/2147480678/235-10-S99-1 + 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 Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Topic 235 -SubTopic 10 -Name Accounting Standards Codification -Section S99 -Paragraph 1 -Subparagraph (SX 210.4-08(f)) -Publisher FASB -URI https://asc.fasb.org//1943274/2147480678/235-10-S99-1 + 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 -Name Accounting Standards Codification -Topic 210 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02.19(b),22(b)) -Publisher FASB -URI https://asc.fasb.org//1943274/2147480566/210-10-S99-1 + 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 -Name Accounting Standards Codification -Topic 210 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02.19(b),22(b)) -Publisher FASB -URI https://asc.fasb.org//1943274/2147480566/210-10-S99-1 + Details
Name: | us-gaap_LineOfCreditFacilityRemainingBorrowingCapacity
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Amount, after deduction of unamortized premium (discount) and debt issuance cost, of long-term debt classified as current. Excludes lease obligation. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Topic 210 -SubTopic 10 -Name Accounting Standards Codification -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02(20)) -Publisher FASB -URI https://asc.fasb.org//1943274/2147480566/210-10-S99-1 + Details
Name: | us-gaap_LongTermDebtCurrent
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition The net cash outflow or inflow for the increase (decrease) in the beginning and end of period of loan and lease balances which are not originated or purchased specifically for resale. Includes cash payments and proceeds associated with (a) loans held-for-investment, (b) leases held-for-investment, and (c) both. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Topic 942 -SubTopic 230 -Name Accounting Standards Codification -Section 45 -Paragraph 1 -Subparagraph (c) -Publisher FASB -URI https://asc.fasb.org//1943274/2147481160/942-230-45-1 + Details
Name: | us-gaap_PaymentsForProceedsFromLoansAndLeases
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Face amount or stated value per share of preferred stock nonredeemable or redeemable solely at the option of the issuer. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Topic 505 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 13 -Subparagraph (a) -Publisher FASB -URI https://asc.fasb.org//1943274/2147481112/505-10-50-13 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Topic 210 -SubTopic 10 -Name Accounting Standards Codification -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02(28)) -Publisher FASB -URI https://asc.fasb.org//1943274/2147480566/210-10-S99-1 + Details
Name: | us-gaap_PreferredStockParOrStatedValuePerShare
Namespace Prefix: | us-gaap_
Data Type: | dtr-types:perShareItemType
Balance Type: | na
Period Type: | instant

X
- Definition Total number of nonredeemable preferred shares (or preferred stock redeemable solely at the option of the issuer) issued to shareholders (includes related preferred shares that were issued, repurchased, and remain in the treasury). May be all or portion of the number of preferred shares authorized. Excludes preferred shares that are classified as debt. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Topic 505 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 13 -Subparagraph (a) -Publisher FASB -URI https://asc.fasb.org//1943274/2147481112/505-10-50-13 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Topic 210 -SubTopic 10 -Name Accounting Standards Codification -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02(28)) -Publisher FASB -URI https://asc.fasb.org//1943274/2147480566/210-10-S99-1 + Details
Name: | us-gaap_PreferredStockSharesIssued
Namespace Prefix: | us-gaap_
Data Type: | xbrli:sharesItemType
Balance Type: | na
Period Type: | instant

X
- Definition Weighted average remaining contractual term for vested portions of options outstanding and currently exercisable or convertible, in 'PnYnMnDTnHnMnS' format, for example, 'P1Y5M13D' represents the reported fact of one year, five months, and thirteen days. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Name Accounting Standards Codification -Topic 718 -SubTopic 10 -Section 50 -Paragraph 2 -Publisher FASB -URI https://asc.fasb.org//1943274/2147480429/718-10-50-2 + Details
Name: | us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsExercisableWeightedAverageRemainingContractualTerm1
Namespace Prefix: | us-gaap_
Data Type: | xbrli:durationItemType
Balance Type: | na
Period Type: | duration

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 -Topic 820 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 2 -Subparagraph (bbb)(2) -Publisher FASB -URI https://asc.fasb.org//1943274/2147482106/820-10-50-2 + 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_ClassOfWarrantOrRightAxis=rail_ForbearanceAgreementMember
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_SienaLoanAgreementMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

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

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

X
- Details
Name: | us-gaap_DebtInstrumentAxis=rail_SienaLoanAgreementAmendmentTwoMember
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: | srt_RangeAxis=srt_MaximumMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | srt_RangeAxis=srt_MinimumMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_StatementClassOfStockAxis=us-gaap_SeriesCPreferredStockMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_DebtInstrumentAxis=rail_SecuritiesPurchaseAgreementMember
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: |