Falsken Water Systems’ Condensate Treater was created specifically for condensing tankless water heaters to effectively neutralize the condensate discharge.
The 2015 Uniform Plumbing Code touches on the various methods to prevent backflow and back shiphonage in section 603.3, but diving a bit deeper could be useful.