They shouldn't have even been passing on that down. They had already ran twice for negative yardage, which pretty much means they were just trying to burn clock. The two runs were after a pass on 1st down which indicates the opposite. Thankfully there was a penalty on 1st down.
If you're going to go for a first down, don't waste 2 downs gaining negative yardage in the first place.
At 3rd and 12 they should have just ran the ball. Game ends after the turnover on downs if they would have done that.
It was a complete mess. They didn't know if they wanted to burn clock or try for a first down, ultimately tried doing both and ended up giving the Lions that one extra possession.