Gold isn't a currency of last resort. It hasn't been used as currency for almost a century. It isn't a good investment, either. [1] It's "value" (you mean price?) is determined by supply and demand, like everything else. Limited supply doesn't imply anything about price.
[1] https://cdn2.vox-cdn.com/assets/4718370/siegel_returns.png