XML 58 R48.htm IDEA: XBRL DOCUMENT
v3.23.2

Debt Financing and Revolving Credit Facilities (Fair Value of Warrant) (Details) $ in Thousands | 6 Months Ended
--- | ---
Jun. 30, 2023 USD ($)
Debt Disclosure [Abstract] |
Warrant liability | $ 31,028
Warrant issued | 3,544
Change in fair value | 6,142
Warrant liability | $ 40,714

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