Both Thalmic Labs and the Meta project are examples of longer term projects that raise money through YC. There are a bunch more in the current batch that have a much longer time frame. While the three month demo is a constraint, it is not one that kills ambitious projects at YC.