XML 58 R49.htm IDEA: XBRL DOCUMENT
v3.23.3

Debt Financing and Revolving Credit Facilities (Fair Value of Warrant) (Details) $ in Thousands | 9 Months Ended
--- | ---
Sep. 30, 2023 USD ($)
Debt Disclosure [Abstract] |
Warrant liability | $ 31,028
Warrant issued | 3,544
Change in fair value | 1,869
Warrant liability | $ 36,441

X
- Definition Change in fair value + References No definition available. + Details
Name: | rail_ChangeInFairValue
Namespace Prefix: | rail_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- References No definition available. + Details
Name: | us-gaap_DebtDisclosureAbstract
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Value of preferred stock and warrants for common stock issued. + References No definition available. + Details
Name: | us-gaap_StockAndWarrantsIssuedDuringPeriodValuePreferredStockAndWarrants
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
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