XML 95 R74.htm IDEA: XBRL DOCUMENT
v3.23.1

Debt Financing and Revolving Credit Facilities (Narrative) (Details) - USD ($) $ / shares in Units, $ in Thousands |  |  |  |  |  |  |  | 1 Months Ended | 3 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 | Dec. 31, 2022 | Dec. 31, 2021 | Feb. 28, 2023 | Feb. 27, 2023 | Jan. 31, 2023 | Feb. 23, 2022 | Jul. 14, 2021 | Oct. 13, 2020 | Oct. 08, 2020 | Apr. 16, 2020
Line of Credit Facility [Line Items] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
deferred financing costs |  |  |  |  |  |  |  |  |  | $ 1,989 | $ 2,660 |  |  |  |  |  |  |  |
Gain on extinguishment of debt |  |  |  |  |  |  |  |  |  | 0 | $ 10,122 |  |  |  |  |  |  |  |
2024 |  |  |  |  |  |  |  |  |  | 0 |  |  |  |  |  |  |  |  |
2025 |  |  |  |  |  |  |  |  |  | $ 58,745 |  |  |  |  |  |  |  |  |
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 |  |  |  |  |  |  |  |  |  | 6,799,139 | 6,098,217 |  |  |  |  |  |  |  |
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 |  |  |  |  |  |  |  |  |  | $ 31,028 | $ 32,514 |  |  |  |  |  |  |  |
Common Stock, Shares, Issued |  |  |  |  |  |  |  |  |  | 17,223,306 | 15,947,228 |  |  |  |  |  |  |  |
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,473,726 | 1,325,699 |  |  |  |  |  |  |  |
Class of Warrant or Right, Exercise Price of Warrants or Rights |  |  |  |  |  |  |  |  |  | $ 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 |  |  |  | 9.99% |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Cash fee |  |  |  | $ 1,000 |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Common Stock, Shares, Issued |  |  |  |  |  |  |  |  |  | 1,547,266 |  |  |  |  |  |  |  |  |
Equity Fees, Shares |  |  |  |  |  |  |  |  |  | 1,388,388 |  |  |  |  |  |  |  |  |
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,100 |  |  |  |  |  |  |  |
Siena Loan Agreement [Member] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Line of Credit Facility [Line Items] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Maximum borrowing capacity |  |  |  |  |  |  |  | $ 25,000 |  |  |  |  |  |  | $ 35,000 |  |  | $ 20,000 |
Outstanding borrowings |  |  |  |  |  |  |  |  |  | 33,825 | 24,026 |  |  |  |  |  |  |  |
Line of Credit Facility, Remaining Borrowing Capacity |  |  |  |  |  |  |  |  |  | $ 0 | 122 |  |  |  |  |  |  |  |
Deferred financing costs, gross |  |  |  |  |  |  |  |  |  |  | $ 1,037 |  |  |  |  |  |  | $ 1,101 |
Debt Instrument, Basis Spread on Variable Rate |  |  |  |  |  |  |  | 2.00% |  | 1.50% |  |  |  |  |  |  |  |  |
Interest rate |  |  |  |  |  |  |  |  |  | 9.00% |  |  |  |  |  |  |  |  |
Siena Loan Agreement [Member] | Subsequent Event [Member] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Line of Credit Facility [Line Items] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Maximum borrowing capacity |  |  |  |  |  |  |  |  |  |  |  |  | $ 15,000 | $ 15,000 |  |  |  |  |
Siena Loan Agreement First Amendment [Member] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Line of Credit Facility [Line Items] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Interest rate |  |  |  |  |  |  |  |  |  | 9.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 |  |  |  |  |  |  |  |  |  |  |  |  |  |
Interest rate |  |  |  |  |  |  |  |  |  | 17.20% |  |  |  |  |  |  |  |  |
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,473,726 | 0 |  |  |  |  |  |  |  |
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 |  |  |  |  |  |  |  |  |
Warrants Terms |  |  |  |  |  |  |  |  |  | 10 years |  |  |  |  |  |  |  |  |
Delayed Draw Loan [Member] | Subsequent Event [Member] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Line of Credit Facility [Line Items] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Debt instrument, Additional loan amount to be funded |  |  |  |  |  |  |  |  |  |  |  | $ 15,000 |  | $ 15,000 |  |  |  |  |
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 |  |  |  |  |  |  |  |  |  |  |
Interest rate |  |  |  |  |  |  |  |  |  | 17.20% |  |  |  |  |  |  |  |  |
M & T Bank [Member] | Revolving Credit Facility [Member] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Line of Credit Facility [Line Items] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Line of Credit Facility, Collateral |  |  |  |  |  |  |  |  |  | 4,116 | 6,638 |  |  |  |  |  |  |  |
Maximum borrowing capacity |  |  |  |  |  |  |  |  |  | $ 40,000 |  |  |  |  |  |  |  |  |
Outstanding borrowings |  |  |  |  |  |  |  |  |  | $ 6,917 | $ 7,917 |  |  |  |  |  |  |  |
Interest rate |  |  |  |  |  |  |  |  |  | 8.50% |  |  |  |  |  |  |  |  |

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 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 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 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 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 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 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 https://asc.fasb.org/extlink&oid=126972273&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 https://asc.fasb.org/extlink&oid=126972273&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 https://asc.fasb.org/extlink&oid=126954810&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 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 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 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 https://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 https://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 https://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 https://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 https://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 https://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 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 -Publisher FASB -Name Accounting Standards Codification -Topic 718 -SubTopic 10 -Section 50 -Paragraph 2 -URI https://asc.fasb.org/extlink&oid=128089324&loc=d3e5070-113901 + 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 -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_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_SubsequentEventTypeAxis=us-gaap_SubsequentEventMember
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_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: |