Maytag Ensignia won't heat up

We have an 8 years old Ensignia Maytag gas dryer. It had been running perfectly fine until recently it doesn’t heat up. We opened the front panel and cleaned it up, but nothing changed. We saw that the coin heated up, but no flame was produced. Sometimes the flame was up for only a few seconds, then it died out, and never was able to come back up. However, even if the flame was up, it took about 10 seconds for the coin to start heating up. Any advice, please?
tttd