<?xml version='1.0' encoding='utf-8'?>
<FilingSummary>
  <Version>3.26.1</Version>
  <ProcessingTime/>
  <ReportFormat>html</ReportFormat>
  <ContextCount>678</ContextCount>
  <ElementCount>841</ElementCount>
  <EntityCount>1</EntityCount>
  <FootnotesReported>true</FootnotesReported>
  <SegmentCount>244</SegmentCount>
  <ScenarioCount>0</ScenarioCount>
  <TuplesReported>false</TuplesReported>
  <UnitCount>9</UnitCount>
  <MyReports>
    <Report instance="ea0295463-10k_olenox.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R1.htm</HtmlFileName>
      <LongName>995300 - Document - Document And Entity Information</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://safeandgreenholdings.com/20251231/role/DocumentAndEntityInformation</Role>
      <ShortName>Document And Entity Information</ShortName>
      <MenuCategory>Cover</MenuCategory>
      <Position>1</Position>
    </Report>
    <Report instance="ea0295463-10k_olenox.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R2.htm</HtmlFileName>
      <LongName>995301 - Document - Audit Information</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://safeandgreenholdings.com/20251231/role/AuditInformation</Role>
      <ShortName>Audit Information</ShortName>
      <MenuCategory>Cover</MenuCategory>
      <Position>2</Position>
    </Report>
    <Report instance="ea0295463-10k_olenox.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R3.htm</HtmlFileName>
      <LongName>995302 - Statement - Consolidated Balance Sheets</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://safeandgreenholdings.com/20251231/role/ConsolidatedBalanceSheets</Role>
      <ShortName>Consolidated Balance Sheets</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>3</Position>
    </Report>
    <Report instance="ea0295463-10k_olenox.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R4.htm</HtmlFileName>
      <LongName>995303 - Statement - Consolidated Balance Sheets (Parentheticals)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://safeandgreenholdings.com/20251231/role/ConsolidatedBalanceSheetsParentheticals</Role>
      <ShortName>Consolidated Balance Sheets (Parentheticals)</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>4</Position>
    </Report>
    <Report instance="ea0295463-10k_olenox.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R5.htm</HtmlFileName>
      <LongName>995304 - Statement - Consolidated Statements of Operations</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://safeandgreenholdings.com/20251231/role/ConsolidatedStatementsofOperations</Role>
      <ShortName>Consolidated Statements of Operations</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>5</Position>
    </Report>
    <Report instance="ea0295463-10k_olenox.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R6.htm</HtmlFileName>
      <LongName>995305 - Statement - Consolidated Statements of Changes in Stockholders’ Equity (Deficit)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://safeandgreenholdings.com/20251231/role/ConsolidatedStatementsofChangesinStockholdersEquityDeficit</Role>
      <ShortName>Consolidated Statements of Changes in Stockholders’ Equity (Deficit)</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>6</Position>
    </Report>
    <Report instance="ea0295463-10k_olenox.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R7.htm</HtmlFileName>
      <LongName>995306 - Statement - Consolidated Statements of Cash Flows</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://safeandgreenholdings.com/20251231/role/ConsolidatedStatementsofCashFlows</Role>
      <ShortName>Consolidated Statements of Cash Flows</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>7</Position>
    </Report>
    <Report instance="ea0295463-10k_olenox.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R8.htm</HtmlFileName>
      <LongName>995307 - Disclosure - Description of Business</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://safeandgreenholdings.com/20251231/role/DescriptionofBusiness</Role>
      <ShortName>Description of Business</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>8</Position>
    </Report>
    <Report instance="ea0295463-10k_olenox.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R9.htm</HtmlFileName>
      <LongName>995308 - Disclosure - Liquidity and Going Concern</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://safeandgreenholdings.com/20251231/role/LiquidityandGoingConcern</Role>
      <ShortName>Liquidity and Going Concern</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>9</Position>
    </Report>
    <Report instance="ea0295463-10k_olenox.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R10.htm</HtmlFileName>
      <LongName>995309 - Disclosure - Summary of Significant Accounting Policies</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://safeandgreenholdings.com/20251231/role/SummaryofSignificantAccountingPolicies</Role>
      <ShortName>Summary of Significant Accounting Policies</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>10</Position>
    </Report>
    <Report instance="ea0295463-10k_olenox.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R11.htm</HtmlFileName>
      <LongName>995310 - Disclosure - Sg Devcorp Settlement and Release</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://safeandgreenholdings.com/20251231/role/SgDevcorpSettlementandRelease</Role>
      <ShortName>Sg Devcorp Settlement and Release</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>11</Position>
    </Report>
    <Report instance="ea0295463-10k_olenox.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R12.htm</HtmlFileName>
      <LongName>995311 - Disclosure - Accounts Receivable</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://safeandgreenholdings.com/20251231/role/AccountsReceivable</Role>
      <ShortName>Accounts Receivable</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>12</Position>
    </Report>
    <Report instance="ea0295463-10k_olenox.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R13.htm</HtmlFileName>
      <LongName>995312 - Disclosure - Contract Assets and Contract Liabilities</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://safeandgreenholdings.com/20251231/role/ContractAssetsandContractLiabilities</Role>
      <ShortName>Contract Assets and Contract Liabilities</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>13</Position>
    </Report>
    <Report instance="ea0295463-10k_olenox.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R14.htm</HtmlFileName>
      <LongName>995313 - Disclosure - Property, Plant and Equipment</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://safeandgreenholdings.com/20251231/role/PropertyPlantandEquipment</Role>
      <ShortName>Property, Plant and Equipment</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>14</Position>
    </Report>
    <Report instance="ea0295463-10k_olenox.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R15.htm</HtmlFileName>
      <LongName>995314 - Disclosure - Borrowings</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://safeandgreenholdings.com/20251231/role/Borrowings</Role>
      <ShortName>Borrowings</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>15</Position>
    </Report>
    <Report instance="ea0295463-10k_olenox.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R16.htm</HtmlFileName>
      <LongName>995315 - Disclosure - Oil and Gas Properties</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://safeandgreenholdings.com/20251231/role/OilandGasProperties</Role>
      <ShortName>Oil and Gas Properties</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>16</Position>
    </Report>
    <Report instance="ea0295463-10k_olenox.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R17.htm</HtmlFileName>
      <LongName>995316 - Disclosure - Asset Retirement Obligations</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://safeandgreenholdings.com/20251231/role/AssetRetirementObligations</Role>
      <ShortName>Asset Retirement Obligations</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>17</Position>
    </Report>
    <Report instance="ea0295463-10k_olenox.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R18.htm</HtmlFileName>
      <LongName>995317 - Disclosure - Acquisitions</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://safeandgreenholdings.com/20251231/role/Acquisitions</Role>
      <ShortName>Acquisitions</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>18</Position>
    </Report>
    <Report instance="ea0295463-10k_olenox.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R19.htm</HtmlFileName>
      <LongName>995318 - Disclosure - Intangible Assets and Goodwill</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://safeandgreenholdings.com/20251231/role/IntangibleAssetsandGoodwill</Role>
      <ShortName>Intangible Assets and Goodwill</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>19</Position>
    </Report>
    <Report instance="ea0295463-10k_olenox.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R20.htm</HtmlFileName>
      <LongName>995319 - Disclosure - Leases</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://safeandgreenholdings.com/20251231/role/Leases</Role>
      <ShortName>Leases</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>20</Position>
    </Report>
    <Report instance="ea0295463-10k_olenox.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R21.htm</HtmlFileName>
      <LongName>995320 - Disclosure - Construction Backlog</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://safeandgreenholdings.com/20251231/role/ConstructionBacklog</Role>
      <ShortName>Construction Backlog</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>21</Position>
    </Report>
    <Report instance="ea0295463-10k_olenox.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R22.htm</HtmlFileName>
      <LongName>995321 - Disclosure - Segment Reporting</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://safeandgreenholdings.com/20251231/role/SegmentReporting</Role>
      <ShortName>Segment Reporting</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>22</Position>
    </Report>
    <Report instance="ea0295463-10k_olenox.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R23.htm</HtmlFileName>
      <LongName>995322 - Disclosure - Income Taxes</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://safeandgreenholdings.com/20251231/role/IncomeTaxes</Role>
      <ShortName>Income Taxes</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>23</Position>
    </Report>
    <Report instance="ea0295463-10k_olenox.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R24.htm</HtmlFileName>
      <LongName>995323 - Disclosure - Earnings Per Share</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://safeandgreenholdings.com/20251231/role/EarningsPerShare</Role>
      <ShortName>Earnings Per Share</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>24</Position>
    </Report>
    <Report instance="ea0295463-10k_olenox.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R25.htm</HtmlFileName>
      <LongName>995324 - Disclosure - Stockholders' Equity</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://safeandgreenholdings.com/20251231/role/StockholdersEquity</Role>
      <ShortName>Stockholders' Equity</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>25</Position>
    </Report>
    <Report instance="ea0295463-10k_olenox.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R26.htm</HtmlFileName>
      <LongName>995325 - Disclosure - Warrants</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://safeandgreenholdings.com/20251231/role/Warrants</Role>
      <ShortName>Warrants</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>26</Position>
    </Report>
    <Report instance="ea0295463-10k_olenox.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R27.htm</HtmlFileName>
      <LongName>995326 - Disclosure - Share-Based Compensation</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://safeandgreenholdings.com/20251231/role/ShareBasedCompensation</Role>
      <ShortName>Share-Based Compensation</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>27</Position>
    </Report>
    <Report instance="ea0295463-10k_olenox.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R28.htm</HtmlFileName>
      <LongName>995327 - Disclosure - Commitments and Contingencies</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://safeandgreenholdings.com/20251231/role/CommitmentsandContingencies</Role>
      <ShortName>Commitments and Contingencies</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>28</Position>
    </Report>
    <Report instance="ea0295463-10k_olenox.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R29.htm</HtmlFileName>
      <LongName>995328 - Disclosure - Related Party Transactions</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://safeandgreenholdings.com/20251231/role/RelatedPartyTransactions</Role>
      <ShortName>Related Party Transactions</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>29</Position>
    </Report>
    <Report instance="ea0295463-10k_olenox.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R30.htm</HtmlFileName>
      <LongName>995329 - Disclosure - Deconsolidation and Discontinued Operations</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://safeandgreenholdings.com/20251231/role/DeconsolidationandDiscontinuedOperations</Role>
      <ShortName>Deconsolidation and Discontinued Operations</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>30</Position>
    </Report>
    <Report instance="ea0295463-10k_olenox.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R31.htm</HtmlFileName>
      <LongName>995330 - Disclosure - Subsequent Events</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://safeandgreenholdings.com/20251231/role/SubsequentEvents</Role>
      <ShortName>Subsequent Events</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>31</Position>
    </Report>
    <Report instance="ea0295463-10k_olenox.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R32.htm</HtmlFileName>
      <LongName>995331 - Disclosure - Supplemental Information on Oil and Natural Gas Operations (Unaudited)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://safeandgreenholdings.com/20251231/role/SupplementalInformationonOilandNaturalGasOperationsUnaudited</Role>
      <ShortName>Supplemental Information on Oil and Natural Gas Operations (Unaudited)</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>32</Position>
    </Report>
    <Report instance="ea0295463-10k_olenox.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R33.htm</HtmlFileName>
      <LongName>995332 - Disclosure - Cybersecurity Risk Management and Strategy Disclosure</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://safeandgreenholdings.com/20251231/role/CybersecurityRiskManagementandStrategyDisclosure</Role>
      <ShortName>Cybersecurity Risk Management and Strategy Disclosure</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>33</Position>
    </Report>
    <Report instance="ea0295463-10k_olenox.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R34.htm</HtmlFileName>
      <LongName>995410 - Disclosure - Pay vs Performance Disclosure</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://xbrl.sec.gov/ecd/role/PvpDisclosure</Role>
      <ShortName>Pay vs Performance Disclosure</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>34</Position>
    </Report>
    <Report instance="ea0295463-10k_olenox.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R35.htm</HtmlFileName>
      <LongName>995445 - Disclosure - Insider Trading Arrangements</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://xbrl.sec.gov/ecd/role/InsiderTradingArrangements</Role>
      <ShortName>Insider Trading Arrangements</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>35</Position>
    </Report>
    <Report instance="ea0295463-10k_olenox.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R36.htm</HtmlFileName>
      <LongName>995447 - Disclosure - Insider Trading Policies and Procedures</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://xbrl.sec.gov/ecd/role/InsiderTradingPoliciesProc</Role>
      <ShortName>Insider Trading Policies and Procedures</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>36</Position>
    </Report>
    <Report instance="ea0295463-10k_olenox.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R37.htm</HtmlFileName>
      <LongName>996333 - Disclosure - Accounting Policies, by Policy (Policies)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://safeandgreenholdings.com/20251231/role/AccountingPoliciesbyPolicyPolicies</Role>
      <ShortName>Accounting Policies, by Policy (Policies)</ShortName>
      <MenuCategory>Policies</MenuCategory>
      <ParentRole>http://safeandgreenholdings.com/20251231/role/SummaryofSignificantAccountingPolicies</ParentRole>
      <Position>37</Position>
    </Report>
    <Report instance="ea0295463-10k_olenox.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R38.htm</HtmlFileName>
      <LongName>996334 - Disclosure - Summary of Significant Accounting Policies (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://safeandgreenholdings.com/20251231/role/SummaryofSignificantAccountingPoliciesTables</Role>
      <ShortName>Summary of Significant Accounting Policies (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://safeandgreenholdings.com/20251231/role/SummaryofSignificantAccountingPolicies</ParentRole>
      <Position>38</Position>
    </Report>
    <Report instance="ea0295463-10k_olenox.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R39.htm</HtmlFileName>
      <LongName>996335 - Disclosure - Sg Devcorp Settlement and Release (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://safeandgreenholdings.com/20251231/role/SgDevcorpSettlementandReleaseTables</Role>
      <ShortName>Sg Devcorp Settlement and Release (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://safeandgreenholdings.com/20251231/role/SgDevcorpSettlementandRelease</ParentRole>
      <Position>39</Position>
    </Report>
    <Report instance="ea0295463-10k_olenox.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R40.htm</HtmlFileName>
      <LongName>996336 - Disclosure - Accounts Receivable (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://safeandgreenholdings.com/20251231/role/AccountsReceivableTables</Role>
      <ShortName>Accounts Receivable (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://safeandgreenholdings.com/20251231/role/AccountsReceivable</ParentRole>
      <Position>40</Position>
    </Report>
    <Report instance="ea0295463-10k_olenox.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R41.htm</HtmlFileName>
      <LongName>996337 - Disclosure - Contract Assets and Contract Liabilities (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://safeandgreenholdings.com/20251231/role/ContractAssetsandContractLiabilitiesTables</Role>
      <ShortName>Contract Assets and Contract Liabilities (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://safeandgreenholdings.com/20251231/role/ContractAssetsandContractLiabilities</ParentRole>
      <Position>41</Position>
    </Report>
    <Report instance="ea0295463-10k_olenox.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R42.htm</HtmlFileName>
      <LongName>996338 - Disclosure - Property, Plant and Equipment (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://safeandgreenholdings.com/20251231/role/PropertyPlantandEquipmentTables</Role>
      <ShortName>Property, Plant and Equipment (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://safeandgreenholdings.com/20251231/role/PropertyPlantandEquipment</ParentRole>
      <Position>42</Position>
    </Report>
    <Report instance="ea0295463-10k_olenox.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R43.htm</HtmlFileName>
      <LongName>996339 - Disclosure - Borrowings (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://safeandgreenholdings.com/20251231/role/BorrowingsTables</Role>
      <ShortName>Borrowings (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://safeandgreenholdings.com/20251231/role/Borrowings</ParentRole>
      <Position>43</Position>
    </Report>
    <Report instance="ea0295463-10k_olenox.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R44.htm</HtmlFileName>
      <LongName>996340 - Disclosure - Oil and Gas Properties (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://safeandgreenholdings.com/20251231/role/OilandGasPropertiesTables</Role>
      <ShortName>Oil and Gas Properties (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://safeandgreenholdings.com/20251231/role/OilandGasProperties</ParentRole>
      <Position>44</Position>
    </Report>
    <Report instance="ea0295463-10k_olenox.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R45.htm</HtmlFileName>
      <LongName>996341 - Disclosure - Asset Retirement Obligations (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://safeandgreenholdings.com/20251231/role/AssetRetirementObligationsTables</Role>
      <ShortName>Asset Retirement Obligations (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://safeandgreenholdings.com/20251231/role/AssetRetirementObligations</ParentRole>
      <Position>45</Position>
    </Report>
    <Report instance="ea0295463-10k_olenox.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R46.htm</HtmlFileName>
      <LongName>996342 - Disclosure - Acquisitions (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://safeandgreenholdings.com/20251231/role/AcquisitionsTables</Role>
      <ShortName>Acquisitions (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://safeandgreenholdings.com/20251231/role/Acquisitions</ParentRole>
      <Position>46</Position>
    </Report>
    <Report instance="ea0295463-10k_olenox.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R47.htm</HtmlFileName>
      <LongName>996343 - Disclosure - Intangible Assets and Goodwill (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://safeandgreenholdings.com/20251231/role/IntangibleAssetsandGoodwillTables</Role>
      <ShortName>Intangible Assets and Goodwill (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://safeandgreenholdings.com/20251231/role/IntangibleAssetsandGoodwill</ParentRole>
      <Position>47</Position>
    </Report>
    <Report instance="ea0295463-10k_olenox.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R48.htm</HtmlFileName>
      <LongName>996344 - Disclosure - Leases (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://safeandgreenholdings.com/20251231/role/LeasesTables</Role>
      <ShortName>Leases (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://safeandgreenholdings.com/20251231/role/Leases</ParentRole>
      <Position>48</Position>
    </Report>
    <Report instance="ea0295463-10k_olenox.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R49.htm</HtmlFileName>
      <LongName>996345 - Disclosure - Construction Backlog (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://safeandgreenholdings.com/20251231/role/ConstructionBacklogTables</Role>
      <ShortName>Construction Backlog (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://safeandgreenholdings.com/20251231/role/ConstructionBacklog</ParentRole>
      <Position>49</Position>
    </Report>
    <Report instance="ea0295463-10k_olenox.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R50.htm</HtmlFileName>
      <LongName>996346 - Disclosure - Segment Reporting (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://safeandgreenholdings.com/20251231/role/SegmentReportingTables</Role>
      <ShortName>Segment Reporting (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://safeandgreenholdings.com/20251231/role/SegmentReporting</ParentRole>
      <Position>50</Position>
    </Report>
    <Report instance="ea0295463-10k_olenox.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R51.htm</HtmlFileName>
      <LongName>996347 - Disclosure - Income Taxes (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://safeandgreenholdings.com/20251231/role/IncomeTaxesTables</Role>
      <ShortName>Income Taxes (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://safeandgreenholdings.com/20251231/role/IncomeTaxes</ParentRole>
      <Position>51</Position>
    </Report>
    <Report instance="ea0295463-10k_olenox.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R52.htm</HtmlFileName>
      <LongName>996348 - Disclosure - Share-Based Compensation (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://safeandgreenholdings.com/20251231/role/ShareBasedCompensationTables</Role>
      <ShortName>Share-Based Compensation (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://safeandgreenholdings.com/20251231/role/ShareBasedCompensation</ParentRole>
      <Position>52</Position>
    </Report>
    <Report instance="ea0295463-10k_olenox.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R53.htm</HtmlFileName>
      <LongName>996349 - Disclosure - Earnings Per Share (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://safeandgreenholdings.com/20251231/role/EarningsPerShareTables</Role>
      <ShortName>Earnings Per Share (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://safeandgreenholdings.com/20251231/role/EarningsPerShare</ParentRole>
      <Position>53</Position>
    </Report>
    <Report instance="ea0295463-10k_olenox.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R54.htm</HtmlFileName>
      <LongName>996350 - Disclosure - Warrants (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://safeandgreenholdings.com/20251231/role/WarrantsTables</Role>
      <ShortName>Warrants (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://safeandgreenholdings.com/20251231/role/Warrants</ParentRole>
      <Position>54</Position>
    </Report>
    <Report instance="ea0295463-10k_olenox.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R55.htm</HtmlFileName>
      <LongName>996351 - Disclosure - Deconsolidation and Discontinued Operations (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://safeandgreenholdings.com/20251231/role/DeconsolidationandDiscontinuedOperationsTables</Role>
      <ShortName>Deconsolidation and Discontinued Operations (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://safeandgreenholdings.com/20251231/role/DeconsolidationandDiscontinuedOperations</ParentRole>
      <Position>55</Position>
    </Report>
    <Report instance="ea0295463-10k_olenox.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R56.htm</HtmlFileName>
      <LongName>996352 - Disclosure - Supplemental Information on Oil and Natural Gas Operations (Unaudited) (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://safeandgreenholdings.com/20251231/role/SupplementalInformationonOilandNaturalGasOperationsUnauditedTables</Role>
      <ShortName>Supplemental Information on Oil and Natural Gas Operations (Unaudited) (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://safeandgreenholdings.com/20251231/role/SupplementalInformationonOilandNaturalGasOperationsUnaudited</ParentRole>
      <Position>56</Position>
    </Report>
    <Report instance="ea0295463-10k_olenox.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R57.htm</HtmlFileName>
      <LongName>996353 - Disclosure - Description of Business (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://safeandgreenholdings.com/20251231/role/DescriptionofBusinessDetails</Role>
      <ShortName>Description of Business (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://safeandgreenholdings.com/20251231/role/DescriptionofBusiness</ParentRole>
      <Position>57</Position>
    </Report>
    <Report instance="ea0295463-10k_olenox.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R58.htm</HtmlFileName>
      <LongName>996354 - Disclosure - Liquidity and Going Concern (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://safeandgreenholdings.com/20251231/role/LiquidityandGoingConcernDetails</Role>
      <ShortName>Liquidity and Going Concern (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://safeandgreenholdings.com/20251231/role/LiquidityandGoingConcern</ParentRole>
      <Position>58</Position>
    </Report>
    <Report instance="ea0295463-10k_olenox.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R59.htm</HtmlFileName>
      <LongName>996355 - Disclosure - Summary of Significant Accounting Policies (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://safeandgreenholdings.com/20251231/role/SummaryofSignificantAccountingPoliciesDetails</Role>
      <ShortName>Summary of Significant Accounting Policies (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://safeandgreenholdings.com/20251231/role/SummaryofSignificantAccountingPoliciesTables</ParentRole>
      <Position>59</Position>
    </Report>
    <Report instance="ea0295463-10k_olenox.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R60.htm</HtmlFileName>
      <LongName>996356 - Disclosure - Summary of Significant Accounting Policies - Schedule of Disaggregation of the Company’s Revenues (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://safeandgreenholdings.com/20251231/role/SummaryofSignificantAccountingPoliciesScheduleofDisaggregationoftheCompanysRevenuesDetails</Role>
      <ShortName>Summary of Significant Accounting Policies - Schedule of Disaggregation of the Company’s Revenues (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>60</Position>
    </Report>
    <Report instance="ea0295463-10k_olenox.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R61.htm</HtmlFileName>
      <LongName>996357 - Disclosure - Summary of Significant Accounting Policies - Schedule of Property, Plant and Equipment Estimated Useful Lives (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://safeandgreenholdings.com/20251231/role/SummaryofSignificantAccountingPoliciesScheduleofPropertyPlantandEquipmentEstimatedUsefulLivesDetails</Role>
      <ShortName>Summary of Significant Accounting Policies - Schedule of Property, Plant and Equipment Estimated Useful Lives (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>61</Position>
    </Report>
    <Report instance="ea0295463-10k_olenox.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R62.htm</HtmlFileName>
      <LongName>996358 - Disclosure - Summary of Significant Accounting Policies - Schedule of Financial Instruments in the Level 2 or Level 3 Category (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://safeandgreenholdings.com/20251231/role/SummaryofSignificantAccountingPoliciesScheduleofFinancialInstrumentsintheLevel2orLevel3CategoryDetails</Role>
      <ShortName>Summary of Significant Accounting Policies - Schedule of Financial Instruments in the Level 2 or Level 3 Category (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>62</Position>
    </Report>
    <Report instance="ea0295463-10k_olenox.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R63.htm</HtmlFileName>
      <LongName>996359 - Disclosure - Accounts Receivable - Schedule of Accounts Receivable (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://safeandgreenholdings.com/20251231/role/AccountsReceivableScheduleofAccountsReceivableDetails</Role>
      <ShortName>Accounts Receivable - Schedule of Accounts Receivable (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>63</Position>
    </Report>
    <Report instance="ea0295463-10k_olenox.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R64.htm</HtmlFileName>
      <LongName>996360 - Disclosure - Accounts Receivable-Schedule of Allowance for Credit Losses (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://safeandgreenholdings.com/20251231/role/AccountsReceivableScheduleofAllowanceforCreditLossesDetails</Role>
      <ShortName>Accounts Receivable-Schedule of Allowance for Credit Losses (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>64</Position>
    </Report>
    <Report instance="ea0295463-10k_olenox.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R65.htm</HtmlFileName>
      <LongName>996361 - Disclosure - Sg Devcorp Settlement and Release (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://safeandgreenholdings.com/20251231/role/SgDevcorpSettlementandReleaseDetails</Role>
      <ShortName>Sg Devcorp Settlement and Release (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://safeandgreenholdings.com/20251231/role/SgDevcorpSettlementandReleaseTables</ParentRole>
      <Position>65</Position>
    </Report>
    <Report instance="ea0295463-10k_olenox.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R66.htm</HtmlFileName>
      <LongName>996362 - Disclosure - Sg Devcorp Settlement and Release-Schedule of Derecognition of Assets and Liabilities Effected from Deconsolidation - (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://safeandgreenholdings.com/20251231/role/SgDevcorpSettlementandReleaseScheduleofDerecognitionofAssetsandLiabilitiesEffectedfromDeconsolidationDetails</Role>
      <ShortName>Sg Devcorp Settlement and Release-Schedule of Derecognition of Assets and Liabilities Effected from Deconsolidation - (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>66</Position>
    </Report>
    <Report instance="ea0295463-10k_olenox.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R67.htm</HtmlFileName>
      <LongName>996363 - Disclosure - Sg Devcorp Settlement and Release - Schedule of Income (Loss) from Discontinued Operations (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://safeandgreenholdings.com/20251231/role/SgDevcorpSettlementandReleaseScheduleofIncomeLossfromDiscontinuedOperationsDetails</Role>
      <ShortName>Sg Devcorp Settlement and Release - Schedule of Income (Loss) from Discontinued Operations (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>67</Position>
    </Report>
    <Report instance="ea0295463-10k_olenox.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R68.htm</HtmlFileName>
      <LongName>996364 - Disclosure - Contract Assets and Contract Liabilities (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://safeandgreenholdings.com/20251231/role/ContractAssetsandContractLiabilitiesDetails</Role>
      <ShortName>Contract Assets and Contract Liabilities (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://safeandgreenholdings.com/20251231/role/ContractAssetsandContractLiabilitiesTables</ParentRole>
      <Position>68</Position>
    </Report>
    <Report instance="ea0295463-10k_olenox.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R69.htm</HtmlFileName>
      <LongName>996365 - Disclosure - Contract Assets and Contract Liabilities - Schedule of Contract Assets and Contract Liabilities (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://safeandgreenholdings.com/20251231/role/ContractAssetsandContractLiabilitiesScheduleofContractAssetsandContractLiabilitiesDetails</Role>
      <ShortName>Contract Assets and Contract Liabilities - Schedule of Contract Assets and Contract Liabilities (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>69</Position>
    </Report>
    <Report instance="ea0295463-10k_olenox.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R70.htm</HtmlFileName>
      <LongName>996366 - Disclosure - Property, Plant and Equipment (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://safeandgreenholdings.com/20251231/role/PropertyPlantandEquipmentDetails</Role>
      <ShortName>Property, Plant and Equipment (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://safeandgreenholdings.com/20251231/role/PropertyPlantandEquipmentTables</ParentRole>
      <Position>70</Position>
    </Report>
    <Report instance="ea0295463-10k_olenox.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R71.htm</HtmlFileName>
      <LongName>996367 - Disclosure - Property, Plant and Equipment - Schedule of Property, Plant and Equipment (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://safeandgreenholdings.com/20251231/role/PropertyPlantandEquipmentScheduleofPropertyPlantandEquipmentDetails</Role>
      <ShortName>Property, Plant and Equipment - Schedule of Property, Plant and Equipment (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>71</Position>
    </Report>
    <Report instance="ea0295463-10k_olenox.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R72.htm</HtmlFileName>
      <LongName>996368 - Disclosure - Oil and Gas Properties (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://safeandgreenholdings.com/20251231/role/OilandGasPropertiesDetails</Role>
      <ShortName>Oil and Gas Properties (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://safeandgreenholdings.com/20251231/role/OilandGasPropertiesTables</ParentRole>
      <Position>72</Position>
    </Report>
    <Report instance="ea0295463-10k_olenox.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R73.htm</HtmlFileName>
      <LongName>996369 - Disclosure - Oil and Gas Properties - Schedule of Oil and Gas Properties, Net (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://safeandgreenholdings.com/20251231/role/OilandGasPropertiesScheduleofOilandGasPropertiesNetDetails</Role>
      <ShortName>Oil and Gas Properties - Schedule of Oil and Gas Properties, Net (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>73</Position>
    </Report>
    <Report instance="ea0295463-10k_olenox.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R74.htm</HtmlFileName>
      <LongName>996370 - Disclosure - Summary of Significant Accounting Policies - Schedule of Liabilities Measured at Fair Value on Recurring Basis (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://safeandgreenholdings.com/20251231/role/SummaryofSignificantAccountingPoliciesScheduleofLiabilitiesMeasuredatFairValueonRecurringBasisDetails</Role>
      <ShortName>Summary of Significant Accounting Policies - Schedule of Liabilities Measured at Fair Value on Recurring Basis (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>74</Position>
    </Report>
    <Report instance="ea0295463-10k_olenox.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R75.htm</HtmlFileName>
      <LongName>996371 - Disclosure - Borrowings (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://safeandgreenholdings.com/20251231/role/BorrowingsDetails</Role>
      <ShortName>Borrowings (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://safeandgreenholdings.com/20251231/role/BorrowingsTables</ParentRole>
      <Position>75</Position>
    </Report>
    <Report instance="ea0295463-10k_olenox.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R76.htm</HtmlFileName>
      <LongName>996372 - Disclosure - Borrowings - Schedule of Significant Unobservable Inputs (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://safeandgreenholdings.com/20251231/role/BorrowingsScheduleofSignificantUnobservableInputsDetails</Role>
      <ShortName>Borrowings - Schedule of Significant Unobservable Inputs (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>76</Position>
    </Report>
    <Report instance="ea0295463-10k_olenox.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R77.htm</HtmlFileName>
      <LongName>996373 - Disclosure - Borrowings - Schedule of Convertible Notes Payable Outstanding (Details)</LongName>
      <ReportType>Notes</ReportType>
      <Role>http://safeandgreenholdings.com/20251231/role/BorrowingsScheduleofConvertibleNotesPayableOutstandingDetails</Role>
      <ShortName>Borrowings - Schedule of Convertible Notes Payable Outstanding (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>77</Position>
    </Report>
    <Report instance="ea0295463-10k_olenox.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R78.htm</HtmlFileName>
      <LongName>996374 - Disclosure - Borrowings - Schedule of Outstanding Borrowings by Financial Statement (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://safeandgreenholdings.com/20251231/role/BorrowingsScheduleofOutstandingBorrowingsbyFinancialStatementDetails</Role>
      <ShortName>Borrowings - Schedule of Outstanding Borrowings by Financial Statement (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>78</Position>
    </Report>
    <Report instance="ea0295463-10k_olenox.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R79.htm</HtmlFileName>
      <LongName>996375 - Disclosure - Borrowings - Schedule of Interest Cost Recognized on Convertible Notes Payable (Details)</LongName>
      <ReportType>Notes</ReportType>
      <Role>http://safeandgreenholdings.com/20251231/role/BorrowingsScheduleofInterestCostRecognizedonConvertibleNotesPayableDetails</Role>
      <ShortName>Borrowings - Schedule of Interest Cost Recognized on Convertible Notes Payable (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>79</Position>
    </Report>
    <Report instance="ea0295463-10k_olenox.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R80.htm</HtmlFileName>
      <LongName>996376 - Disclosure - Borrowings - Schedule of Maturities of Notes Payable (Details)</LongName>
      <ReportType>Notes</ReportType>
      <Role>http://safeandgreenholdings.com/20251231/role/BorrowingsScheduleofMaturitiesofNotesPayableDetails</Role>
      <ShortName>Borrowings - Schedule of Maturities of Notes Payable (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>80</Position>
    </Report>
    <Report instance="ea0295463-10k_olenox.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R81.htm</HtmlFileName>
      <LongName>996377 - Disclosure - Asset Retirement Obligations - Schedule of Asset Retirement Obligations Liability (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://safeandgreenholdings.com/20251231/role/AssetRetirementObligationsScheduleofAssetRetirementObligationsLiabilityDetails</Role>
      <ShortName>Asset Retirement Obligations - Schedule of Asset Retirement Obligations Liability (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>81</Position>
    </Report>
    <Report instance="ea0295463-10k_olenox.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R82.htm</HtmlFileName>
      <LongName>996378 - Disclosure - Acquisitions (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://safeandgreenholdings.com/20251231/role/AcquisitionsDetails</Role>
      <ShortName>Acquisitions (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://safeandgreenholdings.com/20251231/role/AcquisitionsTables</ParentRole>
      <Position>82</Position>
    </Report>
    <Report instance="ea0295463-10k_olenox.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R83.htm</HtmlFileName>
      <LongName>996379 - Disclosure - Acquisitions - Schedule of Purchase Price Allocation of the Assets Acquired and Liabilities Assumed (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://safeandgreenholdings.com/20251231/role/AcquisitionsScheduleofPurchasePriceAllocationoftheAssetsAcquiredandLiabilitiesAssumedDetails</Role>
      <ShortName>Acquisitions - Schedule of Purchase Price Allocation of the Assets Acquired and Liabilities Assumed (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>83</Position>
    </Report>
    <Report instance="ea0295463-10k_olenox.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R84.htm</HtmlFileName>
      <LongName>996380 - Disclosure - Acquisitions - Schedule of Pro Forma Consolidated Results of Operations (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://safeandgreenholdings.com/20251231/role/AcquisitionsScheduleofProFormaConsolidatedResultsofOperationsDetails</Role>
      <ShortName>Acquisitions - Schedule of Pro Forma Consolidated Results of Operations (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>84</Position>
    </Report>
    <Report instance="ea0295463-10k_olenox.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R85.htm</HtmlFileName>
      <LongName>996381 - Disclosure - Intangible Assets and Goodwill (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://safeandgreenholdings.com/20251231/role/IntangibleAssetsandGoodwillDetails</Role>
      <ShortName>Intangible Assets and Goodwill (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://safeandgreenholdings.com/20251231/role/IntangibleAssetsandGoodwillTables</ParentRole>
      <Position>85</Position>
    </Report>
    <Report instance="ea0295463-10k_olenox.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R86.htm</HtmlFileName>
      <LongName>996382 - Disclosure - Intangible Assets and Goodwill - Schedule of Comprised of Customer Relationships, Developed Technology and Trade Names (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://safeandgreenholdings.com/20251231/role/IntangibleAssetsandGoodwillScheduleofComprisedofCustomerRelationshipsDevelopedTechnologyandTradeNamesDetails</Role>
      <ShortName>Intangible Assets and Goodwill - Schedule of Comprised of Customer Relationships, Developed Technology and Trade Names (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>86</Position>
    </Report>
    <Report instance="ea0295463-10k_olenox.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R87.htm</HtmlFileName>
      <LongName>996383 - Disclosure - Intangible Assets and Goodwill-Schedule of Estimated Future Amortization Expense for Intangible Assets (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://safeandgreenholdings.com/20251231/role/IntangibleAssetsandGoodwillScheduleofEstimatedFutureAmortizationExpenseforIntangibleAssetsDetails</Role>
      <ShortName>Intangible Assets and Goodwill-Schedule of Estimated Future Amortization Expense for Intangible Assets (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>87</Position>
    </Report>
    <Report instance="ea0295463-10k_olenox.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R88.htm</HtmlFileName>
      <LongName>996384 - Disclosure - Intangible Assets and Goodwill-Schedule of Changes in the Carrying Amount of Goodwill (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://safeandgreenholdings.com/20251231/role/IntangibleAssetsandGoodwillScheduleofChangesintheCarryingAmountofGoodwillDetails</Role>
      <ShortName>Intangible Assets and Goodwill-Schedule of Changes in the Carrying Amount of Goodwill (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>88</Position>
    </Report>
    <Report instance="ea0295463-10k_olenox.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R89.htm</HtmlFileName>
      <LongName>996385 - Disclosure - Leases (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://safeandgreenholdings.com/20251231/role/LeasesDetails</Role>
      <ShortName>Leases (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://safeandgreenholdings.com/20251231/role/LeasesTables</ParentRole>
      <Position>89</Position>
    </Report>
    <Report instance="ea0295463-10k_olenox.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R90.htm</HtmlFileName>
      <LongName>996386 - Disclosure - Leases - Schedule of Balance Sheet Information (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://safeandgreenholdings.com/20251231/role/LeasesScheduleofBalanceSheetInformationDetails</Role>
      <ShortName>Leases - Schedule of Balance Sheet Information (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>90</Position>
    </Report>
    <Report instance="ea0295463-10k_olenox.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R91.htm</HtmlFileName>
      <LongName>996387 - Disclosure - Leases - Schedule of Approximate Minimum Annual Rental Commitments Under Non-Cancelable Leases (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://safeandgreenholdings.com/20251231/role/LeasesScheduleofApproximateMinimumAnnualRentalCommitmentsUnderNonCancelableLeasesDetails</Role>
      <ShortName>Leases - Schedule of Approximate Minimum Annual Rental Commitments Under Non-Cancelable Leases (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>91</Position>
    </Report>
    <Report instance="ea0295463-10k_olenox.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R92.htm</HtmlFileName>
      <LongName>996388 - Disclosure - Construction Backlog - Schedule of Backlog of Signed Construction and Engineering Contracts (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://safeandgreenholdings.com/20251231/role/ConstructionBacklogScheduleofBacklogofSignedConstructionandEngineeringContractsDetails</Role>
      <ShortName>Construction Backlog - Schedule of Backlog of Signed Construction and Engineering Contracts (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>92</Position>
    </Report>
    <Report instance="ea0295463-10k_olenox.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R93.htm</HtmlFileName>
      <LongName>996389 - Disclosure - Segment Reporting (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://safeandgreenholdings.com/20251231/role/SegmentReportingDetails</Role>
      <ShortName>Segment Reporting (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://safeandgreenholdings.com/20251231/role/SegmentReportingTables</ParentRole>
      <Position>93</Position>
    </Report>
    <Report instance="ea0295463-10k_olenox.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R94.htm</HtmlFileName>
      <LongName>996390 - Disclosure - Segment Reporting- Schedule of Segments (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://safeandgreenholdings.com/20251231/role/SegmentReportingScheduleofSegmentsDetails</Role>
      <ShortName>Segment Reporting- Schedule of Segments (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>94</Position>
    </Report>
    <Report instance="ea0295463-10k_olenox.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R95.htm</HtmlFileName>
      <LongName>996391 - Disclosure - Income Taxes (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://safeandgreenholdings.com/20251231/role/IncomeTaxesDetails</Role>
      <ShortName>Income Taxes (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://safeandgreenholdings.com/20251231/role/IncomeTaxesTables</ParentRole>
      <Position>95</Position>
    </Report>
    <Report instance="ea0295463-10k_olenox.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R96.htm</HtmlFileName>
      <LongName>996392 - Disclosure - Income Taxes - Schedule of Provision (Benefit) at Stator Rates for Income Taxes (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://safeandgreenholdings.com/20251231/role/IncomeTaxesScheduleofProvisionBenefitatStatorRatesforIncomeTaxesDetails</Role>
      <ShortName>Income Taxes - Schedule of Provision (Benefit) at Stator Rates for Income Taxes (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>96</Position>
    </Report>
    <Report instance="ea0295463-10k_olenox.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R97.htm</HtmlFileName>
      <LongName>996393 - Disclosure - Income Taxes - Schedule of Effective Rate for Income from Operations Before Income Taxes (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://safeandgreenholdings.com/20251231/role/IncomeTaxesScheduleofEffectiveRateforIncomefromOperationsBeforeIncomeTaxesDetails</Role>
      <ShortName>Income Taxes - Schedule of Effective Rate for Income from Operations Before Income Taxes (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>97</Position>
    </Report>
    <Report instance="ea0295463-10k_olenox.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R98.htm</HtmlFileName>
      <LongName>996394 - Disclosure - Income Taxes - Schedule of Recognized as Deferred Tax Assets (Liabilities) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://safeandgreenholdings.com/20251231/role/IncomeTaxesScheduleofRecognizedasDeferredTaxAssetsLiabilitiesDetails</Role>
      <ShortName>Income Taxes - Schedule of Recognized as Deferred Tax Assets (Liabilities) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>98</Position>
    </Report>
    <Report instance="ea0295463-10k_olenox.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R99.htm</HtmlFileName>
      <LongName>996395 - Disclosure - Income Taxes - Schedule of Domestic Federal and State and Local Jurisdictions (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://safeandgreenholdings.com/20251231/role/IncomeTaxesScheduleofDomesticFederalandStateandLocalJurisdictionsDetails</Role>
      <ShortName>Income Taxes - Schedule of Domestic Federal and State and Local Jurisdictions (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>99</Position>
    </Report>
    <Report instance="ea0295463-10k_olenox.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R100.htm</HtmlFileName>
      <LongName>996396 - Disclosure - Earnings Per Share - Schedule of Potentially Dilutive Securities Excluded from Earnings Per Share (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://safeandgreenholdings.com/20251231/role/EarningsPerShareScheduleofPotentiallyDilutiveSecuritiesExcludedfromEarningsPerShareDetails</Role>
      <ShortName>Earnings Per Share - Schedule of Potentially Dilutive Securities Excluded from Earnings Per Share (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>100</Position>
    </Report>
    <Report instance="ea0295463-10k_olenox.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R101.htm</HtmlFileName>
      <LongName>996397 - Disclosure - Stockholders' Equity (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://safeandgreenholdings.com/20251231/role/StockholdersEquityDetails</Role>
      <ShortName>Stockholders' Equity (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://safeandgreenholdings.com/20251231/role/StockholdersEquity</ParentRole>
      <Position>101</Position>
    </Report>
    <Report instance="ea0295463-10k_olenox.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R102.htm</HtmlFileName>
      <LongName>996398 - Disclosure - Warrants (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://safeandgreenholdings.com/20251231/role/WarrantsDetails</Role>
      <ShortName>Warrants (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://safeandgreenholdings.com/20251231/role/WarrantsTables</ParentRole>
      <Position>102</Position>
    </Report>
    <Report instance="ea0295463-10k_olenox.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R103.htm</HtmlFileName>
      <LongName>996399 - Disclosure - Warrants - Schedule of Warrant Activity (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://safeandgreenholdings.com/20251231/role/WarrantsScheduleofWarrantActivityDetails</Role>
      <ShortName>Warrants - Schedule of Warrant Activity (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>103</Position>
    </Report>
    <Report instance="ea0295463-10k_olenox.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R104.htm</HtmlFileName>
      <LongName>996400 - Disclosure - Warrants - Schedule of Fair Value of Warrants Granted Using Black-Scholes Value Model (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://safeandgreenholdings.com/20251231/role/WarrantsScheduleofFairValueofWarrantsGrantedUsingBlackScholesValueModelDetails</Role>
      <ShortName>Warrants - Schedule of Fair Value of Warrants Granted Using Black-Scholes Value Model (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>104</Position>
    </Report>
    <Report instance="ea0295463-10k_olenox.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R105.htm</HtmlFileName>
      <LongName>996401 - Disclosure - Share-Based Compensation (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://safeandgreenholdings.com/20251231/role/ShareBasedCompensationDetails</Role>
      <ShortName>Share-Based Compensation (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://safeandgreenholdings.com/20251231/role/ShareBasedCompensationTables</ParentRole>
      <Position>105</Position>
    </Report>
    <Report instance="ea0295463-10k_olenox.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R106.htm</HtmlFileName>
      <LongName>996402 - Disclosure - Share-Based Compensation - Schedule of Share-Based Compensation Expenses (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://safeandgreenholdings.com/20251231/role/ShareBasedCompensationScheduleofShareBasedCompensationExpensesDetails</Role>
      <ShortName>Share-Based Compensation - Schedule of Share-Based Compensation Expenses (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>106</Position>
    </Report>
    <Report instance="ea0295463-10k_olenox.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R107.htm</HtmlFileName>
      <LongName>996403 - Disclosure - Share-Based Compensation - Schedule of Stock-Based Option Activities (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://safeandgreenholdings.com/20251231/role/ShareBasedCompensationScheduleofStockBasedOptionActivitiesDetails</Role>
      <ShortName>Share-Based Compensation - Schedule of Stock-Based Option Activities (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>107</Position>
    </Report>
    <Report instance="ea0295463-10k_olenox.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R108.htm</HtmlFileName>
      <LongName>996404 - Disclosure - Share-Based Compensation - Schedule of Restricted Stock Unit Activities (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://safeandgreenholdings.com/20251231/role/ShareBasedCompensationScheduleofRestrictedStockUnitActivitiesDetails</Role>
      <ShortName>Share-Based Compensation - Schedule of Restricted Stock Unit Activities (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>108</Position>
    </Report>
    <Report instance="ea0295463-10k_olenox.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R109.htm</HtmlFileName>
      <LongName>996405 - Disclosure - Commitments and Contingencies (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://safeandgreenholdings.com/20251231/role/CommitmentsandContingenciesDetails</Role>
      <ShortName>Commitments and Contingencies (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://safeandgreenholdings.com/20251231/role/CommitmentsandContingencies</ParentRole>
      <Position>109</Position>
    </Report>
    <Report instance="ea0295463-10k_olenox.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R110.htm</HtmlFileName>
      <LongName>996406 - Disclosure - Related Party Transactions (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://safeandgreenholdings.com/20251231/role/RelatedPartyTransactionsDetails</Role>
      <ShortName>Related Party Transactions (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://safeandgreenholdings.com/20251231/role/RelatedPartyTransactions</ParentRole>
      <Position>110</Position>
    </Report>
    <Report instance="ea0295463-10k_olenox.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R111.htm</HtmlFileName>
      <LongName>996407 - Disclosure - Deconsolidation and Discontinued Operations - Schedule of Deconsolidation Effects of SG DevCorp at the Time of Deconsolidation (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://safeandgreenholdings.com/20251231/role/DeconsolidationandDiscontinuedOperationsScheduleofDeconsolidationEffectsofSGDevCorpattheTimeofDeconsolidationDetails</Role>
      <ShortName>Deconsolidation and Discontinued Operations - Schedule of Deconsolidation Effects of SG DevCorp at the Time of Deconsolidation (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>111</Position>
    </Report>
    <Report instance="ea0295463-10k_olenox.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R112.htm</HtmlFileName>
      <LongName>996408 - Disclosure - Deconsolidation and Discontinued Operations  - Schedule of Income (Loss) from Discontinued Operations (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://safeandgreenholdings.com/20251231/role/DeconsolidationandDiscontinuedOperationsScheduleofIncomeLossfromDiscontinuedOperationsDetails</Role>
      <ShortName>Deconsolidation and Discontinued Operations  - Schedule of Income (Loss) from Discontinued Operations (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>112</Position>
    </Report>
    <Report instance="ea0295463-10k_olenox.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R113.htm</HtmlFileName>
      <LongName>996409 - Disclosure - Deconsolidation and Discontinued Operations - Schedule of Aaggregate Carrying Amounts of Assets and Liabilities from Discontinued Operations of SG DevCorp (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://safeandgreenholdings.com/20251231/role/DeconsolidationandDiscontinuedOperationsScheduleofAaggregateCarryingAmountsofAssetsandLiabilitiesfromDiscontinuedOperationsofSGDevCorpDetails</Role>
      <ShortName>Deconsolidation and Discontinued Operations - Schedule of Aaggregate Carrying Amounts of Assets and Liabilities from Discontinued Operations of SG DevCorp (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>113</Position>
    </Report>
    <Report instance="ea0295463-10k_olenox.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R114.htm</HtmlFileName>
      <LongName>996410 - Disclosure - Subsequent Events (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://safeandgreenholdings.com/20251231/role/SubsequentEventsDetails</Role>
      <ShortName>Subsequent Events (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://safeandgreenholdings.com/20251231/role/SubsequentEvents</ParentRole>
      <Position>114</Position>
    </Report>
    <Report instance="ea0295463-10k_olenox.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R115.htm</HtmlFileName>
      <LongName>996411 - Disclosure - Supplemental Information on Oil and Natural Gas Operations (Unaudited) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://safeandgreenholdings.com/20251231/role/SupplementalInformationonOilandNaturalGasOperationsUnauditedDetails</Role>
      <ShortName>Supplemental Information on Oil and Natural Gas Operations (Unaudited) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://safeandgreenholdings.com/20251231/role/SupplementalInformationonOilandNaturalGasOperationsUnauditedTables</ParentRole>
      <Position>115</Position>
    </Report>
    <Report instance="ea0295463-10k_olenox.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R116.htm</HtmlFileName>
      <LongName>996412 - Disclosure - Supplemental Information on Oil and Natural Gas Operations (Unaudited) -Schedule of Net Proved Oil and Gas Reserve Quantities (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://safeandgreenholdings.com/20251231/role/SupplementalInformationonOilandNaturalGasOperationsUnauditedScheduleofNetProvedOilandGasReserveQuantitiesDetails</Role>
      <ShortName>Supplemental Information on Oil and Natural Gas Operations (Unaudited) -Schedule of Net Proved Oil and Gas Reserve Quantities (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://safeandgreenholdings.com/20251231/role/SupplementalInformationonOilandNaturalGasOperationsUnauditedTables</ParentRole>
      <Position>116</Position>
    </Report>
    <Report instance="ea0295463-10k_olenox.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R117.htm</HtmlFileName>
      <LongName>996413 - Disclosure - Supplemental Information On Oil And Natural Gas Operations (Unaudited)-Schedule of Proved Reserves by Category (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://safeandgreenholdings.com/20251231/role/SupplementalInformationOnOilAndNaturalGasOperationsUnauditedScheduleofProvedReservesbyCategoryDetails</Role>
      <ShortName>Supplemental Information On Oil And Natural Gas Operations (Unaudited)-Schedule of Proved Reserves by Category (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>117</Position>
    </Report>
    <Report instance="ea0295463-10k_olenox.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R118.htm</HtmlFileName>
      <LongName>996414 - Disclosure - Supplemental Information on Oil and Natural Gas Operations (Unaudited)-Schedule of Capitalized Oil and Natural Gas Costs (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://safeandgreenholdings.com/20251231/role/SupplementalInformationonOilandNaturalGasOperationsUnauditedScheduleofCapitalizedOilandNaturalGasCostsDetails</Role>
      <ShortName>Supplemental Information on Oil and Natural Gas Operations (Unaudited)-Schedule of Capitalized Oil and Natural Gas Costs (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://safeandgreenholdings.com/20251231/role/SupplementalInformationonOilandNaturalGasOperationsUnauditedTables</ParentRole>
      <Position>118</Position>
    </Report>
    <Report instance="ea0295463-10k_olenox.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R119.htm</HtmlFileName>
      <LongName>996415 - Disclosure - Supplemental Information on Oil and Natural Gas Operations (Unaudited)-Schedule of Costs Incurred in Oil and Natural Gas Activities (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://safeandgreenholdings.com/20251231/role/SupplementalInformationonOilandNaturalGasOperationsUnauditedScheduleofCostsIncurredinOilandNaturalGasActivitiesDetails</Role>
      <ShortName>Supplemental Information on Oil and Natural Gas Operations (Unaudited)-Schedule of Costs Incurred in Oil and Natural Gas Activities (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://safeandgreenholdings.com/20251231/role/SupplementalInformationonOilandNaturalGasOperationsUnauditedTables</ParentRole>
      <Position>119</Position>
    </Report>
    <Report instance="ea0295463-10k_olenox.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R120.htm</HtmlFileName>
      <LongName>996416 - Disclosure - Supplemental Information on Oil and Natural Gas Operations (Unaudited)-Schedule of Results of Operations from Oil and Natural Gas Producing Activities (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://safeandgreenholdings.com/20251231/role/SupplementalInformationonOilandNaturalGasOperationsUnauditedScheduleofResultsofOperationsfromOilandNaturalGasProducingActivitiesDetails</Role>
      <ShortName>Supplemental Information on Oil and Natural Gas Operations (Unaudited)-Schedule of Results of Operations from Oil and Natural Gas Producing Activities (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://safeandgreenholdings.com/20251231/role/SupplementalInformationonOilandNaturalGasOperationsUnauditedTables</ParentRole>
      <Position>120</Position>
    </Report>
    <Report instance="ea0295463-10k_olenox.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R121.htm</HtmlFileName>
      <LongName>996417 - Disclosure - Supplemental Information on Oil and Natural Gas Operations (Unaudited)-Schedule of Results of Operations from Oil and Natural Gas Producing Activities (Parentheticals) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://safeandgreenholdings.com/20251231/role/SupplementalInformationonOilandNaturalGasOperationsUnauditedScheduleofResultsofOperationsfromOilandNaturalGasProducingActivitiesParentheticalsDetails</Role>
      <ShortName>Supplemental Information on Oil and Natural Gas Operations (Unaudited)-Schedule of Results of Operations from Oil and Natural Gas Producing Activities (Parentheticals) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://safeandgreenholdings.com/20251231/role/SupplementalInformationonOilandNaturalGasOperationsUnauditedTables</ParentRole>
      <Position>121</Position>
    </Report>
    <Report instance="ea0295463-10k_olenox.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R122.htm</HtmlFileName>
      <LongName>996418 - Disclosure - Supplemental Information on Oil and Natural Gas Operations (Unaudited)-Schedule of Standardized Measure of Discounted Future Net Cash Flows (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://safeandgreenholdings.com/20251231/role/SupplementalInformationonOilandNaturalGasOperationsUnauditedScheduleofStandardizedMeasureofDiscountedFutureNetCashFlowsDetails</Role>
      <ShortName>Supplemental Information on Oil and Natural Gas Operations (Unaudited)-Schedule of Standardized Measure of Discounted Future Net Cash Flows (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://safeandgreenholdings.com/20251231/role/SupplementalInformationonOilandNaturalGasOperationsUnauditedTables</ParentRole>
      <Position>122</Position>
    </Report>
    <Report instance="ea0295463-10k_olenox.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R123.htm</HtmlFileName>
      <LongName>996419 - Disclosure - Supplemental Information on Oil and Natural Gas Operations (Unaudited)-Schedule of Standardized Measure of Discounted Future Net Cash Flows (Parentheticals) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://safeandgreenholdings.com/20251231/role/SupplementalInformationonOilandNaturalGasOperationsUnauditedScheduleofStandardizedMeasureofDiscountedFutureNetCashFlowsParentheticalsDetails</Role>
      <ShortName>Supplemental Information on Oil and Natural Gas Operations (Unaudited)-Schedule of Standardized Measure of Discounted Future Net Cash Flows (Parentheticals) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://safeandgreenholdings.com/20251231/role/SupplementalInformationonOilandNaturalGasOperationsUnauditedTables</ParentRole>
      <Position>123</Position>
    </Report>
    <Report instance="ea0295463-10k_olenox.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R124.htm</HtmlFileName>
      <LongName>996420 - Disclosure - Supplemental Information on Oil and Natural Gas Operations (Unaudited)-Schedule of Changes in the Standardized Measure of Discounted Future Net Cash Flows (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://safeandgreenholdings.com/20251231/role/SupplementalInformationonOilandNaturalGasOperationsUnauditedScheduleofChangesintheStandardizedMeasureofDiscountedFutureNetCashFlowsDetails</Role>
      <ShortName>Supplemental Information on Oil and Natural Gas Operations (Unaudited)-Schedule of Changes in the Standardized Measure of Discounted Future Net Cash Flows (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://safeandgreenholdings.com/20251231/role/SupplementalInformationonOilandNaturalGasOperationsUnauditedTables</ParentRole>
      <Position>124</Position>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <LongName>All Reports</LongName>
      <ReportType>Book</ReportType>
      <ShortName>All Reports</ShortName>
    </Report>
  </MyReports>
  <InputFiles>
    <File doctype="10-K" isDefinitelyFs="true" isUsgaap="true" original="ea0295463-10k_olenox.htm">ea0295463-10k_olenox.htm</File>
    <File>olox-20251231.xsd</File>
    <File>olox-20251231_cal.xml</File>
    <File>olox-20251231_def.xml</File>
    <File>olox-20251231_lab.xml</File>
    <File>olox-20251231_pre.xml</File>
  </InputFiles>
  <SupplementalFiles/>
  <BaseTaxonomies>
    <BaseTaxonomy items="35">http://fasb.org/srt/2025</BaseTaxonomy>
    <BaseTaxonomy items="1666">http://fasb.org/us-gaap/2025</BaseTaxonomy>
    <BaseTaxonomy items="15">http://xbrl.sec.gov/cyd/2025</BaseTaxonomy>
    <BaseTaxonomy items="39">http://xbrl.sec.gov/dei/2025</BaseTaxonomy>
    <BaseTaxonomy items="5">http://xbrl.sec.gov/ecd/2025</BaseTaxonomy>
  </BaseTaxonomies>
  <HasPresentationLinkbase>true</HasPresentationLinkbase>
  <HasCalculationLinkbase>true</HasCalculationLinkbase>
</FilingSummary>
