<?xml version='1.0' encoding='utf-8'?>
<FilingSummary>
  <Version>3.22.4</Version>
  <ProcessingTime/>
  <ReportFormat>html</ReportFormat>
  <ContextCount>69</ContextCount>
  <ElementCount>27</ElementCount>
  <EntityCount>1</EntityCount>
  <FootnotesReported>false</FootnotesReported>
  <SegmentCount>15</SegmentCount>
  <ScenarioCount>0</ScenarioCount>
  <TuplesReported>false</TuplesReported>
  <UnitCount>2</UnitCount>
  <MyReports>
    <Report instance="ottr-20230301.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R1.htm</HtmlFileName>
      <LongName>995100 - Document - Cover</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://xbrl.sec.gov/dei/role/document/Cover</Role>
      <ShortName>Cover</ShortName>
      <MenuCategory>Cover</MenuCategory>
      <Position>1</Position>
    </Report>
    <Report instance="ottr-20230301.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R2.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>2</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="DEF 14A" original="ottr-20230301.htm">ottr-20230301.htm</File>
    <File>ottr-20230301.xsd</File>
    <File>ottr-20230301_def.xml</File>
    <File>ottr-20230301_lab.xml</File>
    <File>ottr-20230301_pre.xml</File>
  </InputFiles>
  <SupplementalFiles>
    <File>ottr-20230301_g1.jpg</File>
    <File>ottr-20230301_g10.jpg</File>
    <File>ottr-20230301_g11.jpg</File>
    <File>ottr-20230301_g12.jpg</File>
    <File>ottr-20230301_g13.jpg</File>
    <File>ottr-20230301_g14.jpg</File>
    <File>ottr-20230301_g15.jpg</File>
    <File>ottr-20230301_g16.jpg</File>
    <File>ottr-20230301_g17.jpg</File>
    <File>ottr-20230301_g18.jpg</File>
    <File>ottr-20230301_g19.jpg</File>
    <File>ottr-20230301_g2.jpg</File>
    <File>ottr-20230301_g20.jpg</File>
    <File>ottr-20230301_g21.jpg</File>
    <File>ottr-20230301_g22.jpg</File>
    <File>ottr-20230301_g23.jpg</File>
    <File>ottr-20230301_g24.jpg</File>
    <File>ottr-20230301_g3.jpg</File>
    <File>ottr-20230301_g4.jpg</File>
    <File>ottr-20230301_g5.jpg</File>
    <File>ottr-20230301_g6.jpg</File>
    <File>ottr-20230301_g7.jpg</File>
    <File>ottr-20230301_g8.jpg</File>
    <File>ottr-20230301_g9.jpg</File>
  </SupplementalFiles>
  <BaseTaxonomies>
    <BaseTaxonomy items="3">http://fasb.org/us-gaap/2022</BaseTaxonomy>
    <BaseTaxonomy items="4">http://xbrl.sec.gov/dei/2022q4</BaseTaxonomy>
    <BaseTaxonomy items="111">http://xbrl.sec.gov/ecd/2022q4</BaseTaxonomy>
  </BaseTaxonomies>
  <HasPresentationLinkbase>true</HasPresentationLinkbase>
  <HasCalculationLinkbase>false</HasCalculationLinkbase>
</FilingSummary>
