To me, like in many corporations nowadays, is there a formal Code of Conduct? That is mandatory to abide by as a condition of employment?
If so, then thems the breaks.
If not, then this is on a slippery slope.
My roles going back decades has had a policy governing such things. In near all it was incumbent upon the parties to let the company know if they were ‘involved with one another’. In most cases as as a preamble the companies acknowledge that consenua attraction happens. In most cases the remedy is that the parties involved reporting structure, department, site, or any combination would need to be changed. Very rarely , but possible, one must leave the company.
In all cases keeping it secret or denying it if confronted would be dealt with more harshly.
At least this is what Im accustomed to.