In the Portuguese labour law the default "experimental" period lasts a minimum of 90 days (for both employer and employee).
During the experimental period any of the parties may void the contract without any compensation (except for the time already worked) unless noted otherwise in your contract ...
Also there is no notice period required.
As a disclaimer, I note that I am friends with one of the founders of Unbabel. I don't know their side of the story and I am sad this happened to you.
Still, from what you say, as far as I can tell, they acted within the boundaries of the portuguese labour code.