"Our engineer came up with it during working hours, so the patent is ours, right?"
That is a fair question, and the honest answer is: in many countries, yes, but not everywhere.
Q: Who owns an employee's invention?
A: In many countries, inventions made in the course of employment belong to the employer. But the rules, and any inventor compensation, vary widely. Germany and Japan famously require compensation.
Q: Who applies for the patent?
A: The person to whom a patent is granted is known as the patentee, the owner of the patent or the patent holder. The inventor, or often the inventor's employer, applies for the patent.
Q: So what is the safest approach?
A: Not the default rule. It is a clear IP clause in the contract.
Tip: settle ownership in writing before the invention exists, not after.