The Macbook camera ships with the same chip as the iPhone 5S (2013). It has sufficient pixels for what it is meant for with most of the processing done in software. That last bit is key.
Why thin? The WxH of their phones is crazy, bend gate.... I'd take a thicker phone, cant belive the dropped the 13 mini size, it was my last refugee since they killed the SE.