He was terminated about a week after filing a complaint with the company’s human resources department, the lawsuit said.